/* ======================================================
   CasinoClaude - Global Stylesheet
   Modern dark theme with gold accents & subtle motion
   ====================================================== */

:root {
  --bg-0: #0a0a14;
  --bg-1: #11111d;
  --bg-2: #181826;
  --bg-3: #1f1f30;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5fa;
  --text-muted: #b6b6c7;
  --text-dim: #80808f;

  --gold: #ffcc4d;
  --gold-2: #ffa928;
  --gold-glow: rgba(255, 204, 77, 0.35);

  --accent: #7b5cff;
  --accent-2: #4dd3ff;

  --success: #38d39f;
  --danger: #ff5a78;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-1: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.55);

  --max-w: 1200px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  background-image:
    radial-gradient(1200px 600px at 10% -20%, rgba(123, 92, 255, 0.18), transparent 60%),
    radial-gradient(1000px 500px at 110% 10%, rgba(255, 169, 40, 0.12), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(77, 211, 255, 0.08), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 12px;
}
@media (max-width: 840px) {
  .site-header .container { padding-left: 28px; padding-right: 28px; }
  .header-inner { padding: 14px 0; }
}
@media (max-width: 480px) {
  .site-header .container { padding-left: 22px; padding-right: 22px; }
  .header-inner { padding: 12px 0; }
  .logo { font-size: 18px; }
  .logo-mark { width: 32px; height: 32px; }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--text);
  flex-shrink: 0;
}
.logo img {
  height: 68px;
  width: auto;
  max-width: 320px;
  display: block;
  transition: transform 0.3s ease;
}
.logo:hover img { transform: scale(1.03); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1208;
  font-weight: 900;
  box-shadow: 0 6px 20px var(--gold-glow);
}
.logo-mark span { font-size: 18px; }
.logo-text .accent { color: var(--gold); }
@media (max-width: 840px) {
  .logo img { height: 60px; }
}
@media (max-width: 480px) {
  .logo img { height: 52px; max-width: 200px; }
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-hover); }
.nav a.active { color: var(--text); background: var(--surface-hover); }
.lang-pill {
  margin-left: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}
.lang-pill .flag {
  font-size: 15px;
  line-height: 1;
  margin: 0;
  filter: none;
  display: inline-block;
  vertical-align: middle;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 840px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 14px;
    background: rgba(10, 10, 20, 0.96); border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .lang-pill {
    align-self: flex-start;
    margin-left: 14px;
    margin-top: 6px;
    padding: 7px 14px;
    width: auto;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ====================== HERO ====================== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #b9b9d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  animation: fadeUp 0.8s ease both;
}
.hero p.subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 22px;
  animation: fadeUp 0.7s ease both;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(56, 211, 159, 0.15);
  animation: pulse 1.8s infinite;
}

/* Floating background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.blob.a { width: 420px; height: 420px; background: var(--accent); top: -140px; left: -140px; animation: floatA 12s ease-in-out infinite; }
.blob.b { width: 360px; height: 360px; background: var(--gold); top: 20px; right: -120px; animation: floatB 14s ease-in-out infinite; }

/* ====================== COUNTRY GRID ====================== */
.countries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 22px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
  animation: fadeUp 0.9s ease both;
}
.country-card:nth-child(1) { animation-delay: 0.15s; }
.country-card:nth-child(2) { animation-delay: 0.25s; }
.country-card:nth-child(3) { animation-delay: 0.35s; }
.country-card:nth-child(4) { animation-delay: 0.45s; }

.country-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 180px at 50% -20%, rgba(255, 204, 77, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.country-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.country-card:hover::before { opacity: 1; }

.flag {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
  transition: transform 0.4s ease;
}
.country-card:hover .flag { transform: scale(1.08) rotate(-3deg); }

.country-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.country-cta {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}
.country-card:hover .country-cta { gap: 10px; }

@media (max-width: 760px) {
  .countries { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .flag { font-size: 52px; }
}

/* ====================== PAGE LAYOUT ====================== */
.page-hero {
  padding: 56px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeUp 0.7s ease both;
}
.page-hero .lead {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  animation: fadeUp 0.8s 0.1s ease both;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
  justify-content: center;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.4; }

/* Section heading above casino-list / featured-cards */
.list-heading {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 18px 0 22px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #b9b9d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====================== CASINO LIST ====================== */
.casino-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 50px;
}
.casino-card {
  display: grid;
  grid-template-columns: 200px 1.4fr 1fr 1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}
.casino-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.casino-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-1);
}
.casino-card:hover::after { opacity: 1; }

