/* =========================================================
   SGFX Society — main stylesheet
   Change the colours in :root to re-brand the whole site.
   ========================================================= */
:root {
  --bg: #0b0f14;
  --bg-alt: #10161d;
  --surface: #151c25;
  --border: #233040;
  --text: #e8eef5;
  --muted: #8b9bb0;
  --accent: #16c784;      /* main green */
  --accent-2: #f5c451;    /* gold */
  --danger: #ea3943;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8rem; }
.accent { color: var(--accent); }

.container { width: min(1160px, 92%); margin: 0 auto; }
.container--narrow { width: min(780px, 92%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #04140c;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(22, 199, 132, .3); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.pill {
  display: inline-block;
  padding: .3rem .85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(22, 199, 132, .35);
  background: rgba(22, 199, 132, .08);
  color: var(--accent);
  border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 600; font-size: 1.15rem; }
.logo b { color: var(--accent); font-weight: 800; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); transition: .2s; }

/* ---------- hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(600px 300px at 80% 10%, rgba(22, 199, 132, .15), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(245, 196, 81, .08), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.15rem; max-width: 34rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.hero__checks li { color: var(--muted); font-size: .92rem; }
.hero__checks li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chart-card__head, .chart-card__foot {
  display: flex; align-items: center; gap: .5rem;
  padding: .8rem 1rem; color: var(--muted);
}
.chart-card__head { border-bottom: 1px solid var(--border); }
.chart-card__head .mono { margin-left: .5rem; }
.chart-card__foot { justify-content: space-between; border-top: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.chart { padding: 1rem; }
.chart .grid line { stroke: var(--border); stroke-dasharray: 4 6; }
.chart__line { stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 2.2s ease forwards .3s; }
.marker { stroke: var(--bg); stroke-width: 2; }
.marker--buy { fill: var(--accent); }
.marker--sell { fill: var(--danger); }
.ok { color: var(--accent); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.strip__inner {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem 2rem;
  padding: 1.2rem 0; color: var(--muted); font-weight: 600; font-size: .9rem;
}

/* ---------- sections ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(22, 199, 132, .5); }
.card--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.card__tag {
  align-self: flex-start;
  padding: .2rem .7rem; margin-bottom: 1rem;
  border-radius: 6px;
  background: rgba(245, 196, 81, .12); color: var(--accent-2);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.specs { list-style: none; padding: 0; margin: .5rem 0 1.5rem; }
.specs li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--border); font-size: .9rem;
}
.specs span { color: var(--muted); }
.specs b { text-align: right; font-weight: 600; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.8rem; font-weight: 800; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  margin-bottom: 1rem; border-radius: 12px;
  background: rgba(22, 199, 132, .1); font-size: 1.4rem;
}
.feature p { margin: 0; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.steps__n {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--accent); color: #04140c; font-weight: 800;
}
.steps p { margin: 0; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.2rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); transform: scale(1.03); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: .25rem .9rem; border-radius: 999px;
  background: var(--accent); color: #04140c; font-size: .75rem; font-weight: 800; white-space: nowrap;
}
.plan__price { font-size: 2.6rem; font-weight: 800; margin-bottom: 1.2rem; }
.plan__price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.plan li { padding: .45rem 0; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .6rem; }

/* ---------- verified results ---------- */
.verify {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 2.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(22, 199, 132, .08), transparent 60%), var(--surface);
}
.verify > div:first-child { max-width: 560px; }
.verify p { margin: 0; }
.verify__links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq details {
  margin-bottom: .8rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.3rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(22, 199, 132, .35);
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(22, 199, 132, .2), transparent 70%),
    var(--surface);
}
.cta__buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- footer ---------- */
.footer { padding: 3rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { color: var(--muted); font-size: .9rem; }
.footer__links a:hover { color: var(--text); }
.footer__risk {
  padding: 1.2rem; border-radius: 12px;
  border: 1px solid rgba(234, 57, 67, .3); background: rgba(234, 57, 67, .06);
  font-size: .82rem;
}
.footer__risk b { color: var(--text); }
.footer__copy { font-size: .85rem; margin: 1.5rem 0 0; text-align: center; }

/* ---------- hero with photo (images/hero.jpg) ---------- */
.hero--photo {
  padding: 7rem 0 6rem;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, .55) 0%, rgba(11, 15, 20, .85) 70%, var(--bg) 100%),
    radial-gradient(600px 300px at 80% 10%, rgba(22, 199, 132, .2), transparent 70%),
    url("../images/hero.jpg") center / cover no-repeat,
    var(--bg);
}
.hero__center { text-align: center; max-width: 820px; }
.hero__center h1 { font-size: clamp(3rem, 9vw, 5.5rem); }
.hero__center .lead { margin: 0 auto; max-width: 40rem; color: #c7d2de; }
.hero__center .hero__cta, .hero__center .hero__checks { justify-content: center; }

.section--tight { padding: 4rem 0; }
.center { text-align: center; margin-top: 2.5rem; }
.warn { color: var(--accent-2); font-weight: 600; font-size: .95rem; }

/* ---------- disclaimer accordion ---------- */
.disclaimer { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.disclaimer details { border-bottom: 1px solid var(--border); }
.disclaimer details:last-child { border-bottom: 0; }
.disclaimer summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.3rem; font-weight: 600;
}
.disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; transition: transform .2s; }
.disclaimer details[open] summary::after { transform: rotate(45deg); }
.disclaimer p { padding: 0 1.3rem 1.1rem; margin: 0; font-size: .95rem; }

