/* ============================================================
   3 Patti Pearl — Light Ocean Design System v4
   Light Blue Primary · White · Gold Accent
   All sizes in px — NO rem (avoids index.html 100px base conflict)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600;700&family=Lexend:wght@600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* ★ Saturated blue palette — matched to nav #0A5FAF / #1A8FE3 */
  --c-sky:       #87CEEB;   /* sky blue — light bg tint */
  --c-ocean:     #1478CC;   /* medium blue — primary links, accents */
  --c-deep:      #0A5FAF;   /* deep blue — nav, hero, CTA */
  --c-light:     #3AA5F0;   /* bright blue — hover states */
  --c-pale:      #AED6F1;   /* pale blue — borders, bg tints */
  --c-foam:      #D6EEF8;   /* very light blue — card bg */
  --c-seafoam:   #2EC4B6;   /* teal accent */

  /* Surface */
  --c-bg:        #C8E8FF;   /* saturated light blue page background */
  --c-card:      #FFFFFF;
  --c-border:    #A8CFEF;   /* slightly richer blue border */

  /* Gold accent */
  --c-gold:      #FFD700;
  --c-gold-l:    #FFE85A;
  --c-gold-d:    #C8A822;

  /* Text */
  --c-txt-h:     #082A55;   /* deep navy heading */
  --c-txt:       #1A4578;   /* body text — blue-toned */
  --c-txt-s:     #2E6898;   /* subtitle */
  --c-txt-d:     #5590C8;   /* dimmed */
  --c-on-nav:    #E0F4FF;   /* text on dark nav */

  /* Typography */
  --f-h: 'Playfair Display', Georgia, serif;
  --f-b: 'Inter', system-ui, Arial, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* NOTE: do NOT set html/body font-size here — index.html sets it to 100px via pub_rem.js */

body {
  font-family: var(--f-b);
  background: var(--c-bg);
  color: var(--c-txt);
  line-height: 1.65;
  padding-top: 60px;
}
@media (max-width: 768px) {
  body { padding-top: 56px; }
}

img { display: block; max-width: 100%; }
a { color: var(--c-ocean); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-light); }

/* ── Container ────────────────────────────────────────────── */
.container { width: min(720px, 94vw); margin-inline: auto; position: relative; }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 9999;
  height: 60px;
  background: linear-gradient(135deg, #0A5FAF 0%, #1A8FE3 55%, #0A5FAF 100%);
  box-shadow: 0 2px 20px rgba(10, 95, 175, 0.45);
  border-bottom: 2px solid rgba(80, 200, 255, 0.45);
}

.nav-inner {
  width: min(1180px, 96vw);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.nav-logo {
  font-family: var(--f-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-gold);
  text-shadow:
    0 1px 0 rgba(4, 28, 72, .55),
    0 2px 4px rgba(4, 28, 72, .45),
    0 4px 12px rgba(4, 28, 72, .28);
  letter-spacing: .3px;
  padding-left: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 1px 2px rgba(4, 28, 72, .35),
    0 3px 8px rgba(4, 28, 72, .28),
    inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .25s ease;
}
.nav-logo a:hover .nav-logo-icon { transform: scale(1.05) rotate(-2deg); }
.nav-logo-text { display: inline-block; line-height: 1; }
.nav-logo-accent { color: #fff; font-weight: 300; }
.nav-logo-text span,
.nav-logo > a > span:not([class]) { color: #fff; font-weight: 300; }

@media (max-width: 768px) {
  .nav-logo { font-size: 17px; }
  .nav-logo-icon { width: 34px; height: 34px; border-radius: 8px; }
  .nav-logo a { gap: 8px; }
}

.nav-hamburger { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,.82);
  font-family: var(--f-b);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  height: 36px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: .2px;
  transition: color .2s, background .2s, border-color .2s, transform .15s;
}
.nav-links a::after { display: none; }
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}
.nav-links a.active {
  position: relative;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.10) 48%, rgba(255,255,255,.22) 100%);
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(255,255,255,.16),
    inset 0 0 0 1px rgba(255,255,255,.1),
    0 1px 2px rgba(8, 52, 112, .22),
    0 4px 10px rgba(8, 52, 112, .18),
    0 10px 22px rgba(8, 52, 112, .10);
  text-shadow:
    0 1px 1px rgba(6, 40, 95, .35),
    0 1px 3px rgba(6, 40, 95, .28);
  overflow: hidden;
}
.nav-links a.active::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 45%;
  border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 18%; right: 18%; bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  pointer-events: none;
}

