/* ============================================================
   88 Fortunes Hub — Aurora Mesh / Glassmorphism Theme
   Anton + Epilogue · #ff0080 / #ff00ff / #26171f
   ============================================================ */


/* ── Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #ff0080;
  --fuchsia: #ff00ff;
  --ink: #26171f;
  --ink-90: rgba(38,23,31,0.9);
  --ink-80: rgba(38,23,31,0.8);
  --white: #fff;
  --white-10: rgba(255,255,255,0.10);
  --white-16: rgba(255,255,255,0.16);
  --white-24: rgba(255,255,255,0.24);
  --white-70: rgba(255,255,255,0.70);
  --white-90: rgba(255,255,255,0.90);
  --text: #f5e8ee;
  --text-muted: rgba(245,232,238,0.60);
  --rail-w: 220px;
  --rail-w-mobile: 60px;
  --radius: 10px;
  --gap: clamp(1rem, 3vw, 2rem);
  --max-prose: 72ch;
  --font-head: 'Anton', Impact, sans-serif;
  --font-body: 'Epilogue', system-ui, sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}

/* ── Aurora Mesh Background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255,0,128,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(255,0,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(38,23,31,0.95) 0%, var(--ink) 70%);
  animation: auroraShift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auroraShift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(20deg) brightness(1.08); }
  100% { filter: hue-rotate(-15deg) brightness(0.95); }
}

/* ── Site Wrapper & Rail Layout ── */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── Left Rail Navigation ── */
.rail-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail-w);
  height: 100vh;
  background: rgba(38,23,31,0.80);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid var(--white-10);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
  transition: width var(--transition);
}

.rail-brand {
  padding: 1.25rem 1rem 0.75rem;
  border-bottom: 1px solid var(--white-10);
  flex-shrink: 0;
}

.rail-brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
}

.rail-glyph {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--pink));
  line-height: 1;
}

.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand-logo { width: 120px; height: auto; object-fit: contain; }

/* Details / summary toggle */
.rail-menu-details {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rail-toggle {
  display: none; /* hidden on desktop — details is open via JS on desktop */
  cursor: pointer;
  padding: 0.85rem 1rem;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
  border-bottom: 1px solid var(--white-10);
  min-height: 44px;
  user-select: none;
}

.rail-toggle::-webkit-details-marker { display: none; }

.burger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.burger::before { top: -7px; }
.burger::after  { top: 7px; }

.rail-links {
  list-style: none;
  padding: 0.75rem 0;
  flex: 1;
  overflow-y: auto;
}

.rail-links li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--white-90);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  border-left: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.rail-links li a:hover,
.rail-links li a:focus-visible {
  background: var(--white-10);
  border-left-color: var(--pink);
  color: var(--white);
}

/* CTA buttons in rail */
.rail-ctas {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--white-10);
  flex-shrink: 0;
}

/* ── Global CTA Buttons ── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.cta-signup {
  background: linear-gradient(135deg, var(--pink), var(--fuchsia));
  color: var(--white);
  border: none;
  box-shadow: 0 2px 12px rgba(255,0,128,0.35);
}

.cta-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,0,128,0.55);
}

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

.cta-login:hover {
  background: rgba(255,0,255,0.12);
  transform: translateY(-1px);
}

/* ── Page Canvas ── */
.page-canvas {
  margin-left: var(--rail-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ── Wrap & Layout ── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: calc(var(--gap) * 2);
  align-items: start;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.content-col {
  min-width: 0;
}

/* ── Aurora Mesh Decorative Layer ── */
.aurora-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora-mesh::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background:
    conic-gradient(from 0deg at 30% 50%, transparent 0deg, rgba(255,0,128,0.18) 60deg, transparent 120deg, rgba(255,0,255,0.14) 200deg, transparent 280deg),
    radial-gradient(ellipse 90% 60% at 60% 40%, rgba(255,0,255,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(255,0,128,0.12) 0%, transparent 60%);
  animation: meshFlow 14s linear infinite alternate;
  mix-blend-mode: screen;
}

@keyframes meshFlow {
  from { transform: translateX(-4%) rotate(-2deg); }
  to   { transform: translateX(4%) rotate(2deg); }
}

.aurora-mesh--sm::before { animation-duration: 10s; }

/* ── Hero (Home) ── */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem var(--gap);
  text-align: center;
}

.hero-bg-numeral {
  position: absolute;
  font-family: var(--font-head);
  font-size: clamp(14rem, 40vw, 28rem);
  line-height: 1;
  color: rgba(255,0,128,0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-icon {
  font-size: clamp(3rem, 8vw, 5rem);
  filter: drop-shadow(0 0 20px var(--fuchsia));
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 16px var(--fuchsia)); }
  50%       { transform: scale(1.06); filter: drop-shadow(0 0 32px var(--pink)); }
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
  background: linear-gradient(135deg, #fff 30%, var(--pink) 70%, var(--fuchsia) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-h1 span { display: block; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-70);
  max-width: 58ch;
  text-align: center;
}

/* ── Inner Hero (service / faq / etc.) ── */
.inner-hero {
  position: relative;
  min-height: 28vh;
  display: flex;
  align-items: flex-end;
  padding: 3rem var(--gap) 2.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--white-10);
}

.inner-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.inner-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  background: linear-gradient(110deg, #fff 40%, var(--pink) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.inner-hero-img {
  position: absolute;
  right: var(--gap);
  bottom: 0;
  z-index: 1;
  opacity: 0.45;
}

.inner-hero-img img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.page-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
}