/* ---------- "please read" note ---------- */
.note-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 196, 81, .35);
  background: rgba(245, 196, 81, .06);
}
.note-card h3 { color: var(--accent-2); }
.note-card p { margin: 0; color: #c7d2de; }
.note-card b { color: var(--text); }

/* ---------- product extras ---------- */
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.card__top .card__tag { margin: 0; }
.status { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.status--open { background: rgba(22, 199, 132, .15); color: var(--accent); }
.status--full { background: rgba(234, 57, 67, .15); color: #ff6b74; }
.perks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.perks li { padding: .3rem 0; color: var(--muted); font-size: .9rem; }
.perks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .5rem; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- performance screenshots ---------- */
.perf { display: grid; gap: 1.5rem; }
.perf__shot {
  margin: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.perf__shot img { width: 100%; height: auto; }
.perf__shot figcaption { display: none; }
.perf__shot.is-empty img { display: none; }
.perf__shot.is-empty figcaption {
  display: grid; place-items: center; min-height: 220px;
  color: var(--muted); font-family: var(--mono); font-size: .85rem;
  border: 2px dashed var(--border); border-radius: var(--radius); margin: 1rem;
}

/* ---------- risk disclaimer popup ---------- */
.gate-overlay { display: none; }
.gate body { overflow: hidden; }
.gate .nav, .gate main, .gate .footer { filter: blur(10px); pointer-events: none; user-select: none; }
.gate .gate-overlay {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 1000;
  padding: 1rem;
  background: rgba(5, 8, 12, .6);
}
.gate-box {
  width: min(620px, 100%);
  max-height: calc(100vh - 2rem);
  display: flex; flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: gateIn .35s ease;
}
@keyframes gateIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.gate-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.gate-head svg { flex: none; }
.gate-head h2 { font-size: 1.5rem; margin: 0 0 .2rem; }
.gate-head p { margin: 0; font-size: .92rem; }
.gate-body {
  overflow-y: auto;
  padding: 1.2rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg);
  font-size: .9rem;
}
.gate-body p { margin: 0 0 .9rem; }
.gate-body p:last-child { margin: 0; }
.gate-body ul { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--muted); }
.gate-body li { margin-bottom: .55rem; }
.gate-body b { color: var(--text); }
.gate-check {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 1.2rem 0; cursor: pointer;
  font-size: .9rem; color: var(--text);
}
.gate-check input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--accent); cursor: pointer; }
.gate-actions { display: flex; gap: .8rem; justify-content: flex-end; flex-wrap: wrap; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 520px) {
  .gate-box { padding: 1.4rem; }
  .gate-actions .btn { flex: 1; }
}

/* =========================================================
   TRADING LOOK: blurred background, glass panels, live widgets
   ========================================================= */
:root { --glass: rgba(16, 22, 30, .62); --glass-border: rgba(120, 160, 200, .14); }

/* Blurred picture behind the whole site.
   Add images/bg.jpg (e.g. a trading desk photo) to use your own picture. */