.nav-links a.nav-download-btn {
  position: relative;
  background:
    linear-gradient(180deg, #FFE07A 0%, #FFC53D 35%, #F2B000 70%, #D89500 100%);
  color: #3A2200 !important;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 20px;
  margin-left: 10px;
  font-size: 12.5px;
  letter-spacing: .3px;
  border: 1px solid #C48700;
  text-shadow: 0 1px 0 rgba(255, 240, 180, .85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 220, .95),
    inset 0 2px 3px rgba(255, 255, 200, .5),
    inset 0 -2px 3px rgba(140, 90, 0, .35),
    inset 0 -1px 0 rgba(120, 75, 0, .55),
    0 1px 2px rgba(6, 32, 70, .30),
    0 4px 10px rgba(6, 32, 70, .25),
    0 10px 22px rgba(6, 32, 70, .18);
  overflow: hidden;
  transition: color .2s, transform .15s, box-shadow .2s, background .2s;
}
.nav-links a.nav-download-btn::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: 999px 999px 45% 45% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255, 255, 240, .75) 0%, rgba(255, 255, 240, 0) 100%);
  pointer-events: none;
}
.nav-links a.nav-download-btn::after { display: none; }
.nav-links a.nav-download-btn:hover {
  background:
    linear-gradient(180deg, #FFE894 0%, #FFCF4D 35%, #F6B400 70%, #E09E00 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 230, .98),
    inset 0 2px 3px rgba(255, 255, 210, .55),
    inset 0 -2px 3px rgba(140, 90, 0, .35),
    inset 0 -1px 0 rgba(120, 75, 0, .5),
    0 2px 4px rgba(6, 32, 70, .32),
    0 6px 14px rgba(6, 32, 70, .28),
    0 14px 28px rgba(6, 32, 70, .22);
  transform: translateY(-1px);
}
.nav-links a.nav-download-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 2px rgba(140, 90, 0, .35),
    inset 0 -1px 0 rgba(255, 240, 180, .4),
    0 1px 2px rgba(6, 32, 70, .28),
    0 2px 4px rgba(6, 32, 70, .22);
}

