/* ==========================================================================
   ZENVIXO.ORG — Premium fintech stylesheet
   ========================================================================== */

/* ---- 1. Tokens ------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-page:      #060B16;
  --bg-page-2:    #08111F;
  --bg-card:      #0E1A2D;
  --bg-card-2:    #11203A;
  --bg-elevated:  #14253E;
  --bg-input:     #0A1424;
  --bg-hover:     #1A2C48;
  --bg-glass:     rgba(20, 37, 62, 0.55);

  /* Brand */
  --brand-1:      #1A3A5C;          /* TZ dark navy */
  --brand-2:      #2E86AB;          /* TZ turquoise */
  --brand-3:      #4FD1E0;          /* lighter cyan accent */
  --brand-4:      #7B4DFF;          /* indigo highlight */

  --accent:       #2E86AB;
  --accent-bright:#4FD1E0;
  --accent-soft:  rgba(79, 209, 224, 0.10);
  --accent-mid:   rgba(79, 209, 224, 0.18);
  --accent-border:rgba(79, 209, 224, 0.32);
  --accent-glow:  rgba(79, 209, 224, 0.45);

  --grad-brand:   linear-gradient(120deg, #2E86AB 0%, #4FD1E0 50%, #7B4DFF 100%);
  --grad-brand-2: linear-gradient(135deg, #1A3A5C 0%, #2E86AB 60%, #4FD1E0 100%);
  --grad-text:    linear-gradient(135deg, #FFFFFF 0%, #BFE7F0 50%, #4FD1E0 100%);
  --grad-card:    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);

  /* Text */
  --text-primary:   #ECF4FF;
  --text-secondary: #8AAACB;
  --text-muted:     #4D6685;
  --text-soft:      #6986A6;

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.05);
  --border-default: rgba(255,255,255,0.09);
  --border-strong:  rgba(255,255,255,0.16);
  --border-brand:   rgba(79,209,224,0.32);

  /* Status */
  --green:      #22C55E;
  --green-2:    #10B981;
  --green-dim:  rgba(34,197,94,0.13);
  --red:        #F26464;
  --red-dim:    rgba(242,100,100,0.13);
  --yellow:     #F4B948;
  --yellow-dim: rgba(244,185,72,0.14);

  /* Radii */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px;
  --r-lg: 20px; --r-xl: 26px; --r-2xl: 32px;
  --r-pill: 9999px;

  /* Shadows */
  --sh-sm:  0 2px 6px rgba(0,0,0,0.25);
  --sh-md:  0 6px 24px rgba(0,0,0,0.35);
  --sh-lg:  0 12px 48px rgba(0,0,0,0.50);
  --sh-xl:  0 24px 80px rgba(0,0,0,0.60);
  --glow-brand: 0 8px 40px rgba(79,209,224,0.18);
  --glow-strong: 0 0 0 1px rgba(79,209,224,0.30), 0 12px 48px rgba(79,209,224,0.22);

  /* Type */
  --font:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;

  --tf: 0.18s cubic-bezier(.4,0,.2,1);
  --tr: 0.30s cubic-bezier(.4,0,.2,1);
  --tspring: 0.45s cubic-bezier(.34,1.56,.64,1);

  --container: 1200px;
  --hh: 70px;
}

/* Light theme — soft, sky-blue */
.theme-light {
  --bg-page:     #F4F8FE;
  --bg-page-2:   #EAF2FB;
  --bg-card:     #FFFFFF;
  --bg-card-2:   #FAFCFF;
  --bg-elevated: #EFF5FC;
  --bg-input:    #F3F8FE;
  --bg-hover:    #E1ECFA;
  --bg-glass:    rgba(255,255,255,0.65);

  --text-primary:   #07182C;
  --text-secondary: #3D5C7E;
  --text-muted:     #6B89A8;
  --text-soft:      #5C7A98;

  --border-subtle:  rgba(7,24,44,0.06);
  --border-default: rgba(7,24,44,0.10);
  --border-strong:  rgba(7,24,44,0.18);

  --sh-sm: 0 2px 6px rgba(7,24,44,0.07);
  --sh-md: 0 6px 24px rgba(7,24,44,0.10);
  --sh-lg: 0 12px 48px rgba(7,24,44,0.13);
  --sh-xl: 0 24px 60px rgba(7,24,44,0.16);
  --glow-brand: 0 8px 30px rgba(46,134,171,0.22);

  --grad-text:    linear-gradient(135deg, #07182C 0%, #1A3A5C 40%, #2E86AB 100%);
}

/* ---- 2. Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--tr), color var(--tr);
}

/* Decorative page-wide gradient mesh */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(123,77,255,0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(46,134,171,0.10), transparent 60%),
    radial-gradient(600px 600px at 50% 110%, rgba(79,209,224,0.08), transparent 60%);
  pointer-events: none; z-index: 0;
}
.theme-light body::before {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(123,77,255,0.08), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(46,134,171,0.10), transparent 60%);
}
body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); text-decoration: none; transition: color var(--tf); }
a:hover { color: var(--brand-3); }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(79,209,224,0.3); color: var(--text-primary); }