.bg-photo {
  position: fixed; inset: -40px; z-index: -2;
  background:
    url("../images/bg.jpg") center / cover no-repeat,
    url("../images/bg-chart.svg") center / cover no-repeat,
    #070b10;
  filter: blur(7px) brightness(1.05) saturate(1.2);
  transform: scale(1.04);
}
.bg-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(5, 8, 12, .6) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, .15), rgba(5, 8, 12, .4));
}
body { background: #070b10; }

/* Snow */
#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

/* Glass surfaces */
.card, .feature, .plan, .steps li, .disclaimer, .faq details, .note-card, .cta, .verify, .perf__shot, .glass {
  background: var(--glass);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.glass { border: 1px solid var(--glass-border); border-radius: var(--radius); }
.card--featured, .plan--featured { border-color: var(--accent); }
.note-card { border-color: rgba(245, 196, 81, .35); background: linear-gradient(135deg, rgba(245, 196, 81, .08), transparent 60%), var(--glass); }
.cta { background: radial-gradient(500px 200px at 50% 0%, rgba(22, 199, 132, .18), transparent 70%), var(--glass); border-color: rgba(22, 199, 132, .35); }
.section--alt { background: rgba(7, 11, 16, .45); border-block: 1px solid rgba(120, 160, 200, .06); }
.footer { background: rgba(7, 11, 16, .85); }
.gate-box { background: #121922; }

/* Ticker tape under the nav */
.ticker { height: 46px; overflow: hidden; border-top: 1px solid var(--border); }
.ticker .tradingview-widget-container { height: 46px; }

/* Hero */
.hero { padding: 4.5rem 0 3rem; background: none; }
.hero__copy h1 { font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -.03em; }
.hero__copy .lead { color: #c3cfdb; }
.hero__chart { min-width: 0; }
.terminal {
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: rgba(10, 14, 19, .9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(22, 199, 132, .08);
  overflow: hidden;
}
.terminal__head { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.terminal__head .mono { margin-left: .5rem; }
.terminal__body { height: 400px; }
.terminal__body .tradingview-widget-container,
.terminal__body .tradingview-widget-container__widget { height: 100%; width: 100%; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(22, 199, 132, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 199, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 199, 132, 0); } }
.attrib { font-size: .75rem; margin: .5rem 0 0; text-align: right; }
.attrib a { color: var(--muted); }

/* Stats + sessions */
.stats { padding: 0 0 4rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid var(--glass-border); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--text); }
.stat span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.sessions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin-top: 1rem; padding: .9rem 1.4rem; }
.sessions__title { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.session { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.session i { width: 8px; height: 8px; border-radius: 50%; background: #45525f; }
.session.is-open { color: var(--text); }
.session.is-open i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sessions__clock { margin-left: auto; color: var(--muted); }

/* =========================================================
   CHRISTMAS + PRODUCT EXTRAS
   ========================================================= */

/* Sold-out products: dimmed */
.card--soldout { opacity: .5; filter: grayscale(.7); transition: opacity .3s, filter .3s, transform .2s; }
.card--soldout:hover { opacity: .8; filter: grayscale(.3); }
.js .card--soldout.reveal.is-visible { opacity: .5; }
.js .card--soldout.reveal.is-visible:hover { opacity: .8; }

/* Featured EA with Santa hat + sale price */
.card--xmas { overflow: visible; }
.santa-hat {
  position: absolute; top: -40px; left: -26px; width: 92px; height: auto;
  transform: rotate(-24deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
  pointer-events: none; z-index: 2;
}
.status--sale { background: rgba(214, 40, 57, .2); color: #ff6b74; animation: salePulse 2s ease-in-out infinite; }
@keyframes salePulse { 50% { background: rgba(214, 40, 57, .38); } }
.price-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.price-old { color: var(--muted); font-size: 1rem; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: #ff6b74; }
.price--sale { color: var(--accent); }

/* String of lights under the menu */
.garland {
  position: absolute; left: 0; right: 0; top: 100%;
  height: 22px; display: flex; justify-content: space-between;
  padding: 0 10px; pointer-events: none; overflow: hidden;
}
.garland::before {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='14'%3E%3Cpath d='M0 2 Q23 14 46 2' stroke='%23324152' stroke-width='2' fill='none'/%3E%3C/svg%3E") repeat-x;
}
.bulb {
  position: relative; top: 3px;
  width: 8px; height: 13px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  animation: twinkle 1.6s ease-in-out infinite;
}
.bulb::before { content: ""; position: absolute; top: -3px; left: 1px; width: 6px; height: 4px; background: #4a5663; border-radius: 1px; }
.bulb--r { background: #ff4d5e; --glow: #ff4d5e; }
.bulb--g { background: #2ee58f; --glow: #2ee58f; }
.bulb--y { background: #ffd35c; --glow: #ffd35c; }
.bulb--b { background: #4db2ff; --glow: #4db2ff; }
@keyframes twinkle {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px 2px var(--glow); }
  50% { opacity: .35; box-shadow: 0 0 0 0 transparent; }
}

/* Christmas trees in the background corners */
.xmas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.xmas-tree { position: absolute; bottom: -8px; width: 230px; height: auto; opacity: .9; filter: drop-shadow(0 0 30px rgba(22, 199, 132, .15)); }
.xmas-tree--left { left: 1%; }
.xmas-tree--right { right: 1%; width: 190px; }
.xmas-star { fill: #ffd35c; filter: drop-shadow(0 0 8px #ffd35c); animation: starGlow 2.4s ease-in-out infinite; transform-origin: 100px 28px; }
@keyframes starGlow { 50% { opacity: .65; transform: scale(.9); } }
.tw { animation: twinkle 1.8s ease-in-out infinite; }
.tw--r { fill: #ff4d5e; --glow: #ff4d5e; }
.tw--g { fill: #2ee58f; --glow: #2ee58f; animation-delay: .45s; }
.tw--y { fill: #ffd35c; --glow: #ffd35c; animation-delay: .9s; }
.tw--b { fill: #4db2ff; --glow: #4db2ff; animation-delay: 1.35s; }
.tw { filter: drop-shadow(0 0 4px var(--glow)); }

/* Live support floating button */
.support-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.2rem .8rem 1rem;
  border-radius: 999px;
  background: #229ed9; color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(34, 158, 217, .45);
  transition: transform .15s, box-shadow .15s;
}
.support-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(34, 158, 217, .6); }
.support-fab::after {
  content: ""; position: absolute; top: 6px; right: 8px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); border: 2px solid #229ed9;
}
.gate .support-fab { display: none; }
.gate .xmas { filter: blur(8px); }

@media (max-width: 760px) {
  .xmas-tree { width: 120px; opacity: .55; }
  .xmas-tree--right { width: 100px; }
  .support-fab span { display: none; }
  .support-fab { padding: .9rem; }
  .santa-hat { width: 74px; top: -32px; left: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bulb, .tw, .xmas-star, .status--sale { animation: none; }
}

/* Market news */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.news__panel { display: flex; flex-direction: column; overflow: hidden; }
.news__head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--glass-border); }
.news__head h3 { margin: 0; font-size: 1.05rem; }
.news__head .live { margin-left: 0; }
.news__body { height: 520px; }
.news__body .tradingview-widget-container,
.news__body .tradingview-widget-container__widget { height: 100%; width: 100%; }
.impact { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--danger); box-shadow: 0 0 10px rgba(234, 57, 67, .6); flex: none; }

.keydates { margin-top: 1.5rem; overflow: hidden; }
.keydates .attrib { padding: 0 1.3rem 1rem; text-align: left; }
.kd {
  display: grid; grid-template-columns: 1.3fr .6fr .6fr 3fr .6fr; gap: 1rem; align-items: center;
  padding: .85rem 1.3rem; border-bottom: 1px solid var(--glass-border); font-size: .92rem;
}
.kd--head { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: rgba(0, 0, 0, .2); }
.kd--next { background: linear-gradient(90deg, rgba(22, 199, 132, .12), transparent 70%); }
.kd__date { font-weight: 600; }
.kd__time { color: var(--muted); }
.kd__event { color: var(--text); }
.kd__count { font-style: normal; margin-left: .5rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(22, 199, 132, .15); color: var(--accent); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.ccy { display: inline-block; padding: .15rem .5rem; border-radius: 6px; background: rgba(245, 196, 81, .12); color: var(--accent-2); font-size: .78rem; font-family: var(--mono); }
.impact-label { display: inline-flex; align-items: center; gap: .45rem; color: #ff6b74; font-weight: 700; font-size: .82rem; }
.keydates__empty { padding: 1.3rem; margin: 0; }

@media (max-width: 960px) {
  .news { grid-template-columns: 1fr; }
  .news__body { height: 460px; }
  .terminal__body { height: 340px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--glass-border); }
}
@media (max-width: 760px) {
  .hero { padding: 3rem 0 2rem; }
  .terminal__body { height: 300px; }
  .sessions__clock { margin-left: 0; width: 100%; }
  .kd { grid-template-columns: 1fr auto; gap: .3rem .8rem; }
  .kd--head { display: none; }
  .kd__event { grid-column: 1 / -1; }
  .kd .impact-label { display: none; }
}

/* ---------- legal / simple pages ---------- */
.page { padding: 4rem 0 6rem; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page h2 { font-size: 1.5rem; margin-top: 2.5rem; padding-top: 1rem; }
.page p, .page li { color: var(--muted); }
.page .note { padding: 1rem 1.2rem; border-left: 3px solid var(--accent-2); background: var(--surface); border-radius: 8px; }

/* ---------- scroll reveal ---------- */
/* only hidden when JavaScript is running (html.js), so the page never stays blank */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chart__line { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cards, .features, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 4%;
    background: var(--bg); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: .8rem 0; }
  .nav__links .btn { margin-top: .5rem; }
  .cards, .features, .plans, .steps { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .verify { padding: 2rem 1.5rem; }
}