@media (max-width: 768px) {
  .site-nav { height: 56px; }
  .nav-inner { gap: 0; }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px; height: 42px;
    cursor: pointer;
    margin-right: 4px;
    background: none; border: none; padding: 0;
    z-index: 10001; flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px; right: 0;
    width: 220px;
    background: linear-gradient(160deg, #0A5FAF, #1478CC);
    border-radius: 0 0 14px 14px;
    border: 1px solid rgba(46,196,182,.25);
    border-top: none;
    flex-direction: column;
    padding: 8px 0 14px;
    gap: 0;
    box-shadow: 0 10px 30px rgba(10,95,175,.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 14px;
    padding: 11px 20px;
    width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
  }
  .nav-links a:hover { transform: none; background: rgba(255,255,255,.1); border-radius: 0; }
  .nav-links a.nav-download-btn {
    margin: 10px 20px 2px; padding: 10px 20px;
    text-align: center; justify-content: center;
    width: calc(100% - 40px); font-size: 13px;
    border-radius: 999px;
  }
}

/* ── Page Hero (light blue version) ──────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 20px 86px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(220,100,200,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 25%, rgba(255,160,230,.18) 0%, transparent 50%),
    linear-gradient(160deg, #6A0E50 0%, #AE2268 45%, #D44882 80%, #F290B4 100%);
}

.hero-bubbles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-bubbles span {
  position: absolute; bottom: -20px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  animation: bubbleRise linear infinite;
}
.hero-bubbles span:nth-child(1) { width:18px;height:18px;left:10%;animation-duration:7s;animation-delay:0s; }
.hero-bubbles span:nth-child(2) { width:10px;height:10px;left:22%;animation-duration:9s;animation-delay:1.5s; }
.hero-bubbles span:nth-child(3) { width:24px;height:24px;left:38%;animation-duration:11s;animation-delay:.5s; }
.hero-bubbles span:nth-child(4) { width:8px; height:8px; left:55%;animation-duration:8s; animation-delay:2s; }
.hero-bubbles span:nth-child(5) { width:16px;height:16px;left:70%;animation-duration:10s;animation-delay:1s; }
.hero-bubbles span:nth-child(6) { width:12px;height:12px;left:85%;animation-duration:6s; animation-delay:3s; }

@keyframes bubbleRise {
  0%   { transform:translateY(0) scale(1); opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:.6; }
  100% { transform:translateY(-600px) scale(1.3); opacity:0; }
}

.page-hero .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: var(--f-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--f-h);
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--c-gold-l) 60%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.25;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

.page-hero .hero-wave {
  position: absolute; bottom: -1px; left: 0;
  width: 100%; line-height: 0; pointer-events: none;
}
.page-hero .hero-wave svg { display: block; width: 100%; }

/* ── Wave Dividers ────────────────────────────────────────── */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ── Sections ─────────────────────────────────────────────── */
.section-padded { padding: 40px 0 60px; }
.section-tinted  { background: var(--c-foam); }

.section-header { text-align: center; margin-bottom: 36px; }
.section-header .label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-seafoam);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--f-h);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: var(--c-txt-h);
  line-height: 1.3; margin-bottom: 10px;
}
.section-header p {
  font-size: 14px; color: var(--c-txt-s);
  max-width: 520px; margin-inline: auto; line-height: 1.7;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--c-card);
  border-radius: 22px;
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 12px rgba(20,120,204,.08);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(20,120,204,.2);
  border-color: var(--c-light);
}

.card-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--c-seafoam), var(--c-ocean), var(--c-sky));
}

.card-body { padding: 18px 20px 22px; }
.card-body h3 {
  font-family: var(--f-h);
  font-size: 17px;
  color: var(--c-txt-h);
  margin-bottom: 8px; line-height: 1.3;
}
.card-body p { font-size: 13px; color: var(--c-txt-s); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--c-ocean);
  transition: gap .2s, color .2s;
}
.card-link:hover { gap: 8px; color: var(--c-light); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--c-gold) 0%, #E8A000 100%);
  color: #0D3349;
  font-family: var(--f-b);
  font-size: 15px; font-weight: 700;
  padding: 13px 32px;
  border-radius: 26px; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(200,160,0,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,160,0,.55);
  color: #0D3349;
}

/* ── CTA Ocean Band (light blue version) ──────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  padding: 52px 20px; text-align: center;
  background: linear-gradient(135deg, #0A5FAF 0%, #1478CC 50%, #3AA5F0 100%);
}
.cta-band .cta-wave-top,
.cta-band .cta-wave-bottom {
  position: absolute; left: 0; width: 100%;
  line-height: 0; pointer-events: none;
}
.cta-band .cta-wave-top    { top: -1px; }
.cta-band .cta-wave-bottom { bottom: -1px; }
.cta-band .cta-wave-top  svg,
.cta-band .cta-wave-bottom svg { display: block; width: 100%; }
.cta-band h2 {
  font-family: var(--f-h);
  font-size: clamp(20px, 4vw, 28px);
  color: var(--c-gold);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.cta-band p {
  color: rgba(255,255,255,.9); font-size: 14px; margin-bottom: 24px;
}

/* ── Info Grid ────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.info-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 16px; padding: 20px;
  transition: border-color .25s, box-shadow .25s;
}
.info-card:hover { border-color: var(--c-light); box-shadow: 0 6px 20px rgba(20,120,204,.12); }
.info-card .info-icon { font-size: 28px; margin-bottom: 10px; }
.info-card h3 { font-family: var(--f-h); font-size: 15px; color: var(--c-txt-h); margin-bottom: 6px; }
.info-card p  { font-size: 13px; color: var(--c-txt-s); line-height: 1.6; }
.info-card a  { color: var(--c-ocean); font-weight: 500; }

/* ── Section Card (games page) ───────────────────────────── */
.section-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 24px; padding: 28px;
  box-shadow: 0 2px 14px rgba(20,120,204,.08);
  margin-bottom: 22px;
}
.section-card .section-title  { font-family: var(--f-h); font-size: 20px; color: var(--c-txt-h); margin-bottom: 6px; }
.section-card .section-subtitle { font-size: 13.5px; color: var(--c-txt-s); line-height: 1.65; margin-bottom: 18px; }
.section-card .section-subtitle strong { color: var(--c-txt); font-weight: 600; }

