/* ============================================================
   BCN Casino Guide - Casino Affiliate Design
   Dark premium theme: deep navy, gold accents, card UI
   ============================================================ */

:root {
  --bg: #0b1120;
  --bg-2: #0e1630;
  --bg-3: #131c38;
  --panel: #162142;
  --panel-2: #1b2854;
  --text: #eef2ff;
  --text-dim: #a7b0cc;
  --gold: #f5c84c;
  --gold-2: #e2a711;
  --green: #18b85f;
  --green-2: #0e8f4a;
  --red: #e5484d;
  --border: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(245, 200, 76, 0.35);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --container: 1180px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
          "Meiryo", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-main { flex: 1 0 auto; }

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 50%, var(--bg-2) 62%, transparent 64%),
    repeating-conic-gradient(from 0deg, var(--gold) 0deg 18deg, transparent 18deg 36deg);
  border: 1px solid var(--border-gold);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--gold), #ffe9a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub { font-size: 0.72rem; color: var(--text-dim); }

.site-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 0.18s, background 0.18s;
}

.nav-link:hover { color: var(--text); }

.nav-link.is-active {
  color: var(--gold);
  background: rgba(245, 200, 76, 0.1);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 8px 20px 16px;
}

.nav-mobile a {
  padding: 12px 6px;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile.is-open { display: flex; }
/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #231a02;
  box-shadow: 0 8px 20px rgba(245, 200, 76, 0.3);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(24, 184, 95, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ============================================================
   Badges
   ============================================================ */

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-cat {
  background: rgba(245, 200, 76, 0.14);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

/* ============================================================
   Sections
   ============================================================ */

.section { padding: 56px 0; }

.section-alt { background: var(--bg-2); }

.section-head { margin-bottom: 28px; }

.section-head h2 { font-size: 1.6rem; margin-bottom: 6px; }

.section-head p { color: var(--text-dim); }

.section-actions { margin-top: 32px; text-align: center; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ============================================================
   Cards / Grids
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}

.card-media { aspect-ratio: 16 / 9; overflow: hidden; }

.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }

.card:hover .card-media img { transform: scale(1.04); }

.card-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-3), var(--panel));
}

.placeholder-suit { font-size: 3.5rem; color: var(--gold); opacity: 0.5; }

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card-cats { display: flex; gap: 6px; flex-wrap: wrap; }

.card-title { font-size: 1.05rem; line-height: 1.5; }

.card-title a:hover { color: var(--gold); }

.card-excerpt {
  color: var(--text-dim);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  gap: 12px;
}

.featured-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.featured-card { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }

.featured-card .card-media { border-radius: 0; aspect-ratio: auto; }

.featured-card .card-excerpt { -webkit-line-clamp: 4; }
/* ============================================================
   Hero
   ============================================================ */

.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(245, 200, 76, 0.12), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(24, 184, 95, 0.1), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.35;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero h1 .gold {
  background: linear-gradient(90deg, var(--gold), #ffe9a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p { color: var(--text-dim); max-width: 60ch; margin-bottom: 28px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  background: var(--bg-3);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.hero-card:nth-child(2) { animation-delay: 0.7s; color: var(--red); border-color: rgba(229, 72, 77, 0.35); }
.hero-card:nth-child(3) { animation-delay: 1.4s; }
.hero-card:nth-child(4) { animation-delay: 2.1s; color: var(--green); border-color: rgba(24, 184, 95, 0.35); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-strip {
  border-top: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.55);
}

.hero-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ============================================================
   Category tiles
   ============================================================ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-grid-sm { grid-template-columns: repeat(4, 1fr); }

.category-tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.category-tile:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}

.category-count {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(24, 184, 95, 0.12);
  padding: 2px 10px;
  border-radius: 999px;
}

.category-tile h3 { font-size: 1.02rem; }

.category-link { color: var(--gold); font-size: 0.82rem; font-weight: 700; margin-top: 4px; }

.category-sample { color: var(--text-dim); font-size: 0.78rem; line-height: 1.6; }

.category-sample li::before { content: "♠ "; color: var(--gold); }

/* ============================================================
   Page hero (list / taxonomy) + CTA banner
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.page-hero h1 { font-size: 2rem; margin-bottom: 10px; }

.page-hero h1 .cat-articles-count { font-size: 0.9rem; color: var(--text-dim); font-weight: 600; }

.page-hero p { color: var(--text-dim); }

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(245, 200, 76, 0.14), transparent 60%),
    var(--panel);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 32px;
}

.cta-banner h2 { font-size: 1.4rem; margin-bottom: 6px; }

.cta-banner p { color: var(--text-dim); }
/* ============================================================
   Article / Single page
   ============================================================ */

.article { padding: 36px 0 64px; }

.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb-current { color: var(--text); }

.article-header { margin-bottom: 20px; }

.article-cats { display: flex; gap: 8px; margin-bottom: 12px; }

.article-header h1 { font-size: 1.9rem; line-height: 1.4; margin-bottom: 14px; }

.article-lead {
  color: var(--text-dim);
  font-size: 1.02rem;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.article-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.article-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-figure img { width: 100%; }

.toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 28px;
}

.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold);
}

