/* Dashboard + glassmorphism skin. Loaded after styles.css on every page: it only re-colours and re-lays out, the markup stays. */

:root {
  --glass: rgba(255, 255, 255, 0.065);
  --glass-hi: rgba(255, 255, 255, 0.11);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --blur: blur(22px) saturate(160%);
  --ok: #3ddc84;
  --rail: 84px;
  --radius: 20px;
}

/* ---- Background: dark with soft colour behind the glass ---- */
body { background: #07080b; }
.sand { display: none; }
.page-glow {
  position: fixed; inset: 0; height: auto; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38vw 38vw at 88% 6%, rgba(255, 138, 43, 0.32), transparent 70%),
    radial-gradient(42vw 42vw at 6% 40%, rgba(124, 77, 255, 0.26), transparent 70%),
    radial-gradient(40vw 40vw at 72% 96%, rgba(20, 184, 166, 0.20), transparent 70%),
    radial-gradient(30vw 30vw at 30% 0%, rgba(59, 130, 246, 0.14), transparent 70%);
}
main { z-index: auto; }

/* ---- Glass: one recipe for every panel ---- */
.glass, .spec, .stat, .plan-sheet, .promise, .tile, .metric, .step, .channel, .other-app, .pkg, .pkg-all, .other-warn, .note,
.follow-band, .follow-card, .core-card, .buy-box, .card3d, .acc-set, .news-panel, .drop-panel {
  background: linear-gradient(150deg, var(--glass-hi), var(--glass));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.glass { position: relative; overflow: hidden; }
.spec, .stat, .plan-sheet, .promise, .tile, .metric, .step, .channel, .other-app, .pkg, .follow-card {
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s, background .35s;
}
@media (hover: hover) {
  .spec:hover, .stat:hover, .plan-sheet:hover, .promise:hover, .tile:hover, .metric:hover, .step:hover, .channel:hover,
  .other-app:hover, .pkg:hover, .follow-card:hover {
    transform: translateY(-5px); border-color: rgba(255, 138, 43, 0.45);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 138, 43, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}
.plan-sheet.premium, .pkg.premium { border-color: rgba(255, 138, 43, 0.5); }
.follow-band { padding: 30px 32px; }
.drop-panel::before, .news-panel::before { display: none; }
.drop-panel { padding: 8px; border-radius: 18px; background: rgba(18, 20, 28, 0.62); }
.news-panel { background: rgba(18, 20, 28, 0.62); }

/* the old striped 3D cards: flat glass */
.card3d, .card3d.card3d:hover { padding: 0 !important; transform: none; background-image: none; }
.card3d > .content-box { padding: 56px 24px 24px; background: none; border-radius: 0; transform: none; }
.card3d .content-box > *, .card3d .content-box > h3:hover, .card3d .content-box > p:hover { transform: none; }
.card3d .date-box { transform: none; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-line); border-radius: 14px; box-shadow: none; }

.btn { border-radius: 100px; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.status-pill { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---- Menu icons (mask images, coloured by the text colour) ---- */
.ico { display: inline-block; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-features { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E"); }
.ico-protocol { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66L13 3h1l-1 7h3.5c.49 0 .56.33.47.51C12.96 17.55 11 21 11 21z'/%3E%3C/svg%3E"); }
.ico-plans { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42l.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0 0 20 4H5.21l-.94-2H1zm16 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
.ico-download { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E"); }
.ico-contact { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E"); }
.nav-links a { display: flex; align-items: center; gap: 12px; }
.contact-label .ico { margin-right: 2px; }

/* ---- Mobile and tablet: the bar on top, in glass ---- */
.nav { background: rgba(14, 16, 22, 0.55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid var(--glass-line); }
@media (max-width: 880px) {
  .nav-links { background: rgba(14, 16, 22, 0.88); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
}

/* ---- Desktop: the left icon rail ---- */
@media (min-width: 881px) {
  body { padding-left: var(--rail); }
  .nav {
    position: fixed; z-index: 40; left: 14px; top: 14px; bottom: 14px; width: 60px; height: auto;
    border: 1px solid var(--glass-line); border-radius: 24px; box-shadow: var(--glass-shadow);
  }
  .nav .wrap.nav-inner { max-width: none; height: 100%; padding: 14px 0; flex-direction: column; align-items: center; gap: 14px; }
  .brand-anim { gap: 0; }
  .brand-word { display: none; }
  .brand-logo { width: 34px; height: 34px; }
  .nav-links { flex-direction: column; align-items: center; gap: 8px; margin: 10px 0 0; }
  .nav-links > a, .nav-links .contact-label {
    position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 14px;
    border: 1px solid transparent; background: none; color: var(--muted); gap: 0;
  }
  .nav-links > a:hover, .nav-links .contact-label:hover, .contact-btn.open .contact-label { background: rgba(255, 255, 255, 0.1); color: var(--text); border-color: var(--glass-line); box-shadow: none; }
  .nav-links > a.active, .contact-btn.active .contact-label {
    color: #fff; border-color: rgba(255, 138, 43, 0.55); background: linear-gradient(150deg, rgba(255, 138, 43, 0.55), rgba(255, 90, 20, 0.25));
    box-shadow: 0 8px 24px rgba(255, 138, 43, 0.3);
  }
  .nav-links .ico { width: 22px; height: 22px; }
  .nav-links > a > span, .nav-links .contact-label > span:not(.drop-chevron) { /* the label: a tip to the right */
    position: absolute; left: calc(100% + 14px); top: 50%; translate: 0 -50%; padding: 8px 12px; border-radius: 10px; white-space: nowrap;
    background: rgba(18, 20, 28, 0.85); border: 1px solid var(--glass-line); color: var(--text);
    font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
    opacity: 0; pointer-events: none; transform: translateX(-6px); transition: opacity .2s, transform .2s;
  }
  .nav-links > a:hover > span, .nav-links .contact-label:hover > span:not(.drop-chevron) { opacity: 1; transform: none; }
  .contact-label .drop-chevron { display: none; }
  .nav-links .nav-account-m { display: none; }

  .nav-end { margin: auto 0 0; flex-direction: column; gap: 10px; align-items: center; }
  .nav-end .drop-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); }
  .nav-end .drop-chevron, .nav-end .lang-name, .nav-end .account-label { display: none; }
  .nav-end .btn-sm { width: 44px; height: 44px; padding: 0; font-size: 0; position: relative; }
  .nav-end .btn-sm::before {
    content: ""; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* menus open to the right of the rail */
  .nav .drop-panel, .nav .drop-right { top: 0; bottom: auto; left: calc(100% + 16px); right: auto; transform-origin: left top; transform: translateX(-8px) scale(.98); }
  .nav .nav-end .drop-panel { top: auto; bottom: 0; transform-origin: left bottom; }
  .nav .drop.open .drop-panel { transform: none; }

  .footer, .page .section, main > .section, .hero { scroll-margin-left: var(--rail); }
}

/* ---- Home: the dashboard ---- */
.hero.dash { padding: 34px 0 10px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.dash-hero { padding: 40px 40px 0; display: flex; flex-direction: column; border-radius: 28px; }
.dash-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 0% 0%, rgba(255, 138, 43, 0.20), transparent 70%);
}
.dash-hero > * { position: relative; }
.dash-hero .mega { font-size: clamp(34px, 4.6vw, 62px); margin-bottom: 20px; }
.dash-hero .lead { max-width: 520px; }
.dash-hero .hero-actions { margin-bottom: 34px; }
.dash-stats {
  margin: auto -40px 0; padding: 22px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  background: linear-gradient(110deg, rgba(255, 154, 60, 0.92), rgba(255, 90, 20, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); color: #1a0d03;
}
.dash-stats b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.dash-stats b small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.dash-stats span { display: block; margin-top: 6px; font: 600 11px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.dash-side { display: grid; gap: 20px; grid-template-rows: auto 1fr; }
.chart-card { padding: 22px 22px 18px; border-radius: 24px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; font: 700 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chart { width: 100%; height: 130px; margin: 16px 0 10px; overflow: visible; }
.chart .grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.chart .rival { stroke: #a78bfa; stroke-width: 2; fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(167, 139, 250, .6)); }
.chart .mumia { stroke: var(--primary); stroke-width: 3; fill: none; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(255, 138, 43, .8)); }
.chart .mumia-fill { fill: rgba(255, 138, 43, 0.25); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.chart-legend b { color: var(--text); font-weight: 700; margin-right: 4px; }
.lg-m i { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.lg-r i { background: #a78bfa; box-shadow: 0 0 8px #a78bfa; }
.dash-side .core-card { width: auto; margin: 0; padding: 22px; border-radius: 24px; }
.core-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.core-list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.86); }
.core-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 138, 43, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(255, 138, 43, 0.5);
}
.core-chips { margin-bottom: 16px; }
.core-chips span { border-color: var(--glass-line); background: rgba(255, 255, 255, 0.05); border-radius: 100px; padding: 6px 11px; }
@media (max-width: 980px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .dash-hero { padding: 26px 20px 0; border-radius: 22px; }
  .dash-stats { margin: 6px -20px 0; padding: 18px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Account: one big frosted card, promo on the left, form on the right ---- */
body[data-page="account"]::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: #05060a url("assets/shards.svg") center / cover no-repeat;
}
body[data-page="account"] .page-glow { opacity: .55; }
.wrap.account-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch;
  max-width: 1020px; width: calc(100% - 32px); padding: 0; margin: 20px auto 40px; position: relative; overflow: hidden;
  border-radius: 32px; border: 1px solid var(--glass-line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.account-intro { padding: 56px 46px; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)); border-right: 1px solid var(--glass-line); }
.account-intro .badge-ring { display: none; }
.account-intro .page-title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; margin: 0 0 14px; }
.account-intro > p { color: var(--muted); max-width: 340px; margin: 0 0 26px; }
.promo-go { padding: 12px 34px; margin-bottom: 26px; }
.promo-to-login, .account-wrap:has(#accountCard[data-tab="register"]) .promo-to-register { display: none; }
.account-wrap:has(#accountCard[data-tab="register"]) .promo-to-login { display: inline-flex; }
.account-wrap:has(#accountCard[data-tab="verify"], #accountCard[data-tab="forgot"], #accountCard[data-tab="reset"], #accountCard[data-tab="done"]) .promo-go { display: none; }
.account-perks { margin-top: 4px; gap: 12px; }
.account-perks li { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.account-card { padding: 52px 46px; min-width: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; display: flex; flex-direction: column; justify-content: center; }
.acc-tabs { display: none; }
.acc-form h2 { font-size: 30px; letter-spacing: -.03em; }
.field > span:first-child { font: 600 10.5px/1 var(--mono); color: rgba(255, 255, 255, 0.55); }
.field input {
  background-color: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0; height: 44px;
  padding-left: 34px; box-shadow: none !important; background-repeat: no-repeat; background-position: 4px 50%; background-size: 18px; color: var(--text);
}
.field input:focus { border-bottom-color: var(--primary); }
.field.bad input { border-bottom-color: #ff5a5a; }
.field input[name="login"], .field input[name="username"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' fill-opacity='.6'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.field input[type="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' fill-opacity='.6'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.field input[name="password"], .field input[name="current"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' fill-opacity='.6'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM9 8V6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9z'/%3E%3C/svg%3E"); }
.pw input { padding-right: 44px; }
.acc-news, .acc-set, .acc-msg { border-radius: 14px; }
.acc-form .btn-accent.btn-block, .acc-form .btn-danger.btn-block {
  height: 50px; margin-top: 6px; border-radius: 100px;
}
.acc-form .btn-accent.btn-block {
  background: linear-gradient(180deg, #f4f5f8, #a2a8b4); color: #0b0c10; border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 #fff;
}
.acc-form .btn-accent.btn-block:hover { box-shadow: 0 12px 34px rgba(255, 138, 43, 0.35), inset 0 1px 0 #fff; }
.acc-switch a, .link, .resend-btn { color: var(--primary); }
@media (max-width: 880px) {
  .wrap.account-wrap { grid-template-columns: minmax(0, 1fr); border-radius: 26px; margin-top: 8px; }
  .account-intro { padding: 30px 24px 22px; border-right: 0; border-bottom: 1px solid var(--glass-line); }
  .account-intro .page-title { font-size: 32px; }
  .account-intro > p, .account-perks { display: none; }
  .promo-go { margin-bottom: 0; }
  .account-card { padding: 28px 22px 32px; }
}

/* ---- OTP: lock, glowing square boxes, laser beams, success ---- */
#verifyForm { justify-items: center; text-align: center; }
.otp-lock {
  position: relative; width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; color: var(--ok); margin-bottom: 4px;
  background: linear-gradient(150deg, rgba(61, 220, 132, 0.30), rgba(61, 220, 132, 0.07)); border: 1px solid rgba(61, 220, 132, 0.6);
  box-shadow: 0 0 46px rgba(61, 220, 132, 0.38), inset 0 0 24px rgba(61, 220, 132, 0.22);
  animation: otp-breathe 3.2s ease-in-out infinite;
}
.otp-lock svg { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(61, 220, 132, .8)); }
@keyframes otp-breathe { 50% { box-shadow: 0 0 70px rgba(61, 220, 132, 0.55), inset 0 0 30px rgba(61, 220, 132, 0.3); } }
.otp-ring { position: absolute; inset: -9px; border-radius: 31px; border: 2px solid transparent; border-top-color: var(--ok); border-right-color: rgba(61, 220, 132, .35); opacity: 0; transition: opacity .2s; animation: otp-spin 0.9s linear infinite; }
#verifyForm:has(button.busy) .otp-ring { opacity: 1; }
@keyframes otp-spin { to { transform: rotate(360deg); } }
.otp-title-ok, #verifyForm.verified .otp-title { display: none; }
#verifyForm.verified .otp-title-ok { display: block; color: var(--ok); text-shadow: 0 0 24px rgba(61, 220, 132, .6); animation: acc-in .4s ease; }
.verify-sub { margin: 0; color: var(--muted); font-size: 14px; }
.verify-sub b { color: var(--text); word-break: break-all; }
.code-boxes { display: flex; align-items: center; justify-content: center; width: 100%; gap: 0; margin: 10px 0 4px; }
.code-boxes input {
  flex: 1 1 0; min-width: 0; max-width: 56px; height: auto; aspect-ratio: 1 / 1; padding: 0; text-align: center;
  font: 700 clamp(20px, 5vw, 28px)/1 var(--mono); color: #eafff3; caret-color: var(--ok);
  background: rgba(61, 220, 132, 0.06); border: 1px solid rgba(61, 220, 132, 0.35); border-radius: 14px;
  box-shadow: 0 0 18px rgba(61, 220, 132, 0.12), inset 0 0 14px rgba(61, 220, 132, 0.06);
  transition: border-color .2s, box-shadow .25s, background .25s;
}
.code-boxes input:focus { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18), 0 0 28px rgba(61, 220, 132, 0.35); background: rgba(61, 220, 132, 0.10); }
.code-boxes input:not(:placeholder-shown) { border-color: var(--ok); background: rgba(61, 220, 132, 0.14); box-shadow: 0 0 26px rgba(61, 220, 132, 0.4), inset 0 0 16px rgba(61, 220, 132, 0.18); animation: otp-pop .32s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes otp-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.code-boxes .beam { flex: 1 1 0; min-width: 4px; max-width: 14px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); transition: background .3s, box-shadow .3s; }
.code-boxes input:not(:placeholder-shown) + .beam { background: var(--ok); box-shadow: 0 0 10px var(--ok), 0 0 20px rgba(61, 220, 132, .5); }
#verifyForm.verified .code-boxes input { border-color: var(--ok); background: rgba(61, 220, 132, 0.2); box-shadow: 0 0 34px rgba(61, 220, 132, 0.55); }
#verifyForm.verified .beam { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
#verifyForm.verified .verify-sub, #verifyForm.verified .acc-switch, #verifyForm.verified .btn, #verifyForm.verified .otp-e2e, #verifyForm.verified .acc-msg { display: none; }
#verifyForm .btn-block { width: 100%; }
.otp-e2e { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; font-size: 12.5px; color: var(--faint); }
.otp-e2e svg { width: 16px; height: 16px; color: var(--ok); filter: drop-shadow(0 0 6px rgba(61, 220, 132, .6)); }
.verify-icon { border-radius: 20px; background: rgba(255, 255, 255, 0.08); border-color: var(--glass-line); color: var(--primary); }
@media (prefers-reduced-motion: reduce) { .otp-lock, .otp-ring, .code-boxes input { animation: none !important; } }

/* ---- Small things ---- */
.footer { border-top: 1px solid var(--glass-line); background: rgba(10, 11, 15, 0.4); }
.buy-modal { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.buy-box { background: rgba(20, 22, 30, 0.7); }

/* ---- Account: the whole key under a chevron, and the actions of an unpaid order ---- */
.key-toggle { flex: none; width: 36px; height: 38px; border-radius: 10px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.07); color: var(--primary); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.key-toggle:hover { background: rgba(255, 138, 43, 0.14); border-color: rgba(255, 138, 43, 0.5); }
.key-toggle i { width: 8px; height: 8px; border-right: 2.4px solid currentColor; border-top: 2.4px solid currentColor; transform: rotate(45deg) translate(-1px, 1px); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.key-toggle[aria-expanded="true"] i { transform: rotate(135deg) translate(-1px, 1px); }
.key-full { min-width: 0; animation: acc-in .3s ease; }
.key-full[hidden] { display: none; }
.key-full code { display: block; padding: 12px; border-radius: 10px; background: #000; border: 1px solid rgba(255, 138, 43, 0.35); color: var(--primary); font: 600 12px/1.55 var(--mono); white-space: normal; word-break: break-all; overflow-wrap: anywhere; user-select: all; }
.order.new { flex-wrap: wrap; }
.order .order-actions { flex-direction: row; flex-basis: 100%; gap: 8px; margin-top: 4px; }
.order .order-actions .btn { height: 38px; padding: 0 16px; }
.order .order-msg { flex-basis: 100%; margin: 0; }

/* ---- Support: the button at the bottom right and its chat ---- */
.support { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.support-fab {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 100px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); color: #1a0d03; font: 700 14px/1 "Inter", sans-serif;
  background: linear-gradient(120deg, #ff9a3c, #ff5a14); box-shadow: 0 14px 40px rgba(255, 90, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.support-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(255, 90, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.support-fab svg { width: 22px; height: 22px; }
.support-dot { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: #ff3b3b; border: 2px solid #07080b; }
.support-dot[hidden], .support-panel[hidden], .support-form[hidden], .support-guest[hidden] { display: none; }
.support-panel {
  width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 120px)); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--glass-line); background: rgba(16, 18, 26, 0.72);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18); animation: acc-in .3s ease;
}
.support-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid var(--glass-line); }
.support-head b { display: block; font-size: 16px; }
.support-status { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.support-status.long { align-items: flex-start; }
.support-status i { flex: none; width: 8px; height: 8px; margin-top: 3px; border-radius: 50%; background: #8e939f; }
.support-status i.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.support-x { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.support-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.support-hello { margin: auto 0; text-align: center; color: var(--muted); font-size: 14px; }
.support-msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.support-msg small { display: block; margin-bottom: 3px; font: 600 10.5px/1 var(--mono); opacity: .65; }
.support-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-msg.me { align-self: flex-end; background: linear-gradient(120deg, rgba(255, 154, 60, 0.9), rgba(255, 90, 20, 0.9)); color: #1a0d03; border-bottom-right-radius: 5px; }
.support-msg.team { align-self: flex-start; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-line); border-bottom-left-radius: 5px; }
.support-note { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; color: var(--muted); background: rgba(255, 255, 255, 0.05); text-align: center; }
.support-note.bad { color: #ffb4b4; background: rgba(255, 90, 90, 0.1); }
.support-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--glass-line); }
.support-form textarea { flex: 1; min-height: 42px; max-height: 120px; resize: none; padding: 11px 14px; border-radius: 16px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0, 0.35); color: var(--text); font: 400 14px/1.4 "Inter", sans-serif; outline: none; }
.support-form textarea:focus { border-color: rgba(255, 138, 43, 0.6); }
.support-form .btn { height: 42px; padding: 0 18px; flex: none; }
.support-guest { margin: auto 0; padding: 22px 20px; text-align: center; }
.support-guest p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.support-auth { display: grid; gap: 8px; }
@media (max-width: 560px) { .support { right: 12px; bottom: 12px; } .support-fab span { display: none; } .support-fab { padding: 0 16px; } }

.support-msg.ai small::before { content: "✦ "; color: var(--primary); }
.support-msg.ai { border-color: rgba(255, 138, 43, 0.35); background: rgba(255, 138, 43, 0.08); }
.support-typing { margin: 0; display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.support-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: support-dot 1.1s ease-in-out infinite; }
.support-typing i:nth-child(2) { animation-delay: .15s; }
.support-typing i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
@keyframes support-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.1); } }

/* ---- Promo card on the plans ---- */
.pkg.promo { border-color: rgba(61, 220, 132, 0.45); }
.pkg.promo .sheet-top > span:first-child { color: var(--ok); }
.promo-form { display: grid; gap: 8px; margin: 6px 0 4px; }
.promo-form input, .promo-form select {
  width: 100%; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0, 0.35);
  color: var(--text); font: 600 14px/1 "Inter", sans-serif; outline: none;
}
.promo-form input:focus, .promo-form select:focus { border-color: rgba(61, 220, 132, 0.7); }
.promo-form select option { background: #12141a; color: #f5f6f8; }
.promo-form .btn { height: 44px; }
.promo-form .acc-msg { font-size: 12.5px; padding: 9px 12px; }
.promo-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: var(--faint); }
.pkg.promo .acc-msg.ok a { color: var(--ok); font-weight: 700; }

.pkg.promo .promo-form input:disabled, .pkg.promo .promo-form .btn:disabled { opacity: .55; cursor: not-allowed; }

/* Plans: four to a row (free, promo and the six packages make two rows of four). */
@media (min-width: 1181px) { .pkg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Feedback: the account card and the reviews on the home page ---- */
.acc-feedback { display: grid; gap: 10px; margin-top: 4px; }
.acc-feedback[hidden], #fbForm[hidden] { display: none; }
.acc-feedback h3 { margin: 4px 0 2px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.fb-hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
#fbForm { display: grid; gap: 10px; }
.fb-stars { display: flex; gap: 6px; }
.fb-stars button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.3); font-size: 22px; line-height: 1; cursor: pointer; transition: transform .15s, color .15s, background .15s; }
.fb-stars button:hover { transform: translateY(-2px); }
.fb-stars button.on { color: #ffb21f; background: rgba(255, 178, 31, 0.14); border-color: rgba(255, 178, 31, 0.5); text-shadow: 0 0 12px rgba(255, 178, 31, 0.6); }
#fbForm textarea { width: 100%; min-height: 84px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0, 0.35); color: var(--text); font: 400 14px/1.45 "Inter", sans-serif; outline: none; }
#fbForm textarea:focus { border-color: rgba(255, 138, 43, 0.6); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(150deg, var(--glass-hi), var(--glass)); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.review p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); white-space: pre-wrap; overflow-wrap: anywhere; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.review footer b { color: var(--text); }
.rv-stars { color: #ffb21f; font-size: 17px; letter-spacing: 2px; text-shadow: 0 0 12px rgba(255, 178, 31, 0.5); }
.rv-stars i { font-style: normal; color: rgba(255, 255, 255, 0.18); text-shadow: none; }
@media (max-width: 980px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---- The buttons at the top (news, language, account, menu): glass, like the panels ---- */
.nav-end .drop-toggle, .nav-end .menu-btn {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07) 55%, rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.nav-end .drop-toggle:hover, .nav-end .drop.open .drop-toggle, .nav-end .menu-btn:hover, .nav.open .nav-end .menu-btn {
  background: linear-gradient(150deg, rgba(255, 138, 43, 0.3), rgba(255, 138, 43, 0.08));
  border-color: rgba(255, 170, 90, 0.55);
  box-shadow: 0 10px 28px rgba(255, 138, 43, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.nav-end .drop-toggle:active, .nav-end .menu-btn:active { transform: scale(.96); }

/* ---- Desktop rail: the buttons at the bottom look like the icons at the top (plain, muted; glass on hover; orange when active) ---- */
@media (min-width: 881px) {
  .nav .nav-end .drop-toggle, .nav .nav-end .btn-sm {
    width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center; border-radius: 14px;
    border: 1px solid transparent; background: none; color: var(--muted); box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; transform: none;
  }
  .nav .nav-end .drop-toggle:hover, .nav .nav-end .drop.open .drop-toggle, .nav .nav-end .btn-sm:hover {
    background: rgba(255, 255, 255, 0.1); color: var(--text); border-color: var(--glass-line); box-shadow: none; transform: none;
  }
  .nav .nav-end .account-drop.active .account-toggle {
    color: #fff; border-color: rgba(255, 138, 43, 0.55); background: linear-gradient(150deg, rgba(255, 138, 43, 0.55), rgba(255, 90, 20, 0.25));
    box-shadow: 0 8px 24px rgba(255, 138, 43, 0.3);
  }
  /* the announcement horn and the account person: the same grey icon as the others */
  .nav-end .news-toggle .mega-body { fill: currentColor; }
  .nav-end .news-toggle .mega-wave { stroke: currentColor; }
  .nav-end .account-toggle .account-icon { width: 22px; height: 22px; background: none; color: inherit; box-shadow: none; }
  .nav-end .account-toggle .account-icon svg { width: 22px; height: 22px; }
  .nav-end .account-drop.signed-in .account-icon { box-shadow: none; }
  /* signed in: a small green dot instead of a ring */
  .nav-end .account-drop.signed-in .account-toggle { position: relative; }
  .nav-end .account-drop.signed-in .account-toggle::after {
    content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--ok); box-shadow: 0 0 0 2px rgba(14, 16, 22, 0.9);
  }
}
