/* ============================================================================
   BOOMERANG AI — Design System  ·  "Financial terminal luxe + kinetic return"
   Hand-crafted (no framework) for a distinctive, production-grade aesthetic.
   ========================================================================== */

/* ----- Tokens ------------------------------------------------------------ */
:root {
  /* Surfaces — deep space with a cold blue undertone */
  --bg:        #06080F;
  --bg-2:      #0A0E18;
  --elev:      #0F1421;
  --surface:   #131A2A;
  --surface-2: #182032;
  --line:      #232C40;
  --line-soft: #1A2234;

  /* Ink */
  --text:   #EAEEF8;
  --muted:  #93A0B8;
  --faint:  #5C6880;

  /* Signature — BNB gold, used sharply */
  --gold:      #F3BA2F;
  --gold-hi:   #FBD66B;
  --gold-deep: #C9921A;
  --gold-glow: rgba(243, 186, 47, .22);
  --gold-film: rgba(243, 186, 47, .10);

  /* Semantic */
  --up:    #34E5A4;
  --up-bg: rgba(52, 229, 164, .12);
  --down:  #FF6B6B;
  --down-bg: rgba(255, 107, 107, .12);
  --info:  #5AA9FF;

  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Geometry */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow / depth */
  --shadow:    0 24px 60px -24px rgba(0, 0, 0, .7);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, .6);
  --ring:      0 0 0 1px var(--line);

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: #11130E; }

