/* ============================================================
   Seamora — 3D MOTION STYLE (Oct 19, 2026)
   Premium dark theme · glassmorphism · CSS 3D · motion design
   Pure CSS animations + minimal vanilla JS. No heavy libraries.
   ============================================================ */
:root {
  --bg0: #070b16;
  --bg1: #0c1428;
  --primary: #00e676;
  --primary-dark: #00a152;
  --primary-glow: rgba(0, 230, 118, .35);
  --accent: #ffc531;
  --accent-glow: rgba(255, 197, 49, .35);
  --live: #ff4d5e;
  --text: #eef2ff;
  --muted: #9aa4c7;
  --faint: #6b7599;
  --glass: rgba(255, 255, 255, .045);
  --glass-strong: rgba(255, 255, 255, .08);
  --stroke: rgba(255, 255, 255, .12);
  --stroke-soft: rgba(255, 255, 255, .07);
  --radius: 18px;
  --shadow-3d: 0 1px 0 rgba(255,255,255,.08) inset,
               0 20px 40px -12px rgba(0,0,0,.65),
               0 8px 16px -8px rgba(0,0,0,.5);
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(0, 230, 118, .09), transparent 60%),
    radial-gradient(1000px 700px at 10% 10%, rgba(255, 197, 49, .07), transparent 60%),
    radial-gradient(900px 900px at 50% 110%, rgba(90, 80, 255, .10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 60%, var(--bg0));
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- ambient layers injected by JS ---------- */
#bg-particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .7; }
.orb { position: fixed; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; opacity: .5; }
.orb-a { width: 420px; height: 420px; top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(0,230,118,.35), transparent 70%);
  animation: orbFloat 14s ease-in-out infinite; }
.orb-b { width: 360px; height: 360px; bottom: 5%; left: -140px;
  background: radial-gradient(circle, rgba(255,197,49,.28), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite reverse; }
.orb-c { width: 300px; height: 300px; top: 45%; left: 55%;
  background: radial-gradient(circle, rgba(120,100,255,.30), transparent 70%);
  animation: orbFloat 22s ease-in-out infinite; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.12); }
}

/* keep real content above ambient layers */
.site-header, .hero, .ticker, .container, .site-footer { position: relative; z-index: 1; }

/* ============================================================
   HEADER — glassmorphism, shrinks on scroll
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 22, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--stroke-soft);
  transition: box-shadow .35s ease, background .35s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 22, .82);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0,230,118,.06);
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  transition: padding .35s ease;
}
.site-header.scrolled .header-inner { padding: 9px 22px; }
.logo a {
  color: #fff; text-decoration: none; font-size: 1.65rem; font-weight: 800;
  letter-spacing: .3px; display: inline-block;
  transform: perspective(600px);
  transition: transform .3s ease;
}
.logo a:hover { transform: perspective(600px) rotateX(6deg) translateY(-1px); }
.logo a span {
  background: linear-gradient(120deg, var(--accent), #ff9d3c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { font-size: .78rem; opacity: .75; font-weight: 400; display: block; color: var(--muted); letter-spacing: .4px; }
nav ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  color: var(--text); text-decoration: none; padding: 9px 16px; border-radius: 12px;
  font-weight: 600; font-size: .94rem; position: relative;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
}
nav a:hover {
  background: var(--glass-strong); border-color: var(--stroke);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(0,230,118,.35);
}
nav a.active {
  background: linear-gradient(135deg, rgba(0,230,118,.22), rgba(0,230,118,.08));
  border-color: rgba(0,230,118,.35); color: #fff;
  box-shadow: 0 6px 18px -8px var(--primary-glow), 0 1px 0 rgba(255,255,255,.15) inset;
}

/* ============================================================
   HERO — 3D scene, floating cricket elements + mouse parallax
   ============================================================ */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 110px 20px 90px;
  perspective: 1200px;
}
.hero-scene { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
.float-el { position: absolute; transform-style: preserve-3d; will-change: transform; }

/* 3D cricket ball — layered radial gradients + seam */
.ball {
  width: 110px; height: 110px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(circle at 50% 55%, #e05252 0%, #b03030 45%, #6e1414 100%);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.7), 0 0 44px rgba(255,90,90,.25),
              inset -10px -14px 30px rgba(0,0,0,.45);
  top: 16%; left: 8%;
  animation: floatY 7s ease-in-out infinite;
}
.ball::after { /* seam */
  content: ""; position: absolute; inset: 9%;
  border-radius: 50%;
  border: 3px dashed rgba(255,255,255,.75);
  border-top-color: transparent; border-bottom-color: transparent;
  transform: rotate(24deg);
}
.ball-sm {
  width: 56px; height: 56px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.5), transparent 42%),
    radial-gradient(circle at 50% 55%, #e05252 0%, #a02a2a 55%, #5e1010 100%);
  box-shadow: 0 16px 34px -10px rgba(0,0,0,.7), 0 0 30px rgba(255,90,90,.2),
              inset -6px -8px 18px rgba(0,0,0,.45);
  bottom: 14%; right: 10%;
  animation: floatY 9s ease-in-out infinite reverse;
}
/* glowing ring */
.ring {
  width: 150px; height: 150px; border-radius: 50%;
  border: 10px solid transparent;
  border-top-color: var(--primary); border-right-color: rgba(0,230,118,.35);
  filter: drop-shadow(0 0 18px var(--primary-glow));
  top: 12%; right: 14%;
  animation: spinRing 16s linear infinite, floatY 8s ease-in-out infinite;
}
@keyframes spinRing { to { transform: rotate(360deg); } }
/* trophy */
.trophy {
  font-size: 84px; bottom: 10%; left: 12%;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)) drop-shadow(0 0 26px var(--accent-glow));
  animation: floatY 6.5s ease-in-out infinite, trophyTilt 9s ease-in-out infinite;
}
@keyframes trophyTilt { 0%,100% { rotate: -8deg; } 50% { rotate: 8deg; } }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -26px; } }