/* ── Byline ── */
.byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.byline-author { font-weight: 600; color: var(--white-70); }
.byline-sep { color: var(--pink); }

/* ── Stage Badge ── */
.stage-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.stage-awareness    { background: rgba(255,0,128,0.18); color: var(--pink); }
.stage-consideration { background: rgba(255,0,255,0.18); color: var(--fuchsia); }
.stage-decision     { background: rgba(255,255,255,0.12); color: var(--white-90); }

/* ── Prose ── */
.prose {
  max-width: var(--max-prose);
}

.prose h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.prose h3 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.15;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--pink);
}

.prose h2 > span,
.prose h3 > span {
  display: inline;
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prose p { margin-bottom: 1.1rem; }

.prose a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.prose a:hover { color: var(--fuchsia); }

.prose ul, .prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
}

.prose li { margin-bottom: 0.35rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  margin-bottom: 1.5rem;
}

.prose table th,
.prose table td {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--white-16);
  text-align: left;
}

.prose table th {
  background: rgba(255,0,128,0.12);
  font-weight: 700;
  color: var(--white);
}

.prose blockquote {
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  color: var(--white-70);
  font-style: italic;
  margin: 1.5rem 0;
}

/* ── Section Headings (outside prose) ── */
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.section-heading > span {
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Cards Grid (Home) ── */
.home-cards {
  padding: 3rem 0;
}

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

/* ── Glassmorphism Card ── */
.card, .glass {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--white-16);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.card::before, .glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,0,128,0.06) 0%, rgba(255,0,255,0.04) 100%);
  pointer-events: none;
}

.card-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.card-title > span {
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--white-70);
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

.card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover { gap: 0.5rem; color: var(--fuchsia); }

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  padding: 1.4rem;
}

.sidebar-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
  color: var(--white);
}

.sidebar-heading > span {
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sidebar-links li a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--white-70);
  text-decoration: none;
  border-bottom: 1px solid var(--white-10);
  transition: color var(--transition), padding-left var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sidebar-links li a:hover { color: var(--pink); padding-left: 0.4rem; }

/* ── Responsible Gambling Card ── */
.rg-card { border-color: rgba(255,0,128,0.25); }
.rg-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ── Child Table ── */
.child-table-section,
.cases-table-section {
  margin-top: 2.5rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--white-16);
}

.child-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.child-table th,
.child-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--white-10);
}

.child-table th {
  background: rgba(255,0,128,0.10);
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.child-table td { color: var(--white-70); }

.child-table td a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.child-table td a:hover { color: var(--fuchsia); }

.child-table tbody tr:hover td {
  background: rgba(255,255,255,0.04);
}

/* ── Author Section ── */
.author-section {
  margin-top: 2.5rem;
  padding: 2rem;
}

.author-heading {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.author-heading > span {
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-size: 0.82rem;
  color: var(--pink);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--white-70);
  line-height: 1.65;
}

/* ── Contact Form ── */
.contact-form-section {
  margin-top: 2.5rem;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-70);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--white-16);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.65rem 0.9rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  min-height: 44px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,0,128,0.18);
}

.btn-contact-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--pink), var(--fuchsia));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 44px;
}

.btn-contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255,0,128,0.4);
}

/* ── Content Section ── */
.content-section {
  padding-top: 0.5rem;
}

/* ── Footer ── */
.site-footer {
  background: rgba(20,10,16,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--white-10);
  margin-top: auto;
}