/* ----- Atmosphere: living aurora + grain + vignette --------------------- */
body::before { /* aurora — large soft blobs that drift and breathe */
  content: "";
  position: fixed; inset: -25%; z-index: -4;
  background:
    radial-gradient(38% 36% at 76% 16%, rgba(243,186,47,.34), transparent 62%),
    radial-gradient(34% 32% at 16% 26%, rgba(90,169,255,.20), transparent 62%),
    radial-gradient(46% 42% at 52% 104%, rgba(52,229,164,.16), transparent 62%),
    radial-gradient(30% 30% at 88% 78%, rgba(243,186,47,.14), transparent 60%);
  filter: blur(34px) saturate(125%);
  animation: aurora 20s ease-in-out infinite alternate;
}
.bg-grid { /* faint perspective dot-grid for "terminal" depth */
  position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
}
.vignette { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  box-shadow: inset 0 0 220px 80px rgba(0,0,0,.55), inset 0 -120px 160px -60px rgba(0,0,0,.6); }
body::after { /* fine grain overlay */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes aurora {
  0%   { transform: translate3d(-3%,-2%,0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(4%,3%,0) scale(1.12) rotate(4deg); }
  100% { transform: translate3d(-2%,4%,0) scale(1.06) rotate(-3deg); }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ----- Layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ----- Typography -------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; color: #fff; }
.display { font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 1.03; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.06; }
h3 { font-size: 1.4rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.grad-gold {
  background: linear-gradient(100deg, #fff 0%, var(--gold-hi) 30%, var(--gold) 55%, var(--gold-deep) 85%, var(--gold-hi));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* ----- Boomerang mark ---------------------------------------------------- */
.bmrg-mark { width: 1em; height: 1em; overflow: visible; }
.bmrg-mark path { filter: drop-shadow(0 2px 10px var(--gold-glow)); }
.bmrg-mark.spin path { animation: arc 4.6s var(--ease) infinite; transform-origin: 50% 55%; }
@keyframes arc {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-3px); }
}
.bmrg-draw path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.4s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ----- Top navigation ---------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(6,8,15,.86), rgba(6,8,15,.55));
  border-bottom: 1px solid var(--line-soft);
}
.nav--scrolled { box-shadow: 0 10px 34px -18px rgba(0,0,0,.85); border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand .bmrg-mark { font-size: 26px; }
.brand b { color: var(--gold); font-weight: 700; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  font-size: .92rem; color: var(--muted); padding: 8px 14px; border-radius: 99px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav__links a.active { color: var(--gold); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang {
  display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
}
.lang a { padding: 5px 10px; border-radius: 99px; color: var(--faint); transition: .2s; }
.lang a.on { background: var(--gold); color: #11130E; font-weight: 600; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 99px; font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; transition: transform .18s var(--ease), box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #14160E; box-shadow: 0 10px 30px -10px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--gold:hover { box-shadow: 0 16px 40px -12px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--danger { border: 1px solid rgba(255,107,107,.4); color: var(--down); background: var(--down-bg); }
.btn--danger:hover { background: rgba(255,107,107,.2); }
.btn--sm { padding: 8px 15px; font-size: .85rem; }

/* ----- Cards / panels ---------------------------------------------------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--elev));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.card--glow::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.card__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* ----- Stat tile --------------------------------------------------------- */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .v { font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.stat .v.mono { font-family: var(--font-mono); font-weight: 500; }

/* ----- Badges / pills ---------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em; padding: 5px 11px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface);
}
.pill--up { color: var(--up); border-color: rgba(52,229,164,.3); background: var(--up-bg); }
.pill--down { color: var(--down); border-color: rgba(255,107,107,.3); background: var(--down-bg); }
.pill--gold { color: var(--gold); border-color: rgba(243,186,47,.35); background: var(--gold-film); }
.dot { width: 7px; height: 7px; border-radius: 99px; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* ----- Table ------------------------------------------------------------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); }
.tbl tr:hover td { background: rgba(255,255,255,.018); }

/* ----- Inputs / toggle --------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; color: var(--muted); }
.input, .select {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  padding: 12px 14px; border-radius: var(--r-sm); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-film); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2); }
.seg button { padding: 9px 16px; border-radius: 99px; font-size: .88rem; color: var(--muted); transition: .2s; }
.seg button.on { background: var(--gold); color: #14160E; font-weight: 600; }

/* ----- Grid helpers ------------------------------------------------------ */
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.swatch { height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 8px; font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.85); }

/* ----- Glass panel ------------------------------------------------------- */
.glass {
  background: linear-gradient(180deg, rgba(20,27,44,.72), rgba(11,15,25,.62));
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
}

/* Gold button sheen */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-130%);
}
.btn--gold:hover::after { animation: sheen .85s var(--ease); }
@keyframes sheen { to { transform: translateX(130%); } }

/* ----- Hero kinetic boomerang ------------------------------------------- */
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
/* Hero: container mais largo + coluna de texto maior (título respira em menos linhas) */
.hero { max-width: 1300px; grid-template-columns: 1.42fr .88fr; gap: 40px; }
.hero .lead { max-width: 52ch; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 400px; }
.hero-glow {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 64%);
  filter: blur(24px); animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.hero-stats > div { display: flex; flex-direction: column; gap: 3px; }
.hs-v { font-size: 1.5rem; font-weight: 600; line-height: 1; }
.hs-l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.hero-card { position: absolute; bottom: 4%; left: -4%; padding: 18px 20px; min-width: 230px; }
.stat-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.hero-eq { font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; }

.hero-bmrg { width: min(82%, 330px); height: auto; }
.hero-bmrg .wing { transform-origin: 100px 108px; animation: heroSpin 6.5s var(--ease) infinite; }
.hero-bmrg .wing path { filter: drop-shadow(0 6px 26px var(--gold-glow)); }
@keyframes heroSpin { 0%,100% { transform: rotate(-16deg); } 50% { transform: rotate(13deg) translateY(-4px); } }
.hero-bmrg .trail { stroke-dasharray: 240; stroke-dashoffset: 240; animation: drawTrail 2.4s var(--ease) .3s forwards; }
@keyframes drawTrail { to { stroke-dashoffset: 0; } }
.orbit { position: absolute; width: 300px; height: 300px; border: 1px solid var(--line); border-radius: 50%; opacity: .5; animation: spin 16s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); transform: translateX(-50%); }
.orbit--2 { width: 210px; height: 210px; opacity: .32; animation-duration: 10s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .hero-bmrg { width: 240px; } .orbit { display: none; } .hero-glow { width: 300px; height: 300px; }
  .hero-stage { min-height: 320px; }
  .hero-card { position: static; left: 0; margin-top: 18px; width: 100%; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
}

/* ----- Landing sections -------------------------------------------------- */
.sec-head { max-width: 760px; }
.sec-head h2 { margin: 14px 0 16px; }
.narrate .lead { font-size: clamp(1.15rem, 2.1vw, 1.55rem); color: var(--text); line-height: 1.45; max-width: 24ch; }
.narrate .body { color: var(--muted); max-width: 56ch; font-size: 1.06rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead, .center .body { margin-inline: auto; }

.shield { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.shield .num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.shield .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.shield .body { color: var(--muted); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.spon { padding: 32px 28px; position: relative; overflow: hidden; text-align: center; transition: transform .22s var(--ease), border-color .22s; }
.spon::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent, var(--gold)); }
.spon:hover { transform: translateY(-5px); border-color: var(--accent, var(--gold)); }
.spon-logo { width: 44px; height: 44px; display: block; margin: 0 auto 20px; filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--accent, #ffffff) 45%, transparent)); }
.spon .body { margin-inline: auto; max-width: 30ch; }
.spon .name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.spon .role { color: var(--accent, var(--gold)); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; display: block; }
.spon .body { color: var(--muted); margin-top: 8px; }

.proof-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.proof-row .kv { flex: 1 1 240px; }
.proof-row .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.proof-row .val { font-family: var(--font-mono); font-size: .88rem; color: var(--text); margin-top: 5px; word-break: break-all; }
.proof-row .val a { color: var(--info); }

/* ----- Docs -------------------------------------------------------------- */
.docs { display: grid; grid-template-columns: 232px 1fr; gap: 48px; align-items: start; padding-block: clamp(32px, 5vw, 56px); }
.docs-side { position: sticky; top: 88px; align-self: start; }
.docs-side .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 0 12px 10px; }
.docs-side a { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); font-size: .92rem; border-left: 2px solid transparent; transition: .15s; }
.docs-side a:hover { color: var(--text); background: rgba(255,255,255,.03); }
.docs-side a.active { color: var(--gold); border-left-color: var(--gold); }

.docs-body { max-width: 760px; }
.docs-body section { padding-block: 14px 40px; scroll-margin-top: 88px; border-bottom: 1px solid var(--line-soft); }
.docs-body section:last-child { border-bottom: none; }
.docs-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 8px; }
.docs-body .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.docs-body h3 { font-size: 1.2rem; margin: 26px 0 10px; color: #fff; }
.docs-body p { color: var(--muted); margin: 12px 0; line-height: 1.7; }
.docs-body strong { color: var(--text); font-weight: 600; }
.docs-body ul, .docs-body ol { color: var(--muted); margin: 12px 0; padding-left: 22px; line-height: 1.7; }
.docs-body li { margin: 6px 0; }
.docs-body a:not(.btn) { color: var(--info); }
.docs-body a:not(.btn):hover { text-decoration: underline; }
.docs-body code { font-family: var(--font-mono); font-size: .86em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--gold-hi); }

.codeblock { background: #04060c; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 14px 0; overflow-x: auto; }
.codeblock code { background: none; border: none; padding: 0; color: #cfe3ff; font-size: .85rem; line-height: 1.7; white-space: pre; }

.step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; margin: 18px 0; }
.step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #14160E; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.step .st-body { padding-top: 3px; }
.step .st-body p:first-child { margin-top: 0; }

.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); margin: 16px 0; border: 1px solid var(--line); background: var(--surface); }
.callout .ico { font-size: 18px; line-height: 1.4; }
.callout p { margin: 0; color: var(--muted); font-size: .94rem; }
.callout--warn { border-color: rgba(243,186,47,.4); background: var(--gold-film); }
.callout--info { border-color: rgba(90,169,255,.35); background: rgba(90,169,255,.08); }
.callout--ok { border-color: rgba(52,229,164,.35); background: var(--up-bg); }

@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; gap: 20px; }
  .docs-side { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .docs-side .lbl { display: none; }
  .docs-side a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .docs-side a.active { border-left: none; border-bottom-color: var(--gold); }
}

/* ----- Guides (onboarding tour) ----------------------------------------- */
.tour { margin-top: 36px; }
.tour-step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 26px; position: relative; }
.tour-step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: -2px; width: 2px; background: linear-gradient(var(--gold), transparent); opacity: .55; }
.tour-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: #14160E; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 10px 26px -10px var(--gold-glow); }
.tour-card { background: linear-gradient(180deg, var(--surface), var(--elev)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.tour-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.tour-card p { color: var(--muted); margin: 0; }
.cmd { font-family: var(--font-mono); font-size: .82rem; color: var(--gold-hi); background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; display: inline-block; margin-top: 10px; }

.tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.tip .ti { font-size: 26px; }
.tip h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin: 10px 0 6px; }
.tip p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 620px) { .tips { grid-template-columns: 1fr; } }