.hero-content { position: relative; transform-style: preserve-3d; animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateZ(-120px) translateY(36px); }
  to { opacity: 1; transform: translateZ(0) translateY(0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 900; letter-spacing: -.5px;
  line-height: 1.15; margin-bottom: 14px;
  background: linear-gradient(115deg, #fff 30%, var(--primary) 62%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0,230,118,.18));
}
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 660px; margin: 0 auto; }

/* 3D buttons */
.cta, .refresh-btn, .ext-links a, .contact-form button {
  --btn1: var(--accent); --btn2: #ff9d3c;
  display: inline-block; margin-top: 24px; color: #221a05;
  background: linear-gradient(135deg, var(--btn1), var(--btn2));
  padding: 14px 36px; border-radius: 16px; text-decoration: none; font-weight: 800;
  font-size: 1.02rem; border: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset,
              0 -3px 0 rgba(0,0,0,.18) inset,
              0 14px 30px -8px var(--accent-glow),
              0 6px 14px -6px rgba(0,0,0,.5);
  transform: perspective(600px) translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.cta:hover, .refresh-btn:hover, .ext-links a:hover, .contact-form button:hover {
  transform: perspective(600px) translateZ(14px) translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset,
              0 -3px 0 rgba(0,0,0,.18) inset,
              0 22px 44px -10px var(--accent-glow),
              0 10px 20px -8px rgba(0,0,0,.5);
}
.cta:active, .refresh-btn:active, .ext-links a:active, .contact-form button:active {
  transform: perspective(600px) translateZ(0) translateY(2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset,
              0 4px 10px -6px rgba(0,0,0,.6);
}
.refresh-btn { --btn1: var(--primary); --btn2: #00b359; color: #04120a;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -3px 0 rgba(0,0,0,.18) inset,
              0 14px 30px -8px var(--primary-glow), 0 6px 14px -6px rgba(0,0,0,.5); }
.refresh-btn:hover { box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -3px 0 rgba(0,0,0,.18) inset,
              0 22px 44px -10px var(--primary-glow), 0 10px 20px -8px rgba(0,0,0,.5); }
.contact-form button { --btn1: var(--primary); --btn2: #00b359; color: #04120a; margin-top: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -3px 0 rgba(0,0,0,.18) inset,
              0 14px 30px -8px var(--primary-glow), 0 6px 14px -6px rgba(0,0,0,.5); }

/* ============================================================
   TICKER — headline marquee
   ============================================================ */
.ticker {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--stroke-soft); border-bottom: 1px solid var(--stroke-soft);
  background: rgba(255,255,255,.025);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ticker-track { display: inline-flex; gap: 0; padding: 12px 0; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 0 28px; position: relative; display: inline-flex; align-items: center; gap: 10px;
}
.ticker a::before { content: "●"; color: var(--accent); font-size: .7rem; }
.ticker a:hover { color: var(--accent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 40px 22px; }
.section-title {
  font-size: 1.55rem; font-weight: 800; margin-bottom: 22px; padding-bottom: 10px;
  display: inline-block; position: relative; letter-spacing: .2px;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 16px var(--primary-glow);
  transform-origin: left; animation: barGrow .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============================================================
   ARTICLE GRID + 3D TILT CARDS
   ============================================================ */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px; perspective: 1400px;
}
.card {
  --rx: 0deg; --ry: 0deg;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-3d);
  display: flex; flex-direction: column;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.card:hover {
  border-color: rgba(0,230,118,.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset,
              0 30px 60px -16px rgba(0,0,0,.75),
              0 0 40px -6px var(--primary-glow);
}
.card-img {
  height: 180px; overflow: hidden; position: relative;
  transform: translateZ(30px);
}
.card-img img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; transform: translateZ(18px); }
.card-cat {
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; line-height: 1.45; }
.card h3 a { color: var(--text); text-decoration: none; transition: color .2s; }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: .93rem; color: var(--muted); flex: 1; }
.card-meta { font-size: .8rem; color: var(--faint); margin-top: 12px; }

/* ============================================================
   TRENDING panel
   ============================================================ */
.trending {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 28px; margin: 34px 0; box-shadow: var(--shadow-3d);
  transform: perspective(1000px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.trending:hover { transform: perspective(1000px) rotateX(1.5deg); box-shadow: var(--shadow-3d), 0 0 34px -8px var(--accent-glow); }
.trending ol { padding-left: 22px; }
.trending li { margin-bottom: 12px; transition: transform .2s ease; }
.trending li:hover { transform: translateX(8px); }
.trending li::marker { color: var(--accent); font-weight: 800; }
.trending a { color: var(--text); text-decoration: none; font-weight: 600; }
.trending a:hover { color: var(--accent); }

/* ============================================================
   ARTICLE page
   ============================================================ */
.article-wrap {
  max-width: 820px; margin: 0 auto;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--stroke); border-radius: 22px;
  padding: 44px; box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
}
.article-wrap h1 {
  font-size: 2.05rem; line-height: 1.3; margin-bottom: 14px; letter-spacing: -.3px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.article-meta { color: var(--muted); font-size: .92rem; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--stroke-soft); }
.article-meta strong { color: var(--accent); }
.featured-img { margin-bottom: 30px; }
img.featured-img {
  width: 100%; height: 300px; object-fit: cover; border-radius: 16px; display: block;
  border: 1px solid var(--stroke);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.7), 0 0 40px -12px var(--primary-glow);
  transform: perspective(1000px) rotateX(1.5deg);
  transition: transform .4s ease;
}
img.featured-img:hover { transform: perspective(1000px) rotateX(0deg) scale(1.01); }
img.card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.in-article-img { margin: 26px 0; }
.in-article-img img {
  width: 100%; border-radius: 14px; display: block; border: 1px solid var(--stroke);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.65);
}
.in-article-img figcaption { font-size: .86rem; color: var(--faint); text-align: center; margin-top: 10px; font-style: italic; }
.article-wrap h2 { font-size: 1.42rem; margin: 30px 0 12px; color: #fff; }
.article-wrap h2::before {
  content: ""; display: inline-block; width: 8px; height: 1.1em; margin-right: 10px;
  border-radius: 4px; vertical-align: -2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px var(--primary-glow);
}
.article-wrap h3 { font-size: 1.16rem; margin: 24px 0 10px; color: var(--accent); }
.article-wrap p { margin-bottom: 17px; color: #dbe2f7; }
.article-wrap ul, .article-wrap ol { margin: 0 0 18px 26px; color: #dbe2f7; }
.article-wrap li { margin-bottom: 9px; }
.article-wrap li::marker { color: var(--primary); }
.article-wrap a { color: var(--primary); }
.article-wrap blockquote {
  border-left: 4px solid var(--accent); padding: 14px 22px; margin: 22px 0;
  background: linear-gradient(120deg, rgba(255,197,49,.10), transparent);
  border-radius: 0 14px 14px 0; font-style: italic; color: var(--text);
  box-shadow: 0 10px 26px -14px rgba(0,0,0,.6);
}
.scorebox {
  background: linear-gradient(150deg, #101a30, #0a1020);
  border: 1px solid rgba(0,230,118,.25);
  color: #fff; border-radius: 16px; padding: 22px; margin: 22px 0;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7), 0 0 30px -10px var(--primary-glow),
              0 1px 0 rgba(255,255,255,.08) inset;
  transform: perspective(900px) rotateX(2deg);
}
.scorebox .team { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.scorebox .team:last-child { border-bottom: none; }
.related { margin-top: 44px; }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ============================================================
   AD placeholders (kept commented out — AdSense not approved)
   ============================================================ */
.ad-slot {
  background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.18);
  border-radius: 12px; text-align: center; padding: 30px 10px; margin: 28px 0;
  color: var(--faint); font-size: .8rem; letter-spacing: 2px;
}

/* ============================================================
   STATIC pages
   ============================================================ */
.page-wrap {
  max-width: 820px; margin: 0 auto;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--stroke); border-radius: 22px;
  padding: 44px; box-shadow: var(--shadow-3d);
}
.page-wrap h1 { margin-bottom: 22px; font-size: 2rem;
  background: linear-gradient(115deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-wrap h2 { margin: 26px 0 10px; font-size: 1.28rem; color: #fff; }
.page-wrap p, .page-wrap li { margin-bottom: 13px; color: #dbe2f7; }
.page-wrap ul { margin-left: 26px; }
.page-wrap li::marker { color: var(--primary); }
.page-wrap a { color: var(--primary); }

/* ============================================================
   CONTACT form
   ============================================================ */
.contact-form label { display: block; font-weight: 700; margin: 16px 0 8px; color: var(--text); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; font-size: 1rem; font-family: inherit; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid var(--stroke); border-radius: 12px;
  outline: none; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
  transform: translateZ(6px);
}
.contact-form textarea { resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.35));
  border-top: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 46px 22px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px;
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.site-footer h4::after {
  content: ""; display: block; width: 34px; height: 3px; margin-top: 8px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.site-footer p { color: var(--muted); font-size: .92rem; }
.site-footer a {
  color: var(--muted); text-decoration: none; display: block; margin-bottom: 9px;
  font-size: .93rem; transition: transform .2s, color .2s; width: fit-content;
}
.site-footer a:hover { color: var(--accent); transform: translateX(6px); }
.copyright {
  text-align: center; padding: 20px; border-top: 1px solid var(--stroke-soft);
  font-size: .85rem; color: var(--faint);
}

/* ============================================================
   SCROLL REVEAL — JS adds .in when visible
   ============================================================ */
.reveal { opacity: 0; transform: translateY(38px) rotateX(4deg); transform-origin: center top; }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal-l { opacity: 0; transform: translateX(-46px); }
.reveal-l.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-r { opacity: 0; transform: translateX(46px); }
.reveal-r.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-scale { opacity: 0; transform: scale(.92) translateZ(-40px); }
.reveal-scale.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }

/* stagger children */
.stagger > *:nth-child(1).in { transition-delay: .02s; }
.stagger > *:nth-child(2).in { transition-delay: .1s; }
.stagger > *:nth-child(3).in { transition-delay: .18s; }
.stagger > *:nth-child(4).in { transition-delay: .26s; }
.stagger > *:nth-child(5).in { transition-delay: .34s; }
.stagger > *:nth-child(6).in { transition-delay: .42s; }
.stagger > *:nth-child(n+7).in { transition-delay: .5s; }

/* ============================================================
   LIVE page extras (kept from original, restyled for theme)
   ============================================================ */
.live-badge {
  display: inline-block; background: linear-gradient(135deg, #ff4d5e, #c81e3a); color: #fff;
  font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 20px;
  letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(255,77,94,.55), 0 1px 0 rgba(255,255,255,.35) inset;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.07); opacity: .8; } }
.note-box {
  background: linear-gradient(120deg, rgba(255,197,49,.12), rgba(255,197,49,.03));
  border: 1px solid rgba(255,197,49,.3); border-left: 4px solid var(--accent);
  padding: 16px 20px; border-radius: 0 14px 14px 0; margin: 16px 0 32px;
  font-size: .93rem; color: var(--text);
  box-shadow: 0 12px 28px -14px rgba(0,0,0,.6);
}
.watch-table {
  width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden;
  font-size: .93rem; margin: 18px 0;
  background: var(--glass); border: 1px solid var(--stroke);
  box-shadow: var(--shadow-3d);
}
.watch-table th {
  background: linear-gradient(135deg, rgba(0,230,118,.25), rgba(0,230,118,.08));
  color: #fff; text-align: left; padding: 14px 18px; font-weight: 800; letter-spacing: .4px;
}
.watch-table td { padding: 13px 18px; border-bottom: 1px solid var(--stroke-soft); color: #dbe2f7; }
.watch-table tr:last-child td { border-bottom: none; }
.watch-table tbody tr { transition: background .2s, transform .2s; }
.watch-table tbody tr:hover { background: rgba(0,230,118,.07); }
.table-scroll { overflow-x: auto; border-radius: 16px; }
.score-card {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke); border-left: 4px solid var(--primary);
  border-radius: var(--radius); padding: 24px; margin: 14px 0;
  box-shadow: var(--shadow-3d);
  transition: transform .3s ease, box-shadow .3s ease;
}
.score-card:hover { transform: perspective(900px) rotateX(1.5deg) translateY(-2px); box-shadow: var(--shadow-3d), 0 0 30px -8px var(--primary-glow); }
.score-teams { font-weight: 800; font-size: 1.06rem; margin-bottom: 6px; }
.score-line { font-size: 1.28rem; font-weight: 800; color: var(--primary); text-shadow: 0 0 18px var(--primary-glow); }
.score-status { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.ext-links a { margin: 6px 10px 6px 0; font-size: .93rem; padding: 11px 24px; }

/* ============================================================
   RESPONSIVE + MOTION SAFETY
   ============================================================ */
@media (max-width: 760px) {
  .hero { padding: 80px 18px 64px; }
  .hero h1 { letter-spacing: 0; }
  .ball { width: 70px; height: 70px; }
  .ball-sm { width: 40px; height: 40px; }
  .ring { width: 96px; height: 96px; border-width: 7px; }
  .trophy { font-size: 54px; }
  .article-wrap, .page-wrap { padding: 26px 20px; border-radius: 18px; }
  .article-wrap h1 { font-size: 1.55rem; }
  img.featured-img { height: 210px; }
  .header-inner { flex-direction: column; gap: 12px; text-align: center; }
  nav ul { justify-content: center; }
  .watch-table th, .watch-table td { padding: 10px 12px; font-size: .85rem; }
  .ticker-track { animation-duration: 26s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .reveal-l, .reveal-r, .reveal-scale { opacity: 1 !important; transform: none !important; }
  #bg-particles, .orb { display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ROUND 2 — MAXIMUM MOTION (Oct 19, 2026)
   Custom cursor · page loader · letter reveals · magnetic buttons
   flip cards · scroll progress · scroll parallax · stat counters
   image wipe reveals · nav underlines · scroll ball · radar rings
   Pure CSS + vanilla JS. Mobile-graceful, reduced-motion safe.
   ============================================================ */

/* ---------- 1. CUSTOM CURSOR (desktop fine-pointer only) ---------- */
.cursor-dot, .cursor-ring { display: none; }
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring {
  display: block; position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 10002; border-radius: 50%; will-change: transform;
}
body.has-cursor, body.has-cursor a, body.has-cursor button,
body.has-cursor .card, body.has-cursor .flip-card { cursor: none; }
body.has-cursor input, body.has-cursor textarea { cursor: text; }
.cursor-dot {
  width: 8px; height: 8px; background: var(--primary);
  box-shadow: 0 0 12px 2px var(--primary-glow);
}
.cursor-ring {
  width: 38px; height: 38px; border: 2px solid rgba(0,230,118,.55);
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px; border-color: var(--accent);
  background: rgba(255,197,49,.08);
  box-shadow: 0 0 24px rgba(255,197,49,.25);
}

/* ---------- 2. PAGE LOAD INTRO ---------- */
#page-loader {
  position: fixed; inset: 0; z-index: 10005;
  background: radial-gradient(900px 600px at 50% 40%, #0d1830, #070b16 75%);
  display: flex; flex-direction: column; gap: 24px;
  align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
  animation: loaderKill .6s ease 3.2s forwards;
}
#page-loader.done { opacity: 0; visibility: hidden; }
@keyframes loaderKill { to { opacity: 0; visibility: hidden; } }
.loader-ball {
  width: 84px; height: 84px; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(circle at 50% 55%, #e05252 0%, #b03030 45%, #6e1414 100%);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.7), 0 0 60px rgba(255,90,90,.35),
              inset -10px -14px 30px rgba(0,0,0,.45);
  animation: loaderSpin 1.1s linear infinite;
}
.loader-ball::after {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  border: 3px dashed rgba(255,255,255,.75);
  border-top-color: transparent; border-bottom-color: transparent;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
.loader-text {
  font-weight: 800; letter-spacing: 6px; font-size: .95rem; color: var(--text);
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-text::after { content: ""; animation: loaderDots 1.2s steps(4) infinite; }
@keyframes loaderDots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@keyframes loaderPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- 3. LETTER-BY-LETTER HERO REVEAL ---------- */
.hero h1.split { background: none; }
.hero h1 .ch {
  display: inline-block; opacity: 0;
  transform: translateY(.55em) rotateX(-75deg);
  transform-origin: 50% 100%;
  background: linear-gradient(115deg, #fff 25%, var(--primary) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .09em; margin-bottom: -.09em;
  will-change: transform, opacity;
}
body.loaded .hero h1 .ch { animation: chIn .65s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes chIn {
  60% { opacity: 1; transform: translateY(-.06em) rotateX(8deg); }
  100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* ---------- 4. MAGNETIC BUTTONS ---------- */
.magnetic { will-change: translate; }

/* ---------- 5. 3D FLIP CARDS (featured picks, JS-injected) ---------- */
.featured-strip { margin: 36px 0 10px; }
.flip-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; perspective: 1600px;
}
.flip-card { height: 360px; outline: none; }
.flip-card:focus-visible { box-shadow: 0 0 0 3px var(--primary-glow); border-radius: var(--radius); }
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.flip-card:hover .flip-inner, .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-3d);
}
.flip-front img { width: 100%; height: 56%; object-fit: cover; display: block; }
.flip-front-body { padding: 18px 20px; }
.flip-front-body h3 { font-size: 1.05rem; line-height: 1.4; color: var(--text); }
.flip-back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px; gap: 12px;
  background: linear-gradient(155deg, rgba(0,230,118,.14), rgba(255,197,49,.08)), var(--glass-strong);
}
.flip-back p { color: #dbe2f7; font-size: .94rem; flex: 0 1 auto; }
.flip-back a {
  color: #221a05; font-weight: 800; text-decoration: none; align-self: flex-start;
  background: linear-gradient(135deg, var(--accent), #ff9d3c);
  padding: 10px 24px; border-radius: 12px; margin-top: 6px;
  box-shadow: 0 10px 22px -8px var(--accent-glow);
  transition: transform .2s ease, filter .2s ease;
}
.flip-back a:hover { transform: translateY(-2px); filter: brightness(1.07); }
.flip-hint {
  text-align: center; color: var(--faint); font-size: .82rem; margin-top: 12px;
  letter-spacing: .5px;
}

/* ---------- 6. SCROLL PROGRESS BAR ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--live));
  box-shadow: 0 0 14px var(--primary-glow);
  z-index: 10003; pointer-events: none;
}

/* ---------- 7. SCROLL PARALLAX helpers ---------- */
.orb { will-change: translate; }

/* ---------- 8. ANIMATED STAT COUNTERS ---------- */
.stats-strip {
  display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 30px;
}
.stat {
  flex: 1 1 170px; text-align: center; padding: 24px 16px;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke); border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-3d), 0 0 30px -8px var(--primary-glow); }
.stat-num {
  font-size: 2.4rem; font-weight: 900; line-height: 1.1;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--muted); font-size: .88rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; margin-top: 4px; }

/* ---------- 9. IMAGE WIPE REVEAL ---------- */
.img-reveal { position: relative; }
.img-reveal::after {
  content: ""; position: absolute; inset: -1px; z-index: 2;
  background: linear-gradient(100deg, var(--primary), var(--accent));
  transform: scaleX(1); transform-origin: left;
  border-radius: inherit;
}
.img-reveal.in::after { animation: wipeOut .9s cubic-bezier(.7,0,.2,1) .05s forwards; }
@keyframes wipeOut { to { transform: scaleX(0); transform-origin: right; } }
.img-reveal img { transform: scale(1.14); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.img-reveal.in img { transform: scale(1); }
.card-img.img-reveal::after { border-radius: 0; }

/* ---------- 10. NAV LINK GRADIENT UNDERLINE ---------- */
nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px var(--primary-glow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
}
nav a:hover::after, nav a.active::after, nav a.in-view::after { transform: scaleX(1); }
nav a.in-view {
  background: linear-gradient(135deg, rgba(0,230,118,.22), rgba(0,230,118,.08));
  border-color: rgba(0,230,118,.35); color: #fff;
}

/* ---------- 11. FLOATING SCROLL BALL ---------- */
#scroll-ball {
  position: fixed; right: 26px; top: 36%; width: 62px; height: 62px;
  border-radius: 50%; z-index: 5; pointer-events: none; opacity: .9;
  display: none;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(circle at 50% 55%, #e05252 0%, #b03030 45%, #6e1414 100%);
  box-shadow: 0 18px 36px -10px rgba(0,0,0,.7), 0 0 34px rgba(255,90,90,.28),
              inset -8px -10px 22px rgba(0,0,0,.45);
  will-change: transform;
}
#scroll-ball::after {
  content: ""; position: absolute; inset: 9%; border-radius: 50%;
  border: 3px dashed rgba(255,255,255,.75);
  border-top-color: transparent; border-bottom-color: transparent;
}
body.has-scrollball #scroll-ball { display: block; }

/* ---------- 12. STAGGERED 3D GRID ENTRANCES ---------- */
.grid .reveal-scale { transform: scale(.9) translateZ(-50px) rotateY(10deg); }
.stagger > *:nth-child(8).in { transition-delay: .58s; }
.stagger > *:nth-child(9).in { transition-delay: .66s; }
.stagger > *:nth-child(10).in { transition-delay: .74s; }
.stagger > *:nth-child(11).in { transition-delay: .82s; }
.stagger > *:nth-child(12).in { transition-delay: .9s; }
.stagger > *:nth-child(n+13).in { transition-delay: .98s; }

/* ---------- 13. LIVE RADAR RINGS (stronger badge pulse) ---------- */
.live-badge { animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse {
  0%,100% { transform: scale(1); opacity: 1; box-shadow: 0 0 26px rgba(255,77,94,.65), 0 1px 0 rgba(255,255,255,.35) inset; }
  50% { transform: scale(1.12); opacity: .85; box-shadow: 0 0 44px rgba(255,77,94,.9), 0 1px 0 rgba(255,255,255,.35) inset; }
}
.radar-wrap { position: relative; display: inline-block; }
.radar-ring {
  position: absolute; inset: -7px; border-radius: 26px;
  border: 2px solid var(--live); opacity: 0; pointer-events: none;
  animation: radarPing 2.1s ease-out infinite;
}
.radar-ring.r2 { animation-delay: 1.05s; }
@keyframes radarPing {
  0% { transform: scale(.72); opacity: .95; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- 14. ANCHOR OFFSET under sticky header ---------- */
[id] { scroll-margin-top: 92px; }

/* ---------- ROUND 2: responsive + motion safety ---------- */
@media (max-width: 900px) {
  body.has-scrollball #scroll-ball { display: none; }
  .flip-card { height: 340px; }
}
@media (max-width: 760px) {
  .stats-strip { gap: 12px; }
  .stat-num { font-size: 1.9rem; }
  .flip-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring, #scroll-ball, #page-loader, #scroll-progress { display: none !important; }
  .radar-ring { animation: none !important; opacity: 0 !important; }
  .hero h1 .ch { opacity: 1 !important; transform: none !important; animation: none !important; }
  .img-reveal::after { display: none; }
  .img-reveal img { transform: none !important; }
  .grid .reveal-scale { transform: none; }
}

/* ============================================================
   ROUND 3 — PREMIUM POLISH (Oct 21, 2026)
   Aurora drift · breaking-news ticker · mouse-tracked card glow
   + shine sweep · on-view heading underlines · score shimmer
   footer light-line · CTA ripple + inner glow · back-to-top ring
   page entrance fade · selection / scrollbar / focus polish
   Transform/opacity only · reduced-motion safe · mobile-tuned.
   ============================================================ */

/* ---------- R3-1. SMOOTH PAGE ENTRANCE FADE ---------- */
body { animation: pageIn .55s ease-out backwards; }
@keyframes pageIn { from { opacity: 0; } }

/* ---------- R3-2. AURORA DRIFT (site-wide + hero) ---------- */
body::after {
  content: ""; position: fixed; inset: -18% -10%; z-index: 0;
  pointer-events: none; will-change: transform;
  background:
    radial-gradient(620px 420px at 18% 28%, rgba(0,230,118,.075), transparent 62%),
    radial-gradient(720px 520px at 82% 68%, rgba(255,197,49,.055), transparent 62%),
    radial-gradient(560px 560px at 58% 12%, rgba(110,90,255,.065), transparent 62%);
  animation: auroraDrift 32s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(2.5%, 2%, 0) scale(1.07); }
}
.hero::before {
  content: ""; position: absolute; inset: -12% -6%; z-index: 0;
  pointer-events: none; will-change: transform;
  background:
    radial-gradient(480px 320px at 24% 40%, rgba(0,230,118,.13), transparent 65%),
    radial-gradient(520px 360px at 78% 30%, rgba(255,197,49,.10), transparent 65%),
    radial-gradient(420px 420px at 55% 85%, rgba(110,90,255,.10), transparent 65%);
  animation: auroraDrift 24s ease-in-out infinite alternate-reverse;
}

/* ---------- R3-3. BREAKING-NEWS TICKER BAR ---------- */
.ticker {
  background: linear-gradient(90deg, rgba(0,230,118,.07), rgba(255,197,49,.045) 50%, rgba(0,230,118,.07));
  background-size: 220% 100%;
  animation: tickerSheen 10s linear infinite;
}
@keyframes tickerSheen { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.ticker::before {
  content: "⚡ LATEST NEWS";
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center;
  padding: 0 40px 0 18px;
  font-size: .76rem; font-weight: 800; letter-spacing: 2.5px; color: var(--accent);
  text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, #0a1120 72%, rgba(10,17,32,0));
  text-shadow: 0 0 14px var(--accent-glow);
}
.ticker::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 64px; z-index: 3;
  pointer-events: none;
  background: linear-gradient(270deg, #0a1120 12%, rgba(10,17,32,0));
}
.ticker a { transition: color .2s ease, text-shadow .2s ease; }
.ticker a:hover { text-shadow: 0 0 12px var(--accent-glow); }

/* ---------- R3-4. CARD MOUSE-GLOW + SHINE SWEEP + DEEPER ZOOM ---------- */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%),
              rgba(0,230,118,.13), rgba(255,197,49,.05) 42%, transparent 65%);
}
.card:hover::after { opacity: 1; }
.card-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.17) 50%, transparent 58%);
  transform: translateX(-130%);
}
.card:hover .card-img::before {
  transform: translateX(130%);
  transition: transform .95s cubic-bezier(.2,.7,.2,1);
}
.card-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.12); }

/* ---------- R3-5. HEADING UNDERLINES THAT GROW ON VIEW ---------- */
.article-wrap h2, .page-wrap h2 { position: relative; }
.article-wrap h2::after, .page-wrap h2::after {
  content: ""; position: absolute; left: 0; bottom: -7px;
  width: min(120px, 42%); height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  box-shadow: 0 0 10px var(--primary-glow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .85s cubic-bezier(.2,.7,.2,1) .12s;
}
.article-wrap h2.in::after, .page-wrap h2.in::after { transform: scaleX(1); }
/* section titles: underline now tied to scroll-entry, not page load */
.section-title::after {
  animation: none; transform: scaleX(0);
  transition: transform .9s cubic-bezier(.2,.7,.2,1) .05s;
}
.section-title.in::after { transform: scaleX(1); }

/* ---------- R3-6. LIVE PAGE — SCORE SHIMMER + BREATHING SCORE GLOW ---------- */
.score-card { position: relative; overflow: hidden; }
.score-card::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -85%; width: 55%;
  pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.06), transparent);
  transform: skewX(-12deg);
  animation: cardShimmer 5.4s ease-in-out infinite;
}
@keyframes cardShimmer { 0% { left: -85%; } 52%, 100% { left: 135%; } }
.score-line { animation: scoreGlow 2.8s ease-in-out infinite; }
@keyframes scoreGlow {
  0%, 100% { text-shadow: 0 0 12px rgba(0,230,118,.35); }
  50% { text-shadow: 0 0 24px rgba(0,230,118,.6); }
}

/* ---------- R3-7. FOOTER — FLOWING LIGHT LINE + AURORA WASH + LINK GLOW ---------- */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--live), var(--primary));
  background-size: 220% 100%;
  animation: footerFlow 8s linear infinite;
}
@keyframes footerFlow { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.site-footer::after {
  content: ""; position: absolute; inset: auto -10% -45% -10%; height: 90%; z-index: 0;
  pointer-events: none; will-change: transform;
  background:
    radial-gradient(420px 200px at 22% 60%, rgba(0,230,118,.07), transparent 65%),
    radial-gradient(420px 200px at 78% 40%, rgba(255,197,49,.05), transparent 65%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
.footer-inner, .copyright { position: relative; z-index: 1; }
.site-footer a:hover {
  transform: translateX(6px) translateY(-1px);
  text-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- R3-8. CTA RIPPLE + BREATHING INNER GLOW ---------- */
.cta, .refresh-btn, .ext-links a, .contact-form button, .flip-back a {
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 24px rgba(255,255,255,.4);
  opacity: 0; animation: ctaGlow 3.4s ease-in-out infinite;
}
@keyframes ctaGlow { 0%, 100% { opacity: 0; } 50% { opacity: .45; } }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  background: rgba(255,255,255,.4);
  transform: scale(0); opacity: .85;
  animation: rippleGo .65s ease-out forwards;
}
@keyframes rippleGo { to { transform: scale(1); opacity: 0; } }

/* ---------- R3-9. BACK-TO-TOP WITH SCROLL-PROGRESS RING ---------- */
#to-top {
  position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px;
  border-radius: 50%; border: none; cursor: pointer; z-index: 999;
  display: grid; place-items: center;
  background: conic-gradient(var(--primary) calc(var(--p, 0) * 1%), rgba(255,255,255,.10) 0);
  box-shadow: 0 16px 34px -10px rgba(0,0,0,.75), 0 0 22px -6px var(--primary-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.92);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility .35s;
}
#to-top.show { opacity: 1; visibility: visible; transform: none; animation: toTopPop .45s cubic-bezier(.2,.7,.2,1); }
@keyframes toTopPop { 0% { transform: scale(.8); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
#to-top::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: linear-gradient(160deg, #111c33, #0a1020);
}
#to-top:hover { scale: 1.07; }
#to-top .arr {
  position: relative; z-index: 1; color: var(--primary);
  font-size: 1.15rem; font-weight: 900; line-height: 1;
  transition: color .2s ease, transform .2s ease;
}
#to-top:hover .arr { color: var(--accent); transform: translateY(-2px); }

/* ---------- R3-10. FINISHING POLISH — SELECTION · SCROLLBAR · FOCUS ---------- */
::selection { background: rgba(0,230,118,.38); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a1020; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-dark), #0d5c36);
  border-radius: 8px; border: 2px solid #0a1020;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); }
a:focus-visible, button:focus-visible, .card:focus-visible, .flip-card:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,230,118,.15);
}

/* ---------- ROUND 3: responsive + motion safety ---------- */
@media (max-width: 760px) {
  body::after { opacity: .55; animation-duration: 40s; }
  .hero::before { opacity: .7; }
  .ticker::before { font-size: .64rem; letter-spacing: 1.6px; padding: 0 26px 0 12px; }
  .ticker::after { width: 40px; }
  .score-card::before { animation-duration: 7s; }
  #to-top { width: 48px; height: 48px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  body::after, .hero::before, .site-footer::after { animation: none !important; }
  .ticker { animation: none; }
  .site-footer::before { animation: none; }
  .score-card::before, .score-line, .cta::after { animation: none !important; }
  .section-title::after, .article-wrap h2::after, .page-wrap h2::after {
    transform: scaleX(1) !important; transition: none !important;
  }
  #to-top { transition: none; animation: none !important; }
  .card::after, .card-img::before { display: none; }
}