.toc nav ul { padding-left: 4px; }

.toc nav ul ul { padding-left: 18px; }

.toc nav li { margin: 4px 0; }

.toc nav a { color: var(--text-dim); font-size: 0.88rem; }

.toc nav a:hover { color: var(--gold); }

.article-content {
  font-size: 1rem;
  overflow-wrap: break-word;
}

.article-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 84px;
}

.article-content h2::before { content: "♠ "; color: var(--gold); }

.article-content h3 {
  font-size: 1.12rem;
  margin: 28px 0 12px;
  color: #f8faff;
  scroll-margin-top: 84px;
}

.article-content p { margin-bottom: 16px; }

.article-content ul,
.article-content ol {
  margin: 0 0 18px 4px;
  padding-left: 22px;
}

.article-content ul li { list-style: none; position: relative; padding-left: 6px; margin: 6px 0; }

.article-content ul li::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.7rem;
  position: absolute;
  left: -16px;
  top: 8px;
}

.article-content ol li { margin: 6px 0; }

.article-content blockquote {
  border-left: 3px solid var(--green);
  background: rgba(24, 184, 95, 0.06);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 18px;
  color: var(--text-dim);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 0.88rem;
  display: block;
  overflow-x: auto;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.article-content th { background: var(--panel-2); color: var(--gold); }

.article-content tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

.article-content a { color: var(--gold); border-bottom: 1px dotted var(--border-gold); }

.article-content a:hover { border-bottom-color: var(--gold); }

.article-content strong { color: #fff; }

.article-content code {
  background: var(--bg-3);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.85em;
}
/* FAQ */
.faq { margin-top: 44px; }

.faq h2 { font-size: 1.4rem; margin-bottom: 18px; }

.faq h2::before { content: "💬 "; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 4px;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--gold);
  font-size: 1.1rem;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p { padding: 0 4px 18px; color: var(--text-dim); font-size: 0.92rem; }

/* Article CTA box */
.article-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--panel), var(--bg-3));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.cta-emoji { font-size: 2rem; display: block; margin-bottom: 8px; }

.article-cta p { color: var(--text-dim); margin-bottom: 18px; }

/* Sidebar */
.article-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }

.side-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.side-card h3 { font-size: 0.95rem; margin-bottom: 12px; color: var(--gold); }

.side-card ul { display: flex; flex-direction: column; gap: 6px; }

.side-card li { border-bottom: 1px solid var(--border); padding-bottom: 6px; font-size: 0.85rem; }

.side-card li:last-child { border-bottom: none; padding-bottom: 0; }

.side-card a { color: var(--text-dim); line-height: 1.5; }

.side-card a:hover { color: var(--gold); }

.side-card .count { color: var(--text-dim); font-size: 0.75rem; float: right; }

/* ============================================================
   Pagination
   ============================================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.page-link {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
}

.page-link:hover { border-color: var(--gold); color: var(--gold); }

.page-link.is-current { background: var(--gold); color: #231a02; border-color: var(--gold); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col h3 { font-size: 0.95rem; color: var(--gold); margin-bottom: 14px; }

.footer-col p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-disclaimer {
  border-left: 3px solid var(--red);
  padding-left: 12px;
  font-size: 0.78rem;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links a { color: var(--text-dim); font-size: 0.86rem; }

.footer-links a:hover { color: var(--gold); }

.footer-links .count { color: var(--text-dim); font-size: 0.75rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-dim);
}
/* ============================================================
   404 Error page
   ============================================================ */

.error-page {
  background:
    radial-gradient(700px 400px at 50% -10%, rgba(245, 200, 76, 0.1), transparent 60%),
    var(--bg);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-inner { text-align: center; padding: 60px 20px; }

.error-cards {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.error-cards span {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
}

.error-cards span:nth-child(2) { transform: rotate(4deg); }
.error-cards span:nth-child(3) { transform: rotate(-2deg); color: var(--red); border-color: rgba(229, 72, 77, 0.4); }

.error-code {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.error-page h1 { font-size: 1.6rem; margin-bottom: 12px; }

.error-page p { color: var(--text-dim); margin-bottom: 24px; }

.error-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.error-search { display: flex; justify-content: center; gap: 10px; max-width: 480px; margin: 0 auto; }

.error-search input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--text);
  font-family: inherit;
  outline: none;
}

.error-search input:focus { border-color: var(--gold); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .article-wrapper { grid-template-columns: 1fr; }
  .article-side { position: static; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 52px; padding-bottom: 48px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-cards { margin-top: 8px; }
  .hero-strip-inner { justify-content: center; text-align: center; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .card-media { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid-sm { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .hero-card { width: 58px; height: 58px; font-size: 1.5rem; }
  .cta-banner { padding: 24px; }
  .error-code { font-size: 3.8rem; }
  .error-search { flex-direction: column; }
  .article-header h1 { font-size: 1.5rem; }
}
/* Card reveal (JS adds .is-visible when scrolled into view) */
.card { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}