/* ── Games Grid ───────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 12px;
}
@media (max-width: 360px) { .games-grid { grid-template-columns: repeat(2,1fr); } }
.game-card {
  background: var(--c-foam);
  border: 1px solid var(--c-border);
  border-radius: 14px; overflow: hidden;
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(20,120,204,.18);
  border-color: var(--c-light);
}
.game-card img {
  width: 100%; height: 110px; object-fit: contain;
  padding: 10px; background: var(--c-foam); display: block;
}
.game-card:hover img { background: #D0EAF8; }
.game-card h3     { font-size: 12.5px; font-weight: 600; padding: 8px 6px 2px; color: var(--c-txt-h); }
.game-card .game-subtitle { font-size: 11px; color: var(--c-txt-d); padding: 0 6px 10px; line-height: 1.4; }

/* ── Blog Cards ───────────────────────────────────────────── */
.blog-grid { display: flex; flex-direction: column; gap: 18px; }
.blog-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: 0 2px 10px rgba(20,120,204,.07);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.blog-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-seafoam), var(--c-ocean));
  transition: width .25s;
}
.blog-card:hover { transform: translateX(4px); box-shadow: 0 6px 24px rgba(20,120,204,.16); border-color: var(--c-light); }
.blog-card:hover::before { width: 6px; }

.blog-card .blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blog-meta .tag {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--c-foam); color: var(--c-ocean);
  border: 1px solid var(--c-border);
  padding: 2px 10px; border-radius: 10px;
}
.blog-meta .date { font-size: 12px; color: var(--c-txt-d); }
.blog-card h2 { font-family: var(--f-h); font-size: 17px; color: var(--c-txt-h); line-height: 1.4; margin-bottom: 8px; }
.blog-card h2 a { color: inherit; }
.blog-card h2 a:hover { color: var(--c-ocean); }
.blog-card p    { font-size: 13.5px; color: var(--c-txt-s); line-height: 1.65; }
.blog-card .read-more {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--c-ocean);
  transition: gap .2s, color .2s;
}
.blog-card .read-more:hover { gap: 8px; color: var(--c-seafoam); }

/* ── Article Layout ───────────────────────────────────────── */
.article-wrapper {
  max-width: 720px; margin-inline: auto;
  padding: 36px 20px 52px;
  font-size: 15px; line-height: 1.85;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--c-txt-d); margin-bottom: 22px;
}
.breadcrumb a { color: var(--c-ocean); }
.breadcrumb a:hover { color: var(--c-light); }
.breadcrumb-sep { color: var(--c-border); }