.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1208;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px var(--gold-glow);
  z-index: 2;
}

.casino-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  padding: 4px;
}
.casino-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.casino-card:hover .casino-thumb img { transform: scale(1.04); }

.casino-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 204, 77, 0.12);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.casino-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}
.casino-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.casino-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.casino-bonus {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bonus-label { font-size: 11.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.bonus-amount {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.casino-cta { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.casino-cta .review-link {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-strong);
  padding: 2px 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.casino-cta .review-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1208;
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--gold-glow); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-hover); }

.btn-block { width: 100%; }

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 130px 1fr;
    grid-template-areas:
      "thumb info"
      "bonus bonus"
      "cta cta";
    gap: 14px;
  }
  .casino-thumb {
    grid-area: thumb;
    aspect-ratio: 16 / 10;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
  }
  .casino-thumb img { object-fit: contain; }
  .casino-info { grid-area: info; }
  .casino-bonus { grid-area: bonus; }
  .casino-cta { grid-area: cta; margin-top: 18px; }
}
@media (max-width: 480px) {
  .casino-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "thumb    features"
      "name     features"
      "rating   features"
      "bonus    bonus"
      "cta      cta";
    padding: 16px;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }
  .casino-thumb {
    grid-area: thumb;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 8px;
  }
  /* promote .casino-info children to the card grid */
  .casino-info { display: contents; }
  .casino-info h3 {
    grid-area: name;
    font-size: 1.1rem;
    margin: 0;
  }
  .casino-info .rating {
    grid-area: rating;
    margin: 0;
    justify-self: start;
  }
  .casino-info .casino-features {
    grid-area: features;
    align-self: start;
  }
  .casino-bonus { grid-area: bonus; margin-top: 22px; }
  .casino-cta { grid-area: cta; margin-top: 22px; }
  .btn { font-size: 17px; padding: 16px 26px; }
  .rank-badge { width: 26px; height: 26px; font-size: 12px; top: 10px; left: 10px; }
}

/* ====================== CONTENT ====================== */
.content { padding: 30px 0 80px; }
.content section { margin-bottom: 56px; }

.content h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 12px;
}
.content h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 4px;
}
.content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--text);
}
.content p { margin-bottom: 14px; color: var(--text); }
.content p + p { margin-top: -2px; }
.content strong { color: var(--text); font-weight: 700; }
.content a { color: var(--gold); border-bottom: 1px solid rgba(255, 204, 77, 0.3); transition: border-color 0.2s; }
.content a:hover { border-color: var(--gold); }

/* Lists */
.content ul, .content ol {
  margin: 8px 0 18px;
  padding-left: 22px;
  color: var(--text-muted);
}
.content ul li, .content ol li { margin-bottom: 6px; }
.content ul li::marker { color: var(--gold); }

/* ====================== TABLES ====================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 20px 0 28px;
  background: rgba(255,255,255,0.025);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 600px;
}
table thead { background: rgba(255, 204, 77, 0.07); }
table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-strong);
}
table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
table tr:last-child td { border-bottom: none; }
table tr { transition: background 0.2s ease; }
table tbody tr:hover { background: rgba(255,255,255,0.025); }
table td:first-child, table th:first-child { padding-left: 20px; }

/* ====================== FEATURED CARDS (SE) ====================== */
.featured-cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
  margin: 30px 0 50px;
}
.feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-1);
}
.feat-card.is-hot {
  background: linear-gradient(180deg, rgba(255, 204, 77, 0.10), rgba(255, 169, 40, 0.04));
  border-color: rgba(255, 204, 77, 0.35);
}
.feat-card.is-hot::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 204, 77, 0.4), transparent 50%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
}
.feat-flame {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 22px;
  animation: pulse 2.2s infinite;
}
.feat-thumb {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e8e8f0 100%);
  display: grid;
  place-items: center;
  padding: 10px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.6);
}
.feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feat-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.feat-card.is-hot h3 {
  background: linear-gradient(180deg, #fff, #ffd87a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feat-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.feat-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}
.feat-list li .ico {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}
.feat-card .btn { margin-top: auto; }

@media (max-width: 900px) {
  .featured-cards { grid-template-columns: 1fr; }
}

/* Review banner image */
.review-banner {
  margin: 6px 0 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-3);
  position: relative;
  aspect-ratio: 1024 / 380;
}
.review-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.review-banner:hover img { transform: scale(1.03); }
.review-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,20,0.45));
  pointer-events: none;
}