/* ---- 3. Typography -------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.0rem, 5.5vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text-secondary); }
strong { color: var(--text-primary); font-weight: 600; }
.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }

.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-accent { color: var(--accent-bright) !important; }
.text-green  { color: var(--green) !important; }
.text-red    { color: var(--red) !important; }
.text-muted  { color: var(--text-muted) !important; }

/* ---- 4. Layout ------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section    { padding: 96px 0; position: relative; }
.section-sm { padding: 68px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-bright); margin-bottom: 18px;
}
.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: ''; flex: 1; height: 1px; width: 30px;
  background: linear-gradient(90deg, transparent, var(--accent-border));
}
.section-header .eyebrow::after { background: linear-gradient(-90deg, transparent, var(--accent-border)); }

/* ---- 5. Header ------------------------------------------------------ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hh);
  background: color-mix(in oklab, var(--bg-page) 75%, transparent);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--tr), border-color var(--tr);
}
.header.scrolled { border-color: var(--border-default); box-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.header-inner    { display: flex; align-items: center; justify-content: space-between; height: 100%; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.18rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.025em; }
.logo:hover { color: var(--text-primary); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; position: relative;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 900; color: #fff; letter-spacing: -0.05em;
  box-shadow: 0 4px 18px rgba(46,134,171,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.logo-mark::after {
  content: ''; position: absolute; inset: -2px; border-radius: 13px;
  background: var(--grad-brand); filter: blur(14px); opacity: 0.5; z-index: -1;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  transition: all var(--tf);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-link.active { color: var(--accent-bright); }
.nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-default); background: var(--bg-elevated);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all var(--tf);
}
.theme-toggle:hover { border-color: var(--accent-border); color: var(--accent-bright); background: var(--accent-soft); transform: rotate(15deg); }

.menu-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--border-default); background: var(--bg-elevated);
  color: var(--text-secondary); display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.menu-btn span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: all var(--tf); }

@media (max-width: 880px) { .nav { display: none; } .menu-btn { display: flex; } }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--hh); left: 0; right: 0; bottom: 0;
  background: var(--bg-page); z-index: 99; padding: 22px;
  flex-direction: column; gap: 4px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.25s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 14px 18px; font-size: 1rem; border-radius: var(--r-md); }
.mobile-menu .nav-link.active { background: var(--accent-soft); color: var(--accent-bright); }
.mobile-menu .nav-link.active::after { display: none; }

/* ---- 6. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.92rem; line-height: 1;
  border: 1px solid transparent; transition: all var(--tf);
  white-space: nowrap; cursor: pointer; user-select: none;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 24px rgba(46,134,171,0.30), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(79,209,224,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-elevated); color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border-strong); }

.btn-ghost { background: transparent; color: var(--accent-bright); border-color: var(--accent-border); }
.btn-ghost:hover { background: var(--accent-soft); }

.btn-glass {
  background: var(--bg-glass); border-color: var(--border-default);
  color: var(--text-primary); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: var(--bg-hover); border-color: var(--accent-border); color: var(--text-primary); }

.btn-lg   { padding: 16px 32px; font-size: 1.0rem; border-radius: var(--r-md); }
.btn-sm   { padding: 8px 16px; font-size: 0.82rem; }
.btn-full { width: 100%; }
.btn[disabled], .btn:disabled {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
  transform: none !important; box-shadow: none !important;
}

/* ---- 7. Cards ------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
  position: relative;
}
.card-hover:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--glow-brand);
}
.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-default);
}

/* ---- 8. Form elements ----------------------------------------------- */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.input, .select-input {
  width: 100%; padding: 13px 15px;
  background: var(--bg-input); border: 1px solid var(--border-default);
  border-radius: var(--r-sm); color: var(--text-primary); font-size: 0.95rem;
  transition: border-color var(--tf), box-shadow var(--tf), background var(--tf); outline: none;
}
.input:hover { border-color: var(--border-strong); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--bg-card); }
.input::placeholder { color: var(--text-muted); }
.input-error { border-color: var(--red) !important; box-shadow: 0 0 0 4px var(--red-dim) !important; }

select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%238AAACB' d='M6 8L0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ---- 9. Currency icon system --------------------------------------- */
.cur-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: #fff;
  position: relative; overflow: hidden;
}
.cur-icon svg { width: 60%; height: 60%; }
.cur-icon-lg { width: 40px; height: 40px; }
.cur-icon-xl { width: 56px; height: 56px; }

