/* ===================================
   HOW TO BET HORSE RACING — STYLES
   Gen Z Maximalist · Dark · Neon
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@400;500;600;700&display=swap');

/* ---- TOKENS ---- */
:root {
  --neon: #80ff00;
  --neon2: #00ff00;
  --dark: #1f2617;
  --dark2: #161c10;
  --dark3: #2a3320;
  --ink: #e8f5c8;
  --ink-dim: #a8c070;
  --ink-muted: #6a8040;
  --accent-yellow: #ffe600;
  --accent-pink: #ff3cac;
  --accent-cyan: #00e5ff;
  --header-h: 64px;
  --marquee-h: 36px;
  --max-read: 720px;
  --aside-w: 220px;
  --gap: 2rem;
  --radius: 0;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--dark);
  color: var(--ink);
  font-family: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-decoration: underline; }
a:hover { color: var(--neon2); }

/* ---- NOISE TEXTURE OVERLAY ---- */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---- MARQUEE STRIP ---- */
.marquee-strip {
  background: var(--neon);
  color: var(--dark);
  height: var(--marquee-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 50;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  animation: marquee-scroll 32s linear infinite;
  padding-left: 100%;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; padding-left: 1rem; }
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark2);
  border-bottom: 2px solid var(--neon);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--neon);
  color: var(--dark);
  text-decoration: none;
  font-size: 1.5rem;
}

.brand-mark img { width: 40px; height: 40px; object-fit: contain; }

.brand-icon { line-height: 1; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 2px solid var(--neon);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--neon);
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- CTA BUTTONS ---- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s, transform 0.1s;
  white-space: nowrap;
}

.cta:hover { transform: translate(-1px, -1px); }

.cta-signup {
  background: var(--neon);
  color: var(--dark);
  border: 2px solid var(--neon);
}

.cta-signup:hover {
  background: var(--neon2);
  color: var(--dark);
  border-color: var(--neon2);
}

.cta-login {
  background: transparent;
  color: var(--neon);
  border: 2px solid var(--neon);
}

.cta-login:hover {
  background: var(--neon);
  color: var(--dark);
}

/* ---- FULL-SCREEN MENU OVERLAY ---- */
.full-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 2rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.77,0,0.18,1);
  border-right: 4px solid var(--neon);
}

.full-menu-overlay[aria-hidden="false"] {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .full-menu-overlay { transition: none; }
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--neon);
  color: var(--neon);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-menu-aside { width: 100%; }

.full-menu-overlay nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.full-menu-overlay nav ul li a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  min-height: 44px;
}

.full-menu-overlay nav ul li a:hover,
.full-menu-overlay nav ul li a[aria-current="page"] {
  color: var(--neon);
  border-left-color: var(--neon);
  background: rgba(128,255,0,0.06);
}

/* ---- HERO (HOME) ---- */
.hero-home {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 100vh;
  background: var(--dark2);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(128,255,0,0.07) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(128,255,0,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(128,255,0,0.04) 40px);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 4rem 2rem 2rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent-pink);
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.25rem;
  transform: rotate(-1.5deg);
}

.sticker-tag { box-shadow: 3px 3px 0 var(--dark); }

.hero-copy h1 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-dim);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta { font-size: 1rem; padding: 0 2rem; min-height: 52px; }

.hero-media {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(140%) contrast(1.05);
  mix-blend-mode: screen;
}

.hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background:
    repeating-linear-gradient(45deg, rgba(128,255,0,0.05) 0px, rgba(128,255,0,0.05) 1px, transparent 1px, transparent 20px);
}

.hero-track-art {
  font-size: 8rem;
  filter: drop-shadow(0 0 24px var(--neon));
  animation: jitter 3s infinite;
}

@keyframes jitter {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(1.5deg) scale(1.01); }
  50% { transform: rotate(-1deg) scale(0.99); }
  75% { transform: rotate(0.5deg) scale(1.005); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track-art { animation: none; }
}

/* ---- INNER HERO (non-home) ---- */
.inner-hero {
  background: var(--dark2);
  border-bottom: 3px solid var(--neon);
  padding: 3rem 2rem 2.5rem;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(128,255,0,0.04) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(128,255,0,0.04) 30px);
  position: relative;
}