.article-wrapper h1 { font-family: var(--f-h); font-size: clamp(20px, 4vw, 28px); color: var(--c-txt-h); line-height: 1.3; margin-bottom: 12px; }
.article-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--c-txt-d);
  margin-bottom: 28px; padding-bottom: 18px;
  border-bottom: 2px solid var(--c-border);
}
.article-meta .meta-tag {
  background: var(--c-foam); border: 1px solid var(--c-border);
  color: var(--c-ocean); font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px;
}
.article-wrapper h2 { font-family: var(--f-h); font-size: 21px; color: var(--c-txt-h); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--c-border); }
.article-wrapper h3 { font-family: var(--f-h); font-size: 17px; color: var(--c-ocean); margin: 24px 0 10px; }
.article-wrapper p  { color: var(--c-txt); font-size: 15px; line-height: 1.85; margin: 10px 0; }
.article-wrapper ul,
.article-wrapper ol { padding-left: 24px; margin: 12px 0; }
.article-wrapper li { color: var(--c-txt); font-size: 15px; line-height: 1.75; margin: 7px 0; }
.article-wrapper strong { color: var(--c-txt-h); font-weight: 600; }
.article-wrapper a { color: var(--c-ocean); border-bottom: 1px solid transparent; transition: border-color .2s; }
.article-wrapper a:hover { border-bottom-color: var(--c-light); }