.cur-btc  { background: linear-gradient(135deg, #F7931A, #FDB54E); }
.cur-eth  { background: linear-gradient(135deg, #627EEA, #8FA9F2); }
.cur-usdt { background: linear-gradient(135deg, #26A17B, #50C18F); }
.cur-usdc { background: linear-gradient(135deg, #2775CA, #5BA1E5); }
.cur-ton  { background: linear-gradient(135deg, #0098EA, #43B6F5); }
.cur-ltc  { background: linear-gradient(135deg, #345D9D, #5A86C5); }
.cur-sol  { background: linear-gradient(135deg, #9945FF, #14F195); }
.cur-trx  { background: linear-gradient(135deg, #EF0027, #FF4D6B); }
.cur-bnb  { background: linear-gradient(135deg, #F0B90B, #F8D14A); }
.cur-kzt  { background: linear-gradient(135deg, #00A4DE, #4FC4EC); }
.cur-rub  { background: linear-gradient(135deg, #1E5BB8, #4A82D7); }
.cur-usd  { background: linear-gradient(135deg, #1A8650, #3DC082); }
.cur-eur  { background: linear-gradient(135deg, #1A57AB, #4682CE); }

/* ---- 10. Exchange Widget ------------------------------------------- */
.widget {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--r-2xl); padding: 28px;
  box-shadow: var(--sh-xl);
  width: 100%; max-width: 510px;
}
.widget::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: var(--r-2xl); pointer-events: none;
  background: linear-gradient(135deg, rgba(79,209,224,0.4), transparent 35%, transparent 65%, rgba(123,77,255,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6;
}
.widget-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.widget-title {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-muted);
}
.widget-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 600; color: var(--green);
  padding: 4px 9px; background: var(--green-dim); border-radius: var(--r-pill);
}

.cur-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.10em; color: var(--text-muted); margin-bottom: 8px;
}
.cur-row { position: relative; }
.cur-input-wrap {
  display: flex; background: var(--bg-input); border: 1px solid var(--border-default);
  border-radius: var(--r-md); position: relative;
  transition: border-color var(--tf), box-shadow var(--tf);
}
.cur-input-wrap:hover { border-color: var(--border-strong); }
.cur-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.cur-select-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--bg-elevated); border: none; border-right: 1px solid var(--border-default);
  border-radius: var(--r-md) 0 0 var(--r-md);
  color: var(--text-primary); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap; transition: background var(--tf); min-width: 150px; cursor: pointer;
}
.cur-select-btn:hover { background: var(--bg-hover); }
.caret { color: var(--text-muted); font-size: 0.6rem; margin-left: 4px; transition: transform var(--tf); }
.cur-select-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.cur-info  { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.cur-symbol  { font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.cur-network { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

.cur-amount {
  flex: 1; padding: 12px 16px; background: transparent; border: none;
  color: var(--text-primary); font-size: 1.3rem; font-weight: 700; font-family: var(--font-mono);
  outline: none; text-align: right; min-width: 0;
}
.cur-amount::placeholder { color: var(--text-muted); font-weight: 500; }
.cur-amount::-webkit-outer-spin-button,
.cur-amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cur-amount[readonly] { background: transparent; cursor: default; }

/* Swap arrow */
.swap-row { display: flex; align-items: center; justify-content: center; margin: 12px 0; position: relative; }
.swap-row::before {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}
.swap-btn {
  position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: all var(--tspring);
}
.swap-btn:hover {
  background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-bright);
  transform: rotate(180deg) scale(1.06);
}

/* Rate info block */
.rate-info { margin: 18px 0 22px; padding: 16px; background: var(--bg-input); border-radius: var(--r-md); border: 1px solid var(--border-subtle); }
.rate-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; padding: 4px 0; }
.rate-row span:first-child { color: var(--text-muted); }
.rate-row span:last-child  { color: var(--text-secondary); font-weight: 600; font-family: var(--font-mono); }
.rate-row.highlight { padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--border-subtle); }
.rate-row.highlight span:first-child { color: var(--text-secondary); font-weight: 500; }
.rate-row.highlight span:last-child { color: var(--text-primary); font-weight: 800; font-size: 1.05rem; }

.rate-timer {
  display: flex; align-items: center; gap: 7px;
  color: var(--text-muted); font-size: 0.76rem; margin-top: 12px;
  padding-top: 10px; border-top: 1px dashed var(--border-subtle);
}

/* Pulse dot */
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  position: relative; flex-shrink: 0;
}
.pulse-dot::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: currentColor; opacity: 0; animation: pulseRing 2s ease-out infinite;
}
.pulse-dot { color: var(--green); }
@keyframes pulseRing {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---- 11. Dropdown ---------------------------------------------------- */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 280px;
  background: var(--bg-card-2); border: 1px solid var(--border-default);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); z-index: 50;
  display: none; overflow: hidden;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dropdown.open { display: block; }
.dropdown-search { padding: 12px; border-bottom: 1px solid var(--border-subtle); position: relative; }
.dropdown-search input {
  width: 100%; padding: 9px 12px 9px 34px; background: var(--bg-input);
  border: 1px solid var(--border-default); border-radius: var(--r-sm);
  color: var(--text-primary); font-size: 0.86rem; outline: none;
}
.dropdown-search::before {
  content: '🔍'; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-size: 0.78rem; opacity: 0.5;
}
.dropdown-search input:focus { border-color: var(--accent); }

.dropdown-list { max-height: 280px; overflow-y: auto; padding: 6px; }
.dropdown-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: var(--r-sm); cursor: pointer; transition: background var(--tf);
}
.dropdown-item:hover    { background: var(--bg-hover); }
.dropdown-item.selected { background: var(--accent-soft); }
.dropdown-item-name    { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.dropdown-item-network { font-size: 0.74rem; color: var(--text-muted); }
.dropdown-item-rate    { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); font-family: var(--font-mono); }
.dropdown-item-info    { flex: 1; }

/* ---- 12. Hero -------------------------------------------------------- */
.hero {
  padding-top: calc(var(--hh) + 76px);
  padding-bottom: 100px;
  position: relative; overflow: hidden;
}
.hero-orbits {
  position: absolute; top: 0; right: -200px; width: 800px; height: 800px;
  pointer-events: none; opacity: 0.55;
}
.hero-orbits .orbit {
  position: absolute; inset: 0; border: 1px dashed var(--accent-border);
  border-radius: 50%; animation: spin 60s linear infinite;
}
.hero-orbits .orbit:nth-child(2) { inset: 60px; animation-duration: 80s; animation-direction: reverse; }
.hero-orbits .orbit:nth-child(3) { inset: 130px; animation-duration: 100s; }
.hero-orbits .coin {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.hero-orbits .coin-1 { top: -28px; left: 50%; margin-left: -28px; background: linear-gradient(135deg,#F7931A,#FDB54E); }
.hero-orbits .coin-2 { top: 40%; left: -28px; background: linear-gradient(135deg,#627EEA,#8FA9F2); }
.hero-orbits .coin-3 { bottom: 12%; right: -10px; background: linear-gradient(135deg,#26A17B,#50C18F); width: 48px; height: 48px; font-size: 0.78rem; }
.hero-orbits .coin-4 { top: 22%; right: 18%; background: linear-gradient(135deg,#0098EA,#43B6F5); width: 42px; height: 42px; font-size: 0.74rem; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-30%);
  width: 800px; height: 800px; pointer-events: none;
  background: radial-gradient(circle, rgba(79,209,224,0.10) 0%, transparent 65%);
}

.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: center; position: relative;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; } .widget { margin: 0 auto; } .hero-orbits { display: none; } }
@media (max-width: 560px) { .hero { padding-top: calc(var(--hh) + 40px); padding-bottom: 60px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 700;
  color: var(--accent-bright); margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 18px; line-height: 1.05; }
.hero h1 .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.1rem; line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
@media (max-width: 980px) { .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; } }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
@media (max-width: 980px) { .hero-cta { justify-content: center; } }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
@media (max-width: 980px) { .hero-stats { justify-content: center; } }
.hero-stat-num   { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -0.02em; }
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

/* ---- 13. Live ticker ------------------------------------------------ */
.ticker {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden; padding: 16px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-card), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg-card), transparent); }

.ticker-track { display: flex; gap: 36px; animation: tickerScroll 50s linear infinite; will-change: transform; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; flex-shrink: 0;
}
.ticker-item-sym { font-weight: 700; color: var(--text-primary); font-family: var(--font-display); }
.ticker-item-price { color: var(--text-secondary); font-weight: 600; font-family: var(--font-mono); }
.ticker-item-change { font-size: 0.78rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); font-family: var(--font-mono); }
.ticker-up   { color: var(--green); background: var(--green-dim); }
.ticker-down { color: var(--red);   background: var(--red-dim); }

/* ---- 14. Stats bar -------------------------------------------------- */
.stats-bar { padding: 30px 0; }
.stats-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--r-xl);
  padding: 24px; position: relative; overflow: hidden;
}
.stats-bar-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}
@media (max-width: 768px) { .stats-bar-inner { grid-template-columns: repeat(2, 1fr); padding: 20px; } }
.stat-item { text-align: center; padding: 0 14px; border-right: 1px solid var(--border-subtle); }
.stat-item:last-child { border-right: none; }
@media (max-width: 768px) { .stat-item { border-right: none; padding: 14px 8px; border-bottom: 1px solid var(--border-subtle); } .stat-item:nth-last-child(-n+2) { border-bottom: none; } }
.stat-item-icon  { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-bright); align-items: center; justify-content: center; margin-bottom: 10px; }
.stat-item-val   { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -0.02em; }
.stat-item-label { font-size: 0.76rem; color: var(--text-muted); margin-top: 6px; }

/* ---- 15. Steps -------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl); padding: 32px 28px;
  transition: border-color var(--tr), transform var(--tr);
  position: relative; overflow: hidden;
}
.step-card::after {
  content: ''; position: absolute; inset: 0; background: var(--grad-card); pointer-events: none;
}
.step-card:hover { border-color: var(--accent-border); transform: translateY(-6px); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--accent-bright);
  margin-bottom: 22px; position: relative;
}
.step-num::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px dashed var(--accent-border); opacity: 0.5;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p  { font-size: 0.92rem; line-height: 1.7; }
.step-card-icon {
  position: absolute; top: 20px; right: 20px;
  width: 32px; height: 32px; opacity: 0.15; color: var(--accent-bright);
}

/* ---- 16. Features --------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: all var(--tr); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--tr);
}
.feature-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: var(--glow-brand); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 50px; height: 50px; border-radius: var(--r-md);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright); margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p  { font-size: 0.9rem; line-height: 1.7; }

/* ---- 17. Trust badges (aggregators) -------------------------------- */
.trust-badges {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  align-items: center;
}
@media (max-width: 920px) { .trust-badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
.trust-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md); padding: 22px 16px;
  display: flex; align-items: center; justify-content: center; min-height: 80px;
  transition: all var(--tr); filter: grayscale(0.4); opacity: 0.78;
}
.trust-card:hover { border-color: var(--accent-border); filter: none; opacity: 1; transform: translateY(-2px); }
.trust-card img { max-height: 28px; max-width: 130px; object-fit: contain; }

.trust-rating {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--bg-elevated); border: 1px solid var(--border-default);
  border-radius: var(--r-pill); font-size: 0.84rem;
}
.trust-rating .stars { color: var(--yellow); letter-spacing: 0.05em; }

/* ---- 18. Reviews / testimonials ------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color var(--tr); position: relative;
}
.review-card:hover { border-color: var(--accent-border); }
.review-card::before {
  content: '\201C'; position: absolute; top: 14px; right: 22px;
  font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--accent-soft);
}
.review-stars { color: var(--yellow); letter-spacing: 0.06em; margin-bottom: 14px; font-size: 0.88rem; }
.review-text { font-size: 0.92rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.85rem; }
.review-name   { font-weight: 600; font-size: 0.86rem; color: var(--text-primary); }
.review-meta   { font-size: 0.74rem; color: var(--text-muted); }

/* ---- 19. Rates table ------------------------------------------------ */
.table-wrap {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl); overflow: hidden;
}
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table thead { background: var(--bg-elevated); }
.rates-table th {
  padding: 16px 20px; text-align: left; font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; color: var(--text-muted);
  border-bottom: 1px solid var(--border-default); white-space: nowrap;
}
.rates-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem; vertical-align: middle;
}
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tbody tr { transition: background var(--tf); }
.rates-table tbody tr:hover { background: var(--bg-hover); }
.cur-cell { display: flex; align-items: center; gap: 12px; }
.cur-cell-name   { font-weight: 600; color: var(--text-primary); font-size: 0.92rem; }
.cur-cell-ticker { font-size: 0.76rem; color: var(--text-muted); }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.badge-blue   { background: var(--accent-soft); color: var(--accent-bright); border: 1px solid var(--accent-border); }
.badge-green  { background: var(--green-dim);   color: var(--green); }
.badge-yellow { background: var(--yellow-dim);  color: var(--yellow); }
.badge-red    { background: var(--red-dim);     color: var(--red); }

/* ---- 20. FAQ --------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--tf), background var(--tf);
}
.faq-item:hover { border-color: var(--border-default); }
.faq-item.open  { border-color: var(--accent-border); background: var(--bg-card-2); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; transition: background var(--tf); user-select: none;
}
.faq-question:hover { background: var(--bg-hover); }
.faq-item.open .faq-question:hover { background: transparent; }
.faq-question-text { font-weight: 600; font-size: 0.96rem; color: var(--text-primary); flex: 1; padding-right: 16px; }
.faq-arrow {
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg-elevated); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
  transition: transform var(--tr), background var(--tf), color var(--tf); font-size: 0.7rem;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--accent-soft); color: var(--accent-bright); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--tr), padding var(--tr); padding: 0 24px; font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); }
.faq-item.open .faq-answer { max-height: 600px; padding: 0 24px 22px; }

/* ---- 21. CTA -------------------------------------------------------- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0; text-align: center; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 30% 50%, rgba(46,134,171,0.18), transparent 65%),
    radial-gradient(500px 300px at 70% 50%, rgba(123,77,255,0.14), transparent 65%);
  pointer-events: none;
}
.cta-section > .container { position: relative; }
.cta-section h2 { margin-bottom: 14px; }
.cta-section p  { font-size: 1.1rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- 22. Footer ----------------------------------------------------- */
.footer {
  background: var(--bg-card-2); border-top: 1px solid var(--border-subtle);
  padding: 64px 0 28px; position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.10em; color: var(--text-muted); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent-bright); }

.socials { display: flex; gap: 8px; margin-top: 18px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--tf);
}
.social-btn:hover { background: var(--accent-soft); color: var(--accent-bright); border-color: var(--accent-border); transform: translateY(-2px); }

/* ---- 23. Page hero (inner) ------------------------------------------ */
.page-hero { padding-top: calc(var(--hh) + 56px); padding-bottom: 56px; text-align: center; position: relative; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p  { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb-sep { font-size: 0.65rem; opacity: 0.5; }

/* ---- 24. Exchange form ---------------------------------------------- */
.exchange-layout { padding-top: calc(var(--hh) + 40px); padding-bottom: 80px; }
.exchange-wrap { max-width: 600px; margin: 0 auto; }

.steps-indicator { display: flex; align-items: center; gap: 0; margin-bottom: 36px; }
.step-ind { display: flex; align-items: center; gap: 10px; flex: 1; }
.step-ind:last-child { flex: initial; }
.step-ind-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-elevated); border: 2px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
  transition: all var(--tr);
}
.step-ind.active .step-ind-num { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-bright); box-shadow: 0 0 0 4px var(--accent-soft); }
.step-ind.done .step-ind-num   { background: var(--green-dim); border-color: var(--green); color: var(--green); }
.step-ind-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.step-ind.active .step-ind-label { color: var(--text-primary); }
.step-ind.done   .step-ind-label { color: var(--green); }
.step-conn { flex: 1; height: 2px; background: var(--border-subtle); margin: 0 8px; transition: background var(--tr); border-radius: 2px; }
.step-conn.done { background: var(--green); }

.exchange-step { display: none; }
.exchange-step.active { display: block; animation: stepIn 0.35s var(--tspring); }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.step-card-form {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-md);
}
.step-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; letter-spacing: -0.015em; }
.step-subtitle { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }
.step-actions { display: flex; gap: 12px; margin-top: 28px; }

.crypto-pick-btn {
  background: var(--bg-elevated); border: 2px solid var(--border-subtle);
  border-radius: var(--r-md); padding: 16px 10px; text-align: center;
  cursor: pointer; transition: all var(--tf); color: var(--text-primary);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.crypto-pick-btn:hover  { border-color: var(--accent-border); background: var(--accent-soft); transform: translateY(-2px); }
.crypto-pick-btn.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.crypto-pick-btn .cur-icon { margin-bottom: 4px; }

.pay-method-btn {
  background: var(--bg-elevated); border: 2px solid var(--border-subtle);
  border-radius: var(--r-md); padding: 18px 14px; text-align: center;
  cursor: pointer; transition: all var(--tf); color: var(--text-primary);
}
.pay-method-btn:hover  { border-color: var(--accent-border); transform: translateY(-2px); }
.pay-method-btn.active { border-color: var(--accent); background: var(--accent-soft); }

.summary-box { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 22px; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.88rem; gap: 12px; }
.summary-row:last-child { border-bottom: none; }
.summary-row span:first-child { color: var(--text-muted); flex-shrink: 0; }
.summary-row span:last-child  { font-weight: 600; color: var(--text-primary); text-align: right; }
.summary-row.highlight { padding-top: 14px; margin-top: 4px; border-top: 1px dashed var(--border-default); border-bottom: none; }
.summary-row.highlight span:last-child { font-size: 1.15rem; color: var(--accent-bright); font-weight: 800; font-family: var(--font-mono); }

/* ---- 25. Order page ------------------------------------------------- */
.order-layout { padding-top: calc(var(--hh) + 32px); padding-bottom: 80px; }
.order-grid   { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .order-grid { grid-template-columns: 1fr; } }

.order-id-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--text-muted); background: var(--bg-elevated); border: 1px solid var(--border-default);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.order-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r-pill); font-size: 0.88rem; font-weight: 700;
}
.s-waiting   { background: var(--yellow-dim); color: var(--yellow); }
.s-detected  { background: var(--accent-soft); color: var(--accent-bright); }
.s-confirmed { background: var(--green-dim); color: var(--green); }
.s-done      { background: var(--green-dim); color: var(--green); }
.s-expired   { background: var(--red-dim); color: var(--red); }
.s-error     { background: var(--red-dim); color: var(--red); }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.timeline-item { display: flex; gap: 18px; padding-bottom: 28px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px;
  background: var(--border-subtle); border-radius: 2px;
}
.timeline-item:last-child::before { display: none; }
.timeline-item.t-done::before   { background: var(--green); }
.timeline-item.t-active::before { background: linear-gradient(to bottom, var(--accent), var(--border-subtle)); }
.tl-dot {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  background: var(--bg-elevated); border: 2px solid var(--border-subtle); color: var(--text-muted);
  position: relative; z-index: 1; transition: all var(--tr);
}
.timeline-item.t-done   .tl-dot { background: var(--green-dim); border-color: var(--green); color: var(--green); }
.timeline-item.t-active .tl-dot {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent-bright);
  animation: tlPulse 2s ease-in-out infinite;
}
@keyframes tlPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,209,224,0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(79,209,224,0); }
}
.tl-content { flex: 1; padding-top: 8px; }
.tl-title { font-weight: 700; font-size: 0.96rem; color: var(--text-primary); margin-bottom: 4px; }
.tl-desc  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }
.timeline-item.t-active .tl-title { color: var(--accent-bright); }
.timeline-item.t-done   .tl-title { color: var(--green); }

/* Payment box */
.payment-box {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card-2));
  border: 2px solid var(--accent-border);
  border-radius: var(--r-xl); padding: 26px;
  margin-top: 20px; position: relative;
  box-shadow: var(--glow-brand);
}
.payment-box-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--text-muted); margin-bottom: 18px;
}
.address-wrap {
  display: flex; align-items: center; gap: 10px; background: var(--bg-input);
  border: 1px solid var(--border-default); border-radius: var(--r-sm);
  padding: 14px 14px; margin-bottom: 14px;
}
.address-text { flex: 1; font-size: 0.82rem; font-family: var(--font-mono); color: var(--text-secondary); word-break: break-all; line-height: 1.6; }
.copy-btn {
  padding: 8px 14px; background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: var(--r-xs); color: var(--accent-bright); font-size: 0.74rem;
  font-weight: 700; white-space: nowrap; flex-shrink: 0; transition: all var(--tf);
}
.copy-btn:hover  { background: var(--accent); color: #fff; border-color: var(--accent); }
.copy-btn.copied { background: var(--green); border-color: var(--green); color: #fff; }

.qr-wrap {
  width: 132px; height: 132px; background: #fff;
  border-radius: var(--r-md); padding: 10px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.qr-wrap svg, .qr-wrap canvas { width: 100%; height: 100%; }

/* Order sidebar */
.order-sum-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.88rem; gap: 12px; }
.order-sum-row:last-child { border-bottom: none; }
.order-sum-row span:first-child { color: var(--text-muted); }
.order-sum-row span:last-child  { font-weight: 600; color: var(--text-primary); text-align: right; word-break: break-word; }
.order-sum-row.total span:last-child { font-size: 1.1rem; color: var(--accent-bright); font-family: var(--font-mono); font-weight: 800; }

.countdown-box {
  text-align: center; padding: 22px; background: var(--yellow-dim);
  border: 1px solid rgba(244,185,72,0.3); border-radius: var(--r-md); margin-top: 14px;
}
.countdown-label { font-size: 0.74rem; color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.countdown-time  {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 800;
  color: var(--yellow); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}

/* ---- 26. Alerts ----------------------------------------------------- */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  font-size: 0.88rem; line-height: 1.55;
}
.alert-info    { background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-bright); }
.alert-warning { background: var(--yellow-dim); border: 1px solid rgba(244,185,72,0.3); color: var(--yellow); }
.alert-success { background: var(--green-dim); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.alert-danger  { background: var(--red-dim); border: 1px solid rgba(242,100,100,0.3); color: var(--red); }
.alert .alert-icon { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.alert strong { color: inherit; }

/* ---- 27. Activity feed ---------------------------------------------- */
.activity {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  max-width: 720px; margin: 0 auto;
}
.activity-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md); padding: 14px 18px;
  font-size: 0.88rem;
  animation: slideInLeft 0.4s ease;
}
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.activity-pair { display: flex; align-items: center; gap: 8px; min-width: 130px; font-weight: 600; color: var(--text-primary); }
.activity-amount { color: var(--text-secondary); font-family: var(--font-mono); }
.activity-time   { margin-left: auto; font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.activity-status { font-size: 0.76rem; padding: 3px 10px; border-radius: var(--r-pill); background: var(--green-dim); color: var(--green); font-weight: 700; }

/* ---- 28. Scrollbar -------------------------------------------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page-2); }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-soft); }

/* ---- 29. Reveal animations ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* ---- 30. Utility ---------------------------------------------------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ---- 31. Long content (legal pages) -------------------------------- */
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap h2 { margin: 32px 0 14px; }
.legal-wrap h3 { margin: 24px 0 10px; font-size: 1.1rem; }
.legal-wrap p, .legal-wrap li { font-size: 0.95rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 12px; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin-bottom: 12px; }
.legal-wrap li { list-style-position: outside; }
.legal-wrap ul li { list-style-type: disc; }
.legal-wrap ol li { list-style-type: decimal; }
.legal-wrap .legal-toc { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 32px; }
.legal-wrap .legal-toc h4 { margin-bottom: 12px; color: var(--accent-bright); }
.legal-wrap .legal-toc a { display: block; padding: 6px 0; color: var(--text-secondary); font-size: 0.92rem; }
.legal-wrap .legal-toc a:hover { color: var(--accent-bright); }

/* ---- 32. Contacts page -------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-method {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px; background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md); transition: border-color var(--tf), transform var(--tf);
}
.contact-method:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.contact-method-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright); flex-shrink: 0;
}
.contact-method-name { font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.contact-method-val  { font-size: 0.9rem; color: var(--text-secondary); }

/* ---- 33. About page ------------------------------------------------ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 28px;
}
.value-card .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 8px; }

/* ---- 34. Responsive misc ------------------------------------------- */
@media (max-width: 560px) {
  .widget { padding: 22px; }
  .step-card-form { padding: 24px; }
  .steps-indicator .step-ind-label { display: none; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  .hero-stats { gap: 18px; }
  .hero-stat-num { font-size: 1.35rem; }
}

/* ---- 35. Toast ------------------------------------------------------ */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  font-size: 0.9rem; color: var(--text-primary);
  animation: toastIn 0.4s var(--tspring);
  max-width: 320px;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.toast.toast-success { border-color: var(--green); }
.toast.toast-error   { border-color: var(--red); }

/* ---- Site avatar (operator/founder) -------------------------------- */
.site-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand); overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-family: var(--font-display);
  border: 2px solid rgba(255,255,255,0.08); flex-shrink: 0;
  position: relative; box-shadow: 0 4px 14px rgba(46,134,171,0.25);
}
.site-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-avatar-sm { width: 32px; height: 32px; font-size: 0.78rem; }
.site-avatar-md { width: 56px; height: 56px; font-size: 1.05rem; }
.site-avatar-lg { width: 96px; height: 96px; font-size: 1.6rem; border-width: 3px; }
.site-avatar-xl { width: 144px; height: 144px; font-size: 2.4rem; border-width: 4px; box-shadow: 0 12px 36px rgba(46,134,171,0.35); }

.site-avatar.with-status::after {
  content: ''; position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--bg-page);
  box-shadow: 0 0 0 0 rgba(33,200,145,0.7); animation: pulseGreen 2s infinite;
}
.site-avatar-sm.with-status::after { width: 10px; height: 10px; border-width: 2px; }
.site-avatar-lg.with-status::after { width: 18px; height: 18px; border-width: 3px; right: 4px; bottom: 4px; }
.site-avatar-xl.with-status::after { width: 24px; height: 24px; border-width: 4px; right: 8px; bottom: 8px; }