.inner-hero-copy {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
}

.article-hero-bar {
  background: var(--dark2);
  border-bottom: 3px solid var(--neon);
  padding: 2rem 2rem 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(128,255,0,0.03) 30px);
  position: relative;
}

.article-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.article-hero-content h1 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: #fff;
  margin-top: 0.5rem;
}

.article-hero-media {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  max-height: 320px;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(130%);
}

/* ---- EYEBROW ---- */
.eyebrow {
  display: inline-block;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  background: transparent;
  border-bottom: 2px solid var(--neon);
  padding-bottom: 1px;
  margin-bottom: 0.5rem;
}

.aside-eyebrow {
  font-size: 0.65rem;
  margin-bottom: 0.75rem;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--ink-dim);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--neon); }

.breadcrumb span[aria-hidden] { margin: 0 0.3rem; }

/* ---- BYLINE ---- */
.byline {
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-top: 0.75rem;
  line-height: 1.4;
}

.byline strong { color: var(--neon); }

.byline time { font-variant-numeric: tabular-nums; }

/* ---- STAGE BADGE ---- */
.stage-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.5rem;
}

.stage-awareness { background: var(--accent-cyan); color: var(--dark); }
.stage-consideration { background: var(--accent-yellow); color: var(--dark); }
.stage-decision { background: var(--accent-pink); color: #fff; }

/* ---- MAIN CONTENT LAYOUT ---- */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.content-with-aside {
  display: grid;
  grid-template-columns: var(--aside-w) 1fr;
  gap: var(--gap);
  align-items: start;
}

/* ---- ASIDE ---- */
.page-aside {
  position: sticky;
  top: calc(var(--header-h) + var(--marquee-h) + 1rem);
  background: var(--dark3);
  border: 2px solid var(--dark3);
  border-left: 4px solid var(--neon);
  padding: 1.25rem 1rem;
}

.page-aside nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-aside nav ul li a {
  display: block;
  padding: 0.5rem 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.page-aside nav ul li a:hover,
.page-aside nav ul li a[aria-current="page"] {
  color: var(--neon);
  border-left-color: var(--neon);
}

.aside-sub-label,
.aside-trust-label,
.aside-author-card p,
.aside-child-list a {
  font-size: 0.8rem;
}

.aside-sub-label,
.aside-trust-label {
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
}

.aside-child-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aside-child-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.aside-child-list li a:hover {
  color: var(--neon);
  border-left-color: var(--neon2);
}

.aside-author-card {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(128,255,0,0.2);
  padding-top: 1rem;
}

.aside-author-name {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.aside-author-cred {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.aside-trust-links a {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 0.35rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.aside-trust-links a:hover { color: var(--neon); }

/* ---- PAGE BODY CONTENT ---- */
.page-body { min-width: 0; }

.body-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.body-content h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--neon);
  padding-left: 0.75rem;
}

.body-content h3 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.body-content h4 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--neon);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.body-content p { margin-bottom: 1rem; }

.body-content ul, .body-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.body-content li { margin-bottom: 0.4rem; }

.body-content a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.body-content a:hover { color: var(--neon2); }

.body-content strong { color: #fff; }

.body-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.body-content th {
  background: var(--dark3);
  color: var(--neon);
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 2px solid var(--neon);
  white-space: nowrap;
}

.body-content td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(128,255,0,0.12);
  vertical-align: top;
}

.body-content tr:nth-child(even) td { background: rgba(128,255,0,0.03); }

.body-content blockquote {
  border-left: 4px solid var(--neon);
  padding: 0.75rem 1.25rem;
  background: rgba(128,255,0,0.06);
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--ink-dim);
}

/* ---- HOME CATEGORY BLOCKS ---- */
.home-categories-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(128,255,0,0.15);
}