/* Highlighted callout boxes */
.callout {
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255,204,77,0.05), rgba(255,204,77,0.02));
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 22px 0;
  position: relative;
}
.callout.is-warning {
  background: linear-gradient(180deg, rgba(255, 90, 120, 0.06), rgba(255, 90, 120, 0.02));
  border-color: rgba(255, 90, 120, 0.25);
}
.callout h4,
.callout h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text); font-weight: 700; padding-bottom: 0; }
.callout h3::after { display: none; }

/* ====================== REVIEW PAGE ELEMENTS ====================== */

/* Badge row in hero */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 8px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Welcome bonus card */
.welcome-card {
  background: linear-gradient(180deg, rgba(255, 204, 77, 0.12), rgba(255, 169, 40, 0.04));
  border: 1px solid rgba(255, 204, 77, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  margin: 30px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.welcome-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(255, 204, 77, 0.3), transparent 50%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.welcome-card .eyebrow-label {
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.welcome-card h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 0 0 10px;
  padding-bottom: 0;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, #ffd87a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.welcome-card h2::after { display: none; }
.welcome-card .terms {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 12px auto 22px;
  max-width: 640px;
}
.welcome-card .btn { font-size: 16.5px; padding: 14px 28px; }

/* Score dashboard */
.score-dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin: 18px 0 38px;
}
.score-overall {
  text-align: center;
  padding: 18px 14px;
  background: rgba(255, 204, 77, 0.08);
  border-radius: var(--radius);
}
.score-overall .num {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.score-overall .max { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.score-overall .stars { color: var(--gold); margin-top: 8px; letter-spacing: 2px; }
.score-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.score-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score-item .label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.score-item .bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin: 2px 0;
}
.score-item .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  border-radius: 999px;
}
.score-item .val { font-size: 14.5px; font-weight: 700; color: var(--text); }

@media (max-width: 720px) {
  .score-dashboard { grid-template-columns: 1fr; }
  .score-overall { padding: 14px; }
  .score-overall .num { font-size: 2.4rem; }
}

/* Pros / Cons grid */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 20px 0 30px;
}
.pros-cons > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.pros-cons .pros { border-color: rgba(56, 211, 159, 0.25); background: linear-gradient(180deg, rgba(56, 211, 159, 0.05), rgba(56, 211, 159, 0.01)); }
.pros-cons .cons { border-color: rgba(255, 90, 120, 0.25); background: linear-gradient(180deg, rgba(255, 90, 120, 0.05), rgba(255, 90, 120, 0.01)); }
.pros-cons h3 { margin: 0 0 12px; font-size: 1.05rem; padding-bottom: 0; }
.pros-cons h3::after { display: none; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.pros-cons li:last-child { border-bottom: none; }
.pros-cons .pros li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }
.pros-cons .cons li::before { content: "—"; color: var(--danger); font-weight: 800; flex-shrink: 0; }

@media (max-width: 720px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* Step / numbered boxes */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 32px;
}
.step-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  position: relative;
}
.step-box .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1208;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.step-box h3 { font-size: 1rem; margin: 0 0 8px; padding-bottom: 0; }
.step-box h3::after { display: none; }
.step-box p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Feature mini-cards (e.g., 4-column highlight cards) */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-card .ico { font-size: 24px; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 1rem; margin: 0 0 6px; padding-bottom: 0; }
.feature-card h3::after { display: none; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ====================== CONTACT FORM ====================== */
.contact-form {
  max-width: 720px;
  margin: 16px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.contact-form .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-hover);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-check label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.contact-form .form-check input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--gold);
}
.contact-form button[type="submit"] { align-self: flex-start; }
@media (max-width: 600px) {
  .contact-form .form-grid-2 { grid-template-columns: 1fr; }
}

/* ====================== FOOTER ====================== */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4,
.footer-grid h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 14px; font-weight: 700; padding-bottom: 0; }
.footer-grid h3::after { display: none; }
.footer-grid p, .footer-grid li { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.footer-grid ul { list-style: none; }
.footer-grid a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ====================== ANIMATIONS ====================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(56, 211, 159, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(56, 211, 159, 0.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(30px) translateX(20px); }
}
@keyframes floatA {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(140px, 80px) scale(1.08); }
  50%  { transform: translate(220px, 180px) scale(1.12); }
  75%  { transform: translate(90px, 220px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes floatB {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-120px, 100px) scale(1.1); }
  50%  { transform: translate(-220px, 200px) scale(1.15); }
  75%  { transform: translate(-80px, 260px) scale(1.06); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Reveal-on-scroll utility */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
