/* DMC — Wexside-inspired theme */
:root {
  --wx-bg: #0c0c0e;
  --wx-bg-2: #141416;
  --wx-bg-3: #1a1a1e;
  --wx-panel: #161618;
  --wx-card: #1c1c20;
  --wx-border: rgba(255, 255, 255, 0.08);
  --wx-border-strong: rgba(255, 255, 255, 0.14);
  --wx-text: #ffffff;
  --wx-muted: #8b8b93;
  --wx-muted-2: #6a6a72;
  --wx-accent: #b0a4e3;
  --wx-accent-hover: #c5b9f0;
  --wx-accent-soft: rgba(176, 164, 227, 0.18);
  --wx-radius: 12px;
  --wx-radius-sm: 8px;
  --wx-radius-pill: 999px;
  --wx-nav-h: 72px;
  --wx-font: "Inter", "Manrope", system-ui, -apple-system, sans-serif;
  --wx-display: "Manrope", "Inter", system-ui, sans-serif;
  --wx-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wx {
  margin: 0;
  min-height: 100vh;
  font-family: var(--wx-font);
  font-weight: 450;
  color: var(--wx-text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(176, 164, 227, 0.07), transparent 55%),
    #0c0c0e;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.wx a {
  color: inherit;
  text-decoration: none;
}

body.wx img {
  max-width: 100%;
  display: block;
}

body.wx button,
body.wx input,
body.wx textarea,
body.wx select {
  font: inherit;
}

.wx-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* —— Nav —— */
.wx-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--wx-nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1.5rem;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wx-nav.scrolled {
  background: rgba(12, 12, 14, 0.88);
  border-bottom-color: var(--wx-border);
}

.wx-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wx-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.wx-logo-text {
  font-family: var(--wx-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.wx-nav-center {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.wx-nav-center a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.wx-nav-center a:hover,
.wx-nav-center a.on {
  color: #fff;
}

.wx-nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--wx-radius-pill);
  padding: 0.62rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.wx-btn:active {
  transform: translateY(1px);
}

.wx-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--wx-border-strong);
}

.wx-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wx-btn-primary {
  background: var(--wx-accent);
  color: #121218;
}

/* Hide Sign in / Sign up until session is known — prevents flash for logged-in users */
[data-nav-auth],
[data-nav-auth-register] {
  display: none !important;
}
html.wx-nav-guest [data-nav-auth],
html.wx-nav-guest [data-nav-auth-register] {
  display: inline-flex !important;
}

.wx-btn-primary:hover {
  background: var(--wx-accent-hover);
  color: #121218;
}

.wx-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--wx-border-strong);
}

.wx-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.wx-btn-block {
  width: 100%;
}

.wx-btn-lg {
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
}

.wx-theme-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--wx-radius-pill);
  border: 1px solid var(--wx-border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.wx-theme-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* User menu */
.wx-user-menu {
  position: relative;
}

.wx-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--wx-border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: var(--wx-radius-pill);
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  cursor: pointer;
}

.wx-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wx-accent-soft);
  color: var(--wx-accent);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.wx-user-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--wx-panel);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-radius);
  box-shadow: var(--wx-shadow);
  padding: 0.4rem;
  z-index: 50;
}

.wx-user-drop a,
.wx-user-drop button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.65rem 0.75rem;
  border-radius: var(--wx-radius-sm);
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
}

.wx-user-drop a:hover,
.wx-user-drop button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.wx-user-drop hr {
  border: 0;
  border-top: 1px solid var(--wx-border);
  margin: 0.35rem 0;
}

/* —— Hero —— */
.wx-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--wx-nav-h) + 2rem) 1.25rem 4rem;
  isolation: isolate;
}

.wx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0c0c0e;
  z-index: -1;
}

.wx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.wx-hero-bg::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("../background.png") center / cover no-repeat;
  filter: blur(7px);
  transform: scale(1.06);
}

.wx-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(176, 164, 227, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.28) 0%, rgba(12, 12, 14, 0.42) 55%, rgba(12, 12, 14, 0.9) 100%);
}

.wx-hero-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 164, 227, 0.45), transparent 68%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

.wx-hero-logo {
  position: relative;
  z-index: 2;
  width: min(280px, 46vw);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(176, 164, 227, 0.55)) drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
  animation: wx-float 5.5s ease-in-out infinite;
}

@keyframes wx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.wx-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.wx-hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  animation: wx-scroll 1.4s ease-in-out infinite;
}

@keyframes wx-scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* —— Sections —— */
.wx-section {
  padding: 5.5rem 0;
  position: relative;
}