/* ── Article Boxes ────────────────────────────────────────── */
.tip-box {
  background: linear-gradient(135deg, #E8F6FF 0%, #D4EEF8 100%);
  border-left: 4px solid var(--c-seafoam);
  padding: 16px 18px; margin: 20px 0;
  border-radius: 0 14px 14px 0;
  font-size: 14.5px; line-height: 1.7;
}
.tip-box strong { color: var(--c-deep); }

.highlight-box {
  background: linear-gradient(135deg, #0A5FAF 0%, #1478CC 100%);
  border-radius: 18px; padding: 28px 24px; margin: 24px 0;
  text-align: center; box-shadow: 0 6px 24px rgba(20,120,204,.25);
}
.highlight-box .big-num {
  font-family: var(--f-h); font-size: 42px; font-weight: 700;
  background: linear-gradient(135deg, #FFE066, #FFD700);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1; margin-bottom: 8px;
}
.highlight-box p { font-size: 14px; color: rgba(255,255,255,.9); }

.step-card {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 18px; margin: 14px 0;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.step-card:hover { border-color: var(--c-light); box-shadow: 0 4px 14px rgba(20,120,204,.1); }
.step-num {
  background: linear-gradient(135deg, var(--c-gold), #E8A000);
  color: #0D3349; font-weight: 700;
  min-width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200,160,0,.35);
}
.step-text h3 { font-family: var(--f-h); font-size: 16px; color: var(--c-txt-h); margin: 0 0 4px; }
.step-text p  { color: var(--c-txt-s); margin: 0; font-size: 14px; line-height: 1.6; }

.cta-box {
  background: linear-gradient(135deg, #0A5FAF 0%, #1478CC 60%, #3AA5F0 100%);
  border-radius: 22px; padding: 30px 24px; margin: 36px 0;
  text-align: center; box-shadow: 0 8px 32px rgba(20,120,204,.3);
}
.cta-box h3 { font-family: var(--f-h); font-size: 22px; color: var(--c-gold); margin-bottom: 10px; text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.cta-box p  { color: rgba(255,255,255,.9); font-size: 14px; margin-bottom: 20px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--c-gold), #E8A000);
  color: #0D3349; font-weight: 700; font-size: 15px;
  padding: 12px 34px; border-radius: 26px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(200,160,0,.4);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(200,160,0,.55); color: #0D3349; }

.related-posts { margin-top: 48px; padding-top: 22px; border-top: 2px solid var(--c-border); }
.related-posts h3 { font-family: var(--f-h); font-size: 18px; color: var(--c-txt-h); margin-bottom: 16px; }
.related-posts a {
  display: flex; align-items: center; gap: 8px;
  color: var(--c-txt); padding: 11px 0; font-size: 14px;
  border-bottom: 1px solid var(--c-foam);
  transition: color .2s, padding-left .2s;
}
.related-posts a::before { content: '→'; color: var(--c-light); flex-shrink: 0; transition: transform .2s; }
.related-posts a:hover { color: var(--c-ocean); padding-left: 8px; }
.related-posts a:hover::before { transform: translateX(4px); }

/* ── SEO Section ──────────────────────────────────────────── */
.seo-section {
  background: transparent;
  padding: 32px 16px 52px;
}

/* ── Card container ── */
.seo-section .container {
  background: var(--c-card);
  border-radius: 22px;
  border: 2px solid #2BA4DC;
  box-shadow:
    0 6px 32px rgba(10,95,175,.11),
    0 1px 4px rgba(10,95,175,.06),
    inset 5px 0 10px rgba(20,120,204,.05),
    inset -5px 0 10px rgba(58,165,240,.04);
  padding: 40px 36px 44px;
  position: relative;
  overflow: hidden;
}

/* ── 顶部填充波浪色带 ── */
.seo-section .container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%230A5FAF' stop-opacity='0.20'/%3E%3Cstop offset='0.5' stop-color='%231A8FE3' stop-opacity='0.26'/%3E%3Cstop offset='1' stop-color='%230A5FAF' stop-opacity='0.16'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g1)' d='M0,20 C90,4 180,36 270,20 C360,4 450,36 540,20 C630,4 720,36 720,20 L720,0 L0,0 Z'/%3E%3C/svg%3E") left top/100% 40px no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* ── 底部填充波浪色带 ── */
.seo-section .container::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%233AA5F0' stop-opacity='0.17'/%3E%3Cstop offset='0.5' stop-color='%231478CC' stop-opacity='0.22'/%3E%3Cstop offset='1' stop-color='%233AA5F0' stop-opacity='0.14'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g2)' d='M0,20 C90,36 180,4 270,20 C360,36 450,4 540,20 C630,36 720,4 720,20 L720,40 L0,40 Z'/%3E%3C/svg%3E") left bottom/100% 40px no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* ── H2: gradient left-bar + fade underline ── */
.seo-section h2, .seo-content h2 {
  font-family: 'Lexend', var(--f-b);
  font-size: 20px;
  color: #084A8A;
  margin: 40px 0 14px;
  padding: 3px 0 12px 18px;
  border-bottom: none;
  position: relative;
  line-height: 1.3;
}
.seo-section h2:first-of-type,
.seo-content h2:first-of-type { margin-top: 0; }
/* Left accent bar */
.seo-section h2::before, .seo-content h2::before {
  content: '';
  position: absolute;
  left: 0; top: 2px; bottom: 14px;
  width: 4px;
  background: linear-gradient(180deg, var(--c-deep) 0%, var(--c-light) 100%);
  border-radius: 3px;
}
/* Fade-out underline */
.seo-section h2::after, .seo-content h2::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 10px;
  margin-left: -18px;
  background: linear-gradient(90deg, var(--c-border) 0%, transparent 75%);
}

/* ── H3 ── */
.seo-section h3, .seo-content h3 {
  font-family: 'Lexend', var(--f-b);
  font-size: 15px;
  color: var(--c-ocean);
  margin: 22px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--c-light);
}

/* ── Paragraphs ── */
.seo-section p, .seo-content p {
  color: var(--c-txt-s);
  font-size: 14px;
  line-height: 1.82;
  margin: 9px 0;
}

/* ── UL: custom arrow bullets ── */
.seo-section ul, .seo-content ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}
.seo-section ul li, .seo-content ul li {
  position: relative;
  padding: 6px 10px 6px 32px;
  border-radius: 8px;
  color: var(--c-txt-s);
  font-size: 14px;
  line-height: 1.7;
  margin: 3px 0;
  transition: background .18s;
}
.seo-section ul li::before, .seo-content ul li::before {
  content: '›';
  position: absolute;
  left: 11px; top: 8px;
  color: var(--c-ocean);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.seo-section ul li:hover { background: var(--c-foam); }

/* ── OL: numbered circle badges ── */
.seo-section ol, .seo-content ol {
  list-style: none;
  padding-left: 0;
  counter-reset: seo-ol;
  margin: 12px 0;
}
.seo-section ol li, .seo-content ol li {
  counter-increment: seo-ol;
  position: relative;
  padding: 6px 10px 6px 40px;
  border-radius: 8px;
  color: var(--c-txt-s);
  font-size: 14px;
  line-height: 1.7;
  margin: 4px 0;
  transition: background .18s;
}
.seo-section ol li::before, .seo-content ol li::before {
  content: counter(seo-ol);
  position: absolute;
  left: 8px; top: 10px;
  width: 22px; height: 22px;
  line-height: 22px; text-align: center;
  background: linear-gradient(135deg, var(--c-deep), var(--c-ocean));
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.seo-section ol li:hover { background: var(--c-foam); }

/* ── Strong / key terms ── */
.seo-section strong, .seo-content strong {
  color: var(--c-txt-h);
  font-weight: 700;
}

/* ── Links ── */
.seo-section a, .seo-content a {
  color: var(--c-ocean);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.seo-section a:hover, .seo-content a:hover {
  color: var(--c-deep);
  border-bottom-color: var(--c-light);
}

/* ── Scroll offset ── */
.seo-content h2[id], .seo-content h3[id],
.seo-section h2[id], .seo-section h3[id] { scroll-margin-top: 66px; }

.seo-wrapper { max-width: 680px; margin-inline: auto; }

/* ── Rich Footer ──────────────────────────────────────────── */
.site-footer { background: #061E45; }
.footer-wave { line-height: 0; margin-bottom: -2px; }
.footer-wave svg { display: block; width: 100%; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px 20px 28px;
  max-width: 720px; margin-inline: auto;
}
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }

.footer-brand .footer-logo {
  font-family: var(--f-h); font-size: 20px;
  color: var(--c-gold); margin-bottom: 10px;
  text-shadow: 0 0 14px rgba(255,215,0,.3);
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; }

.footer-links h4 {
  font-family: var(--f-b); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-seafoam); margin-bottom: 14px;
}
.footer-links a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,.65); margin-bottom: 9px;
  transition: opacity .2s, color .2s;
}
.footer-links a:hover { color: var(--c-gold); opacity: 1; }

.footer-bottom {
  max-width: 720px; margin-inline: auto;
  padding: 14px 20px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── Index page hero-image system ─────────────────────────── */
/* These keep the rem-based layout for the full-screen image overlay */
#top {
  position: fixed; top: 0; left: 0;
  width: 100px; height: 100px;
  background-size: 70px; background-repeat: no-repeat; z-index: 999;
}
.container.hero-container, .hero-container { position: relative; max-width: 720px; margin-inline: auto; z-index: 0; }
.hero-container .downBtn {
  position: absolute; top: 37.5%; left: 23%; width: 55%; height: 1.2rem;
  background-image: url("../img/btn_download.png");
  background-size: 100% 100%; background-repeat: no-repeat;
}
.hero-container .downNum { position: absolute; top: 46.8%; right: 37%; width: 2rem; }
.hero-container .kefu a {
  position: fixed; top: 10%; right: 2%;
  width: 1rem; height: 1.2rem;
  background-image: url("../img/btn_advisory.png");
  background-size: 100% 100%; z-index: 999;
}
.bannerBox { position: absolute; left: 3%; top: 57.5%; width: 92%; height: 3.4rem; }
.banner { margin: 0 auto; width: 90%; height: 100%; overflow: hidden; }
.swiper-slide > img { width: 100%; }
.hero-container .footer { position: absolute; bottom: 0; right: 0; width: 100%; height: 2rem; color: #fff; }
.webLink {
  margin-top: .5rem; margin-bottom: 10px;
  display: flex; justify-content: space-evenly;
  flex-wrap: wrap; align-items: center; width: 100%; font-size: .25rem;
}
.linkInfo { margin: 5px 0; text-decoration: underline; cursor: pointer; color: #fff; }

/* ── Odds table (games page) ──────────────────────────────── */
.odds-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 14px; }
.odds-table th {
  background: linear-gradient(135deg, #0A5FAF, #1478CC);
  color: var(--c-gold); font-family: var(--f-h); font-size: 13px;
  padding: 11px 14px; text-align: left; border: none;
}
.odds-table td { padding: 9px 14px; border-bottom: 1px solid var(--c-border); color: var(--c-txt); vertical-align: top; font-size: 13px; }
.odds-table tr:nth-child(even) td { background: var(--c-foam); }
.odds-table tr:hover td { background: #D0EAF8; }
.odds-table .game-name { font-weight: 600; color: var(--c-txt-h); }
.badge-low  { display:inline-block; background:#D1FAF0; color:#0A7A5A; border-radius:8px; padding:2px 8px; font-size:11px; font-weight:600; }
.badge-med  { display:inline-block; background:#FFF3CD; color:#856404; border-radius:8px; padding:2px 8px; font-size:11px; font-weight:600; }
.badge-high { display:inline-block; background:#FFE0DE; color:#8B1A1A; border-radius:8px; padding:2px 8px; font-size:11px; font-weight:600; }

.strategy-card {
  background: linear-gradient(160deg, #E8F6FF 0%, #fff 60%);
  border: 1px solid var(--c-border); border-radius: 16px; padding: 20px;
  margin-bottom: 14px; border-left: 4px solid var(--c-seafoam);
}
.strategy-card h3 { font-family: var(--f-h); font-size: 16px; color: var(--c-txt-h); margin-bottom: 7px; }
.strategy-card p  { font-size: 13px; color: var(--c-txt-s); line-height: 1.7; }

/* ── Misc ─────────────────────────────────────────────────── */
.seo-title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Stats strip (bonus hero) */
.stats-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,.1);
  border-radius: 14px; overflow: hidden; margin: 28px 0 0;
}
.stat-item { background: rgba(255,255,255,.08); text-align: center; padding: 16px 10px; }
.stat-item .stat-val {
  display: block; font-family: var(--f-h);
  font-size: 26px; font-weight: 700; color: var(--c-gold);
  line-height: 1.1; margin-bottom: 4px;
}
.stat-item .stat-lbl { font-size: 11px; color: rgba(255,255,255,.8); letter-spacing: .5px; }

/* ════════════════════════════════════════════════════════════
   Desktop two-column home layout  (≥ 960 px)
   Left  : hero download section  (420 px fixed, sticky)
   Right : SEO content column (fluid, scrolls with page — no internal scrollbar)
   ════════════════════════════════════════════════════════════ */
@media (min-width: 960px) {

  .home-split {
    display: flex;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
  }

  /* ── Left: sticky hero column ── */
  .home-split > main#home {
    width: 420px;
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow: hidden;
  }

  /* make inner container fill the 420 px column exactly */
  .home-split > main#home .container,
  .home-split > main#home .hero-container {
    width: 420px !important;
    max-width: 420px !important;
    margin: 0;
  }

  /* hide the wave divider that sits between the two sections */
  .home-split .wave-divider { display: none; }

  /* ── Right: SEO column — flows naturally with the page, NO internal scroll ── */
  .home-split > .seo-section {
    flex: 1;
    min-width: 0;
    padding: 28px 28px 48px;
    background: var(--c-bg);
    border-left: 1px solid var(--c-border);
  }

  /* container fills the column and keeps its card padding */
  .home-split > .seo-section > .container {
    width: 100%;
    max-width: 100%;
  }

  /* ── Fix rem-based hero overlay elements for 420 px column ──
     Design canvas = 750 px → scale factor ≈ 0.56
  ── */
  .home-split .hero-container .downBtn  { height: 67px; }
  .home-split .hero-container .downNum  { width: 112px; }
  .home-split .bannerBox                { height: 190px; }
  .home-split .hero-container .footer   { height: 112px; }
  .home-split .webLink                  { font-size: 14px; }
  .home-split .hero-container .kefu a   { width: 52px; height: 62px; }
  .home-split .hero-container .footer p { font-size: 12px !important; margin-bottom: 10px !important; }

  /* ── SEO typography fine-tuned for desktop column ── */
  .home-split > .seo-section h2         { font-size: 18px; margin-top: 28px; }
  .home-split > .seo-section p          { font-size: 13.5px; line-height: 1.78; }
  .home-split > .seo-section ul li,
  .home-split > .seo-section ol li      { font-size: 13.5px; padding-top: 7px; padding-bottom: 7px; }
}