@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(33,200,145,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(33,200,145,0); }
  100% { box-shadow: 0 0 0 0 rgba(33,200,145,0); }
}

/* Logo-attached operator avatar */
.logo-avatar {
  width: 28px !important; height: 28px !important;
  margin-left: 4px; border-width: 2px !important;
  box-shadow: 0 2px 8px rgba(46,134,171,0.3) !important;
}
.logo-avatar.with-status::after {
  width: 9px !important; height: 9px !important;
  right: -1px !important; bottom: -1px !important;
}
@media (max-width: 480px) { .logo-avatar { display: none !important; } }

/* Header operator pill — auto-injected */
.header-operator {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  text-decoration: none; transition: all var(--tf);
}
.header-operator:hover { border-color: var(--accent-border); background: var(--bg-hover); }
.header-op-text { display: flex; flex-direction: column; line-height: 1.15; }
.header-op-name { font-size: 0.78rem; font-weight: 700; color: var(--text-primary); }
.header-op-status { font-size: 0.66rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 980px) { .header-operator .header-op-text { display: none; } }
@media (max-width: 580px) { .header-operator { display: none; } }

/* Operator card */
.operator-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(46,134,171,0.08), rgba(123,77,255,0.08));
  border: 1px solid var(--accent-border); position: relative; overflow: hidden;
}
.operator-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,209,224,0.15), transparent 65%);
  pointer-events: none;
}
.operator-card-info { flex: 1; min-width: 0; }
.operator-card-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; letter-spacing: -0.01em; }
.operator-card-role { font-size: 0.78rem; color: var(--accent-bright); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.operator-card-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* Inline avatar in review cards — overrides initials */
.review-avatar.with-photo { padding: 0; overflow: hidden; }
.review-avatar.with-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* About page founder hero */
.founder-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--r-xl);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  margin-bottom: 32px; position: relative; overflow: hidden;
}
.founder-hero::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: var(--r-xl); pointer-events: none;
  background: linear-gradient(135deg, rgba(79,209,224,0.4), transparent 50%, rgba(123,77,255,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5;
}
@media (max-width: 720px) {
  .founder-hero { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .founder-hero .site-avatar-xl { margin: 0 auto; width: 120px; height: 120px; }
}

/* ---- Bank logos ---------------------------------------------------- */
.bank-logo {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.86rem;
  letter-spacing: -0.01em; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 6px rgba(0,0,0,0.15);
}
.bank-logo svg { display: block; }
.bank-kaspi   { background: linear-gradient(135deg, #F14635, #FF6B5C); }
.bank-halyk   { background: linear-gradient(135deg, #00B14F, #2FD37A); }
.bank-freedom { background: linear-gradient(135deg, #1E2C5C, #3A5BA8); }
.bank-sber    { background: linear-gradient(135deg, #21A038, #4DD16F); }
.bank-tinkoff { background: linear-gradient(135deg, #FFDD2D, #FFE966); color: #18181B; }
.bank-tinkoff span { font-size: 1.1rem; }
.bank-alfa    { background: linear-gradient(135deg, #EF3124, #FF5E54); }
.bank-swift   { background: linear-gradient(135deg, #1A3A5C, #2E86AB); }
.bank-sepa    { background: linear-gradient(135deg, #003399, #1A57AB); }

/* ---- Admin panel --------------------------------------------------- */
.admin-shell { padding-top: calc(var(--hh) + 32px); padding-bottom: 80px; }
.admin-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 24px;
  align-items: start;
}
@media (max-width: 880px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-side {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 18px;
  position: sticky; top: calc(var(--hh) + 16px);
}
.admin-profile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 8px 18px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 14px;
}
.admin-avatar {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  background: var(--grad-brand); border: 2px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(46,134,171,0.32);
}
.admin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-name { font-weight: 700; font-size: 0.96rem; color: var(--text-primary); }
.admin-role { font-size: 0.74rem; color: var(--accent-bright); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

.admin-tabs { display: flex; flex-direction: column; gap: 2px; }
.admin-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--text-secondary); font-size: 0.92rem; font-weight: 500;
  cursor: pointer; transition: all var(--tf); width: 100%; text-align: left;
}
.admin-tab:hover  { background: var(--bg-hover); color: var(--text-primary); }
.admin-tab.active { background: var(--accent-soft); color: var(--accent-bright); border: 1px solid var(--accent-border); }
.admin-tab svg { flex-shrink: 0; }

.admin-content { min-height: 480px; }
.admin-page-title {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 22px;
}
.admin-page-title h2 { margin: 0; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 880px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 18px 20px; }
.kpi-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; }
.kpi-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
.kpi-meta  { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.wallet-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px;
  align-items: center; padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.wallet-row:last-child { border-bottom: none; }
.wallet-row .cur-icon { width: 44px; height: 44px; }
.wallet-info-name { font-weight: 700; color: var(--text-primary); }
.wallet-info-net  { font-size: 0.78rem; color: var(--text-muted); }
.wallet-addr {
  font-family: var(--font-mono); font-size: 0.84rem;
  color: var(--text-secondary); margin-top: 4px;
  word-break: break-all;
}
.wallet-addr.empty { color: var(--red); font-style: italic; font-family: var(--font); font-size: 0.86rem; }
.wallet-actions { display: flex; gap: 8px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; font-size: 0.86rem; border-bottom: 1px solid var(--border-subtle); }
.admin-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; background: var(--bg-elevated); }
.admin-table tbody tr:hover { background: var(--bg-hover); }
.admin-table .mono { color: var(--text-secondary); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill); font-size: 0.74rem; font-weight: 700;
}
.status-pill.s-waiting   { background: var(--yellow-dim); color: var(--yellow); }
.status-pill.s-detected  { background: var(--accent-soft); color: var(--accent-bright); }
.status-pill.s-confirmed { background: var(--accent-soft); color: var(--accent-bright); }
.status-pill.s-paying    { background: var(--accent-soft); color: var(--accent-bright); }
.status-pill.s-done      { background: var(--green-dim); color: var(--green); }
.status-pill.s-expired,
.status-pill.s-cancelled,
.status-pill.s-error     { background: var(--red-dim); color: var(--red); }

.admin-empty {
  text-align: center; padding: 60px 24px;
  background: var(--bg-card); border: 1px dashed var(--border-default);
  border-radius: var(--r-md); color: var(--text-muted);
}
.admin-empty svg { margin: 0 auto 14px; color: var(--text-muted); opacity: 0.6; }

.admin-login-wrap {
  min-height: calc(100vh - var(--hh) - 80px);
  display: flex; align-items: center; justify-content: center; padding: 40px 16px;
}
.admin-login-card {
  width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-xl);
  position: relative;
}
.admin-login-card::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: var(--r-xl); pointer-events: none;
  background: linear-gradient(135deg, rgba(79,209,224,0.4), transparent 50%, rgba(123,77,255,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6;
}

/* ---- 36. Print-friendly -------------------------------------------- */
@media print {
  .header, .footer, .mobile-menu, .cta-section { display: none !important; }
  body { background: #fff; color: #000; }
}