.section-heading {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.category-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.home-category-block {
  background: var(--dark3);
  padding: 1.5rem;
  border-left: 4px solid var(--neon2);
  position: relative;
  transition: transform 0.15s;
}

.home-category-block:hover { transform: translate(-2px, -2px); }

.home-category-block h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.home-category-block h2 a {
  color: #fff;
  text-decoration: none;
}

.home-category-block h2 a:hover { color: var(--neon); }

.home-category-block p {
  font-size: 0.875rem;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}

.sub-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sub-card {
  background: var(--dark2);
  padding: 0.75rem;
  border-left: 2px solid rgba(128,255,0,0.25);
}

.sub-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sub-card h3 a {
  color: var(--neon);
  text-decoration: none;
}

.sub-card h3 a:hover { color: var(--neon2); text-decoration: underline; }

.sub-card p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.45;
}

/* ---- FAQ CHILD CARDS ---- */
.child-card-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.child-card {
  background: var(--dark3);
  padding: 1.25rem;
  border-top: 3px solid var(--neon);
  transition: transform 0.15s, border-color 0.15s;
}

.child-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--neon2);
}

.child-card h3 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.child-card h3 a {
  color: #fff;
  text-decoration: none;
}

.child-card h3 a:hover { color: var(--neon); }

.child-card p {
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.card-date {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ---- FAQ CHILDREN SECTION ---- */
.faq-children-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(128,255,0,0.1);
}

/* ---- ABOUT AUTHOR BLOCK ---- */
.author-profile-block {
  background: var(--dark3);
  border: 2px solid var(--neon);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.author-name {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.author-credentials {
  font-size: 0.875rem;
  color: var(--neon);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.75;
}

/* ---- DATA / RANKING ---- */
.rank-summary-block {
  background: var(--dark3);
  border-left: 4px solid var(--accent-yellow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.rank-summary-list {
  list-style: none;
  counter-reset: rank;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.rank-summary-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(128,255,0,0.1);
}

.rank-pos {
  background: var(--neon);
  color: var(--dark);
  font-weight: 700;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.75rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- HOME BODY SECTION ---- */
.home-body-section { margin-bottom: 2rem; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark2);
  border-top: 3px solid var(--neon);
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.footer-brand-name {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--neon);
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-trust-links {
  font-size: 0.8rem;
}

.footer-trust-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-trust-links a:hover { color: var(--neon); }

.footer-nav-label {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.75rem;
}

.footer-nav-links {
  font-size: 0.82rem;
  line-height: 2;
}

.footer-nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  display: inline-block;
}

.footer-nav-links a:hover { color: var(--neon); }

.footer-col p a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.82rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-col p a:hover { color: var(--neon); }

.footer-rg-bar {
  background: rgba(128,255,0,0.06);
  border-top: 1px solid rgba(128,255,0,0.15);
  padding: 0.75rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.rg-notice {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.6;
  display: block;
}

.footer-bottom-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(128,255,0,0.08);
  text-align: center;
  padding: 0.75rem 2rem;
}

.footer-bottom-bar small {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ---- SCROLL REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- HOVER MICRO-INTERACTION ON CARDS ---- */
.child-card, .home-category-block, .sub-card {
  will-change: transform;
}

/* ---- RESPONSIVE: TABLET ---- */
@media (max-width: 1024px) {
  :root { --aside-w: 180px; }

  .category-blocks {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

/* ---- RESPONSIVE: MOBILE ---- */
@media (max-width: 768px) {
  .content-with-aside {
    grid-template-columns: 1fr;
  }

  .page-aside {
    position: static;
    order: 2;
    margin-top: 2rem;
  }

  .page-body { order: 1; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .footer-rg-bar { padding: 0.75rem 1rem; }
  .footer-bottom-bar { padding: 0.75rem 1rem; }

  .hero-copy { padding: 2.5rem 1rem 1.5rem; }

  .inner-hero { padding: 2rem 1rem 1.5rem; }

  .article-hero-bar { padding: 1.5rem 1rem 0; }

  main { padding: 1.5rem 1rem; }

  .category-blocks { grid-template-columns: 1fr; }

  .child-card-list { grid-template-columns: 1fr; }

  .cta { padding: 0 0.75rem; font-size: 0.78rem; }

  .header-inner { gap: 0.35rem; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 1.75rem; }

  .body-content h2 { font-size: 1.25rem; }

  .author-name { font-size: 1.25rem; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}