.wx-feel-visual {
  min-height: 260px;
  border-radius: calc(var(--wx-radius) + 6px);
  border: 1px solid var(--wx-border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(176, 164, 227, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.25), rgba(12, 12, 14, 0.55)),
    url("../background.png") center / cover no-repeat;
  box-shadow: var(--wx-shadow);
}

.wx-kicker {
  color: var(--wx-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.wx-h1 {
  font-family: var(--wx-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.wx-h2 {
  font-family: var(--wx-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.wx-lead {
  color: var(--wx-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0;
}

.wx-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.wx-split-rev {
  grid-template-columns: 0.95fr 1.05fr;
}

.wx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.wx-feature-card {
  background: var(--wx-card);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-radius);
  padding: 1.35rem 1.25rem;
}

.wx-feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.wx-feature-card p {
  margin: 0;
  color: var(--wx-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.wx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wx-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.wx-price-card {
  background: var(--wx-card);
  border: 1px solid var(--wx-border);
  border-radius: calc(var(--wx-radius) + 4px);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wx-price-card.hot {
  border-color: rgba(176, 164, 227, 0.45);
  box-shadow: 0 0 0 1px rgba(176, 164, 227, 0.15), 0 16px 40px rgba(176, 164, 227, 0.08);
}

.wx-price-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.wx-price-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.2rem 0;
}

.wx-price-card p {
  color: var(--wx-muted);
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  flex: 1;
}

.wx-faq {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.wx-faq details {
  background: var(--wx-card);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-radius);
  padding: 1rem 1.15rem;
}

.wx-faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.wx-faq summary::-webkit-details-marker {
  display: none;
}

.wx-faq details p {
  color: var(--wx-muted);
  margin: 0.7rem 0 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.wx-banner {
  margin: 2rem 0 0;
  padding: 2rem;
  border-radius: calc(var(--wx-radius) + 6px);
  background:
    radial-gradient(circle at 90% 20%, rgba(176, 164, 227, 0.28), transparent 45%),
    var(--wx-card);
  border: 1px solid var(--wx-border);
}

/* —— Pricing page —— */
.wx-pricing-page {
  padding-bottom: 4rem;
}

.wx-pricing-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.wx-pricing-hero .wx-page-title {
  margin-bottom: 0.65rem;
}

.wx-pricing-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.wx-pricing-card {
  position: relative;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(176, 164, 227, 0.2), transparent 60%),
    var(--wx-card);
  border: 1px solid rgba(176, 164, 227, 0.35);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(176, 164, 227, 0.08);
}

.wx-pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--wx-radius-pill);
  background: var(--wx-accent);
  color: #121218;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wx-pricing-card h2 {
  margin: 0;
  font-family: var(--wx-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.wx-pricing-amount {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  margin: 1rem 0 0.35rem;
  line-height: 1;
}

.wx-pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.55rem;
  color: var(--wx-accent);
}

.wx-pricing-value {
  font-family: var(--wx-display);
  font-size: clamp(3.4rem, 8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.wx-pricing-note {
  margin: 0 0 1.35rem;
  color: var(--wx-muted);
  font-size: 0.95rem;
}

.wx-pricing-perks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.wx-pricing-perks li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.wx-pricing-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--wx-accent);
  box-shadow: 0 0 12px rgba(176, 164, 227, 0.55);
}

.wx-pricing-aside {
  display: grid;
  gap: 1rem;
}

.wx-pricing-aside-card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.wx-pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.wx-pricing-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--wx-border);
  color: var(--wx-muted);
  font-size: 0.92rem;
}

.wx-pricing-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.wx-pricing-list strong {
  color: #fff;
  font-weight: 650;
}

.wx-pricing-steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--wx-muted);
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .wx-pricing-stage {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */
.wx-footer {
  border-top: 1px solid var(--wx-border);
  padding: 3.5rem 0 2rem;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(12px);
}

.wx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.5rem;
}

.wx-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.wx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.wx-footer a {
  color: var(--wx-muted);
  font-size: 0.9rem;
}

.wx-footer a:hover {
  color: #fff;
}

.wx-footer-brand p {
  color: var(--wx-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.75rem 0 0;
  max-width: 16rem;
}

.wx-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wx-border);
  color: var(--wx-muted-2);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* —— Auth —— */
.wx-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
}

.wx-auth-panel {
  background: #141416;
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wx-auth-panel .wx-logo {
  margin-bottom: 3.5rem;
}

.wx-auth-panel h1 {
  font-family: var(--wx-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.wx-auth-panel .wx-lead {
  margin-bottom: 2rem;
}

.wx-auth-art {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(176, 164, 227, 0.28), transparent 65%),
    linear-gradient(160deg, #121218, #0c0c0e 55%, #0a0a10);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.wx-auth-art img {
  width: min(340px, 55%);
  filter: drop-shadow(0 0 50px rgba(176, 164, 227, 0.5));
}

.wx-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.wx-field label {
  font-size: 0.82rem;
  color: var(--wx-muted);
  font-weight: 500;
}

.wx-field input,
.wx-input,
.wx-textarea {
  width: 100%;
  background: #0f0f11;
  border: 1px solid var(--wx-border-strong);
  border-radius: var(--wx-radius-sm);
  color: #fff;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wx-field input:focus,
.wx-input:focus,
.wx-textarea:focus {
  border-color: rgba(176, 164, 227, 0.65);
  box-shadow: 0 0 0 3px rgba(176, 164, 227, 0.15);
}

.wx-field-row {
  display: flex;
  justify-content: flex-end;
  margin: -0.35rem 0 1rem;
}

.wx-field-row a {
  color: var(--wx-muted);
  font-size: 0.82rem;
}

.wx-field-row a:hover {
  color: #fff;
}

.wx-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
  color: var(--wx-muted-2);
  font-size: 0.85rem;
}

.wx-or::before,
.wx-or::after {
  content: "";
  height: 1px;
  background: var(--wx-border);
}

.wx-auth-msg {
  color: #c5b9f0;
  font-size: 0.88rem;
  min-height: 1.2em;
  margin: 0.75rem 0 0;
}

/* —— App pages —— */
.wx-main {
  padding: calc(var(--wx-nav-h) + 2rem) 0 3rem;
}

.wx-page-title {
  font-family: var(--wx-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.wx-page-sub {
  color: var(--wx-muted);
  margin: 0 0 1.75rem;
}

.wx-card {
  background: var(--wx-card);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-radius);
  padding: 1.25rem 1.35rem;
}

.wx-card + .wx-card {
  margin-top: 1rem;
}

.wx-card h2,
.wx-card h3 {
  margin: 0 0 0.55rem;
}

.wx-muted {
  color: var(--wx-muted);
}

.wx-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.wx-table th,
.wx-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--wx-border);
}

.wx-table th {
  color: var(--wx-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wx-dash-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.wx-dash-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--wx-accent-soft);
  color: var(--wx-accent);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.wx-dash-avatar-edit {
  margin: 0;
}

.wx-dash-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wx-dash-avatar.has-img span {
  display: none;
}

.wx-nav-avatar {
  position: relative;
  overflow: hidden;
}

.wx-nav-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.wx-nav-avatar.has-img {
  color: transparent;
  background: var(--wx-accent-soft);
}

.wx-dash-avatar.has-img {
  color: transparent;
}

.wx-inline {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.wx-inline .wx-input {
  flex: 1;
  min-width: 180px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  background: var(--wx-panel);
  border: 1px solid var(--wx-border);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--wx-radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wx-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  max-width: 420px;
  margin: 0 auto;
  background: var(--wx-panel);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-radius);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  box-shadow: var(--wx-shadow);
}

.wx-cookie p {
  margin: 0;
  color: var(--wx-muted);
  font-size: 0.86rem;
  flex: 1;
}

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.wx-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--wx-border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 960px) {
  .wx-split,
  .wx-split-rev,
  .wx-feature-grid,
  .wx-price-grid,
  .wx-footer-grid,
  .wx-grid-2,
  .wx-dash-hero {
    grid-template-columns: 1fr;
  }

  .wx-auth {
    grid-template-columns: 1fr;
  }

  .wx-auth-art {
    display: none;
  }

  .wx-nav {
    grid-template-columns: auto 1fr auto;
  }

  .wx-nav-center {
    display: none;
  }

  .wx-nav.open .wx-nav-center {
    display: flex;
    position: absolute;
    top: var(--wx-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12, 12, 14, 0.96);
    border-bottom: 1px solid var(--wx-border);
    padding: 0.5rem 0;
  }

  .wx-nav.open .wx-nav-center a {
    padding: 0.85rem 1.25rem;
  }

  .wx-mobile-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
    margin-right: 0.35rem;
  }

  .wx-nav-right .wx-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .wx-nav-right .wx-btn-primary {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }

  html.wx-nav-guest .wx-nav-right [data-nav-auth] {
    display: none !important;
  }

  .wx-page-title {
    font-size: 1.55rem;
  }
}

/* —— Easter egg —— */
body.wx.wx-secret {
  background-color: #0c0c0e !important;
  background-image: url("../poshalka.webp") !important;
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

body.wx.wx-secret .wx-hero-bg::before {
  background: #0c0c0e url("../poshalka.webp") center / contain no-repeat !important;
  filter: none;
}

body.wx.wx-secret .wx-hero-bg::after {
  background: transparent;
}

.wx-secret-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(20px);
  z-index: 20000;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.88);
  border: 1px solid rgba(176, 164, 227, 0.45);
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wx-secret-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