.footer-top {
  display: flex;
  gap: var(--gap);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem var(--gap) 2rem;
  border-bottom: 1px solid var(--white-10);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-brand { max-width: 320px; }
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer-subscribe { flex: 1; min-width: 260px; max-width: 380px; }

.subscribe-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-70);
  margin-bottom: 0.6rem;
}

.subscribe-row {
  display: flex;
  gap: 0.5rem;
}

.subscribe-row input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--white-16);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.6rem 0.8rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-height: 44px;
}

.subscribe-row input[type="email"]::placeholder { color: var(--text-muted); }

.subscribe-row input[type="email"]:focus {
  outline: none;
  border-color: var(--pink);
}

.btn-subscribe {
  background: linear-gradient(135deg, var(--pink), var(--fuchsia));
  color: var(--white);
  border: none;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.6rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: opacity var(--transition);
}

.btn-subscribe:hover { opacity: 0.88; }

/* ── Footer Columns (3 DL) ── */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem var(--gap);
  border-bottom: 1px solid var(--white-10);
  width: 100%;
}

.footer-dl { display: block; }

.dl-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 0.8rem;
}

.footer-dl dd { margin: 0 0 0.4rem; }

.footer-dl dd a {
  color: var(--white-70);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
  display: inline-block;
  min-height: 32px;
  line-height: 32px;
}

.footer-dl dd a:hover { color: var(--pink); }

/* ── Footer Bar ── */
.footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem var(--gap);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-rg {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1 1 100%;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-trust {
  font-size: 0.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-trust a {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition);
}

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

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  body::before { animation: none; }
  .hero-icon { animation: none; }
  .aurora-mesh::before { animation: none; }
}

/* ── FAQ Styles ── */
.faq-prose details {
  border: 1px solid var(--white-16);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  background: rgba(255,255,255,0.05);
}

.faq-prose details summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-prose details summary::-webkit-details-marker { display: none; }

.faq-prose details[open] summary { color: var(--pink); }

.faq-prose details > *:not(summary) {
  padding: 0 1.2rem 1.2rem;
  color: var(--white-70);
  font-size: 0.95rem;
}

/* ── Mobile Navigation (≤768px) ── */
@media (max-width: 768px) {
  :root { --rail-w: 0px; }

  .site-wrapper { flex-direction: column; }

  .rail-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--white-10);
    z-index: 200;
  }

  .rail-brand {
    padding: 0.6rem 0.5rem 0.6rem 0;
    border-bottom: none;
    border-right: 1px solid var(--white-10);
    margin-right: 0.5rem;
    flex-shrink: 0;
  }

  .rail-menu-details {
    flex: 1;
    overflow: visible;
    flex-direction: row;
    align-items: center;
  }

  .rail-toggle {
    display: flex;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-bottom: none;
  }

  .rail-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(38,23,31,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--white-10);
    z-index: 199;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .rail-menu-details:not([open]) .rail-links {
    display: none;
  }

  .rail-ctas {
    flex-direction: row;
    border-top: none;
    border-left: 1px solid var(--white-10);
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .cta {
    font-size: 0.78rem;
    padding: 0.45rem 0.7rem;
    min-height: 44px;
  }

  .page-canvas {
    margin-left: 0;
    padding-top: 60px;
  }

  .content-with-aside {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .sidebar {
    position: static;
  }

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

  .footer-top {
    flex-direction: column;
  }

  .footer-subscribe { max-width: 100%; }

  .hero { min-height: 60vh; padding: 3rem var(--gap); }

  .inner-hero { padding: 2rem var(--gap) 1.75rem; }

  .inner-hero-img { display: none; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .subscribe-row { flex-direction: column; }
  .subscribe-row input[type="email"],
  .btn-subscribe { width: 100%; }
}

/* ── Holographic shimmer on cards (hover) ── */
@media (hover: hover) {
  .card:hover, .glass.sidebar-card:hover {
    border-color: rgba(255,0,255,0.35);
    box-shadow: 0 4px 32px rgba(255,0,128,0.14), 0 0 0 1px rgba(255,0,255,0.15);
    transition: border-color var(--transition), box-shadow var(--transition);
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(255,0,128,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* 2026-09-26 移动端 tap 目标 ≥40px：品牌链接、页脚链接 */
.rail-brand-link { min-width: 40px; min-height: 40px; justify-content: center; }
.site-footer dd a, .footer-trust a { display: inline-block; padding: 0.45rem 0; }

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