/* Golden tips laid out beside the Telegram control-panel GIF */
.tips-media { display: flex; gap: 22px; align-items: stretch; margin-top: 26px; }
.tips-media .tg-shot { flex: 0 0 250px; margin: 0; align-self: center; text-align: center; }
.tips-media .tg-shot img { width: 100%; max-width: 250px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(0, 0, 0, .5); display: block; }
.tips-media .tg-shot figcaption { color: var(--muted); font-size: .78rem; margin-top: 10px; }
.tips-media .tips { margin-top: 0; flex: 1 1 auto; grid-template-rows: 1fr 1fr; }
.tips-media .tips .tip { padding: 15px 16px; display: flex; flex-direction: column; justify-content: center; }
.tips-media .tips .tip .ti { font-size: 22px; }
.tips-media .tips .tip h4 { font-size: 1rem; margin: 7px 0 5px; }
.tips-media .tips .tip p { font-size: .86rem; }
@media (max-width: 860px) {
  .tips-media { flex-direction: column; }
  .tips-media .tg-shot { align-self: center; flex-basis: auto; }
  .tips-media .tips { grid-template-rows: none; }
}

/* ----- Color utilities --------------------------------------------------- */
.pos { color: var(--up); } .neg { color: var(--down); } .mut { color: var(--faint); }

/* ----- Footer ------------------------------------------------------------ */
.foot { border-top: 1px solid var(--line-soft); padding-block: 40px; margin-top: 40px; color: var(--faint); font-size: .85rem; }
.foot a { color: var(--muted); } .foot a:hover { color: var(--gold); }

/* ----- Reveal on load ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; } .d6 { animation-delay: .55s; }

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .wrap { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
