﻿/* ============================================
   kilisee.com – Main Stylesheet
   Päivitetty: Huhtikuu 2026
   ============================================ */

:root {
  /* Kilisee – maskuliininen: lähes-musta + amber + punainen CTA */
  --green-dark:   #0e1016;   /* Lähes musta (header, footer) */
  --green-mid:    #181c28;   /* Syvä tummanharmaa (napit, sisältö) */
  --green-light:  #272d42;   /* Hover-tila */
  --gold:         #CF9010;   /* Amber-kulta – logon pääväri */
  --gold-light:   #EDB030;   /* Kirkas amber – korostukset */
  --gold-dark:    #9A6A08;   /* Tumma amber – gradienttien pohja */
  --cta:          #C82020;   /* Punainen CTA – toiminta, urgenssi */
  --cta-hover:    #E02828;
  --cream:        #f2f2f5;   /* Viileä neutraali tausta */
  --white:        #ffffff;
  --text-dark:    #14141a;
  --text-mid:     #464658;
  --text-light:   #767690;
  --accent-green: #1a8a40;   /* Vihreä luottamusmerkeille */
  --red-star:     #e63946;
  --badge-new:    #2a9d8f;
  --badge-hot:    #e76f51;
  --radius:       9px;       /* Terävämpi, maskuliinisempi */
  --shadow:       0 4px 28px rgba(0,0,0,.20);
  --shadow-card:  0 2px 18px rgba(0,0,0,.11);
  --transition:   .20s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: clip; /* clip ei riko position:sticky kuten hidden */
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: clip;
  min-width: 320px;
}

img { max-width: 100%; display: block; }
a  { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ── Typography ── */
h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem);  font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem;   font-weight: 600; }
p  { margin-bottom: 1rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-sub {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
section    { padding: 4rem 0; }

/* ── HEADER ── */
.site-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a1e2e 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  overflow: visible;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.logo span { color: var(--gold); }
.logo-icon { font-size: 1.8rem; }
.logo-img  { width: 38px; height: 38px; display: block; }

/* NAV */
.nav-menu { list-style: none; display: flex; gap: 0.25rem; }
.nav-menu a {
  color: rgba(255,255,255,.88);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255,255,255,.12);
  color: var(--gold-light);
}

/* hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #080a10 0%, var(--green-dark) 40%, #181c28 100%);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(207,144,16,.18);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(200,28,28,.07) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23CF9010' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.6); letter-spacing: -.01em; }
.hero h1 span { color: var(--gold-light); }
.hero-sub { font-size: 1.15rem; opacity: .88; max-width: 620px; margin: 0 auto 2.2rem; }
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,.22); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 100%);
  color: var(--green-dark);
  box-shadow: 0 2px 12px rgba(207,144,16,.3);
}
.btn-gold:hover { color: var(--green-dark); box-shadow: 0 6px 20px rgba(207,144,16,.5); }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-green {
  background: var(--green-mid);
  color: var(--white);
}
.btn-green:hover { background: var(--green-light); color: var(--white); }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* CTA – punainen toimintapainike kasinokorteissa */
.btn-cta {
  background: linear-gradient(135deg, #9A1414 0%, var(--cta) 50%, #E83030 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.97rem;
  letter-spacing: .35px;
  box-shadow: 0 3px 18px rgba(200,28,28,.38);
  position: relative;
  overflow: hidden;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.btn-cta:hover {
  color: var(--white);
  background: linear-gradient(135deg, #B01818 0%, var(--cta-hover) 55%, #F03838 100%);
  box-shadow: 0 7px 28px rgba(200,28,28,.55);
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 3px 18px rgba(200,28,28,.38); }
  50%       { box-shadow: 0 3px 28px rgba(200,28,28,.65); }
}
.casino-card .btn-cta { animation: ctaPulse 2.8s ease-in-out infinite; }

/* ── TRUST BAR ── */
.trust-bar {
  background: linear-gradient(90deg, #0c0f18 0%, var(--green-dark) 50%, #0c0f18 100%);
  color: rgba(255,255,255,.82);
  padding: 0.7rem 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(207,144,16,.2);
}
.trust-inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.trust-item { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.trust-item .icon { color: var(--gold); font-size: 1rem; }

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--green-mid);
  background: var(--white);
  color: var(--green-mid);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--green-mid);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

/* ── CASINO CARDS ── */
.casino-grid { display: grid; gap: 1.25rem; }

.casino-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  position: relative;
  border: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.casino-card:hover {
  border-color: var(--cta);
  box-shadow: 0 8px 36px rgba(200,28,28,.14);
  transform: translateY(-3px);
}
.casino-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf5 0%, var(--white) 60%, #fffbf0 100%);
  box-shadow: 0 4px 24px rgba(207,144,16,.2);
}

.casino-badge {
  position: absolute;
  top: -11px;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(207,144,16,.4);
}
.casino-badge.hot { background: linear-gradient(135deg, #c04020, var(--badge-hot)); color: var(--white); }
.casino-badge.new { background: linear-gradient(135deg, #1a7a6a, var(--badge-new)); color: var(--white); }

.casino-logo-wrap {
  width: 90px;
  height: 65px;
  border-radius: 10px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.casino-logo-text {
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.3rem;
  line-height: 1.2;
}
.casino-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.casino-info h3 { margin-bottom: 0.25rem; color: var(--text-dark); font-size: 1.1rem; }

.stars { display: flex; gap: 2px; margin-bottom: 0.4rem; align-items: center; }
.star { color: var(--gold); font-size: 1rem; }
.star.empty { color: #ddd; }
.rating-text { font-size: 0.82rem; color: var(--text-light); margin-left: 0.4rem; }

.casino-bonus {
  background: linear-gradient(135deg, #fffbf0 0%, #fff7e5 100%);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--gold);
}
.bonus-amount { font-size: 1.05rem; font-weight: 800; color: var(--green-mid); }
.bonus-label  { font-size: 0.8rem; color: var(--text-mid); }

.casino-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: #eef2ff;
  color: var(--text-mid);
  font-weight: 500;
}

.casino-action { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; min-width: 135px; }
.casino-action .btn { width: 100%; justify-content: center; }
.age-note { font-size: 0.72rem; color: var(--text-light); text-align: center; }
.review-link { font-size: 0.8rem; color: var(--green-mid); }
.review-link:hover { color: var(--gold); }

/* ── BONUS TABLE ── */
.bonus-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.88rem;
}
.bonus-table th {
  background: linear-gradient(90deg, var(--green-dark) 0%, #1a1e2e 60%, #1c2030 100%);
  color: var(--gold-light);
  padding: 1rem 1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.bonus-table th:first-child { border-radius: var(--radius) 0 0 0; padding-left: 1.25rem; }
.bonus-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.bonus-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.bonus-table td:first-child { padding-left: 1.25rem; }
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table tr:hover td { background: #fffdf5; }
.bonus-table tr.featured-row td { background: linear-gradient(90deg, #fffbef, #fff9e8); }
.bonus-table tr.featured-row:hover td { background: #fff8e0; }
.bonus-table tr.featured-row td:first-child { border-left: 3px solid var(--gold); }
.bonus-table .amount { font-weight: 700; color: var(--green-mid); font-size: 0.92rem; }
.bonus-table .check  { color: var(--accent-green); font-size: 1.1rem; }
.bonus-table .cross  { color: #ccc; font-size: 1.1rem; }
.bonus-table .casino-logo-cell { display: flex; align-items: center; gap: 0.6rem; }
.bonus-table .casino-logo-cell img { height: 28px; width: auto; object-fit: contain; border-radius: 4px; background: var(--green-dark); padding: 2px 4px; }
.bonus-table .top-badge { font-size: 0.68rem; background: var(--gold); color: #1a1a2e; padding: 1px 5px; border-radius: 3px; font-weight: 700; letter-spacing: .5px; vertical-align: middle; margin-left: 3px; }

/* ── WHY US GRID ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--gold);
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
  border-radius: 16px;
  margin: 0 auto 1rem;
}
.why-card h3 { margin-bottom: 0.5rem; color: var(--green-mid); font-size: 1.05rem; }
.why-card p  { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-img {
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.blog-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}
.blog-img-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,.9);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  margin: 0 0.75rem 0.75rem;
  background: rgba(207,144,16,.85);
  border-radius: 4px;
  position: relative;
  z-index: 2;
}
.blog-img > span { position: relative; z-index: 2; }
/* Legacy gradient fallbacks */
.blog-img.sports  { background-color: #1c2030; }
.blog-img.casino  { background-color: #2d1b4e; }
.blog-img.betting { background-color: #111318; }
.blog-img.women   { background-color: #3d1a2d; }

.blog-body { padding: 1.4rem; }
.blog-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.6rem; display: flex; gap: 1rem; align-items: center; }
.blog-cat  { color: var(--gold); font-weight: 700; }
.blog-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p  { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 1rem; }
.blog-card .read-more { font-size: 0.85rem; font-weight: 700; color: var(--green-mid); display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-card .read-more:hover { color: var(--gold); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e8e8f0;
  padding: 1.2rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  gap: 1rem;
}
.faq-question .faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: background var(--transition), transform var(--transition);
}
.faq-item.open .faq-toggle { background: var(--gold); color: var(--green-dark); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-top: 0.8rem;
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── RESPONSIBLE GAMBLING ── */
.responsible-bar {
  background: linear-gradient(90deg, #0a0c14, var(--green-dark), #0a0c14);
  color: rgba(255,255,255,.85);
  padding: 1rem 0;
  font-size: 0.82rem;
  text-align: center;
  border-top: 1px solid rgba(207,144,16,.15);
}
.responsible-bar a { color: var(--gold-light); text-decoration: underline; }
.responsible-logos { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.6rem; }
.responsible-logo-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(207,144,16,.25);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* ── FOOTER ── */
.site-footer {
  background: linear-gradient(160deg, #0a0c14 0%, var(--green-dark) 100%);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(207,144,16,.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; opacity: .75; }
.footer-col h4 { color: var(--gold); margin-bottom: 1rem; font-size: 0.88rem; text-transform: uppercase; letter-spacing: .8px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  opacity: .55;
}

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(90deg, #111318 0%, var(--green-mid) 50%, #111318 100%);
  color: var(--white);
  padding: 2rem 0;
  border-top: 2px solid rgba(207,144,16,.2);
  border-bottom: 2px solid rgba(207,144,16,.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--gold-light); line-height: 1; margin-bottom: 0.3rem; }
.stat-label  { font-size: 0.85rem; opacity: .8; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 0.4rem; opacity: .5; }

/* ── NOTICE BOX ── */
.notice-box {
  background: linear-gradient(135deg, #fffbf0, #fff7e5);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  box-shadow: 0 2px 8px rgba(207,144,16,.1);
}

/* ── TOP PICK RIBBON ── */
.top-pick { position: relative; }
.top-pick::after {
  content: '⭐ TOP VALINTA';
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 0 var(--radius) 0 var(--radius);
  letter-spacing: .4px;
}

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--green-dark);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), box-shadow var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(207,144,16,.4);
  font-weight: 700;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { box-shadow: 0 6px 20px rgba(207,144,16,.6); }

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #0a0c14, var(--green-dark), #0a0c14);
  color: rgba(255,255,255,.88);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-size: 0.85rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(207,144,16,.2);
}
#cookieBanner.hidden { display: none; }
#cookieBanner a { color: var(--gold-light); text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .casino-card { grid-template-columns: 80px 1fr; }
  .casino-action { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  html { font-size: 16px; }

  /* Mobile nav – positioitu suhteessa headeriin */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(160deg, #0a0c14, var(--green-dark));
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    border-top: 1px solid rgba(207,144,16,.15);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.95rem; }
  .hamburger { display: block; }

  .casino-card { grid-template-columns: 1fr; }
  .casino-logo-wrap { width: 100%; height: 60px; }
  .casino-action { flex-direction: column; align-items: stretch; }
  .casino-action .btn { text-align: center; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero::after { display: none; }
  .trust-bar { overflow: hidden; }
  .trust-inner { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 1.5rem; font-size: 0.8rem; }
  .trust-inner::-webkit-scrollbar { display: none; }
  .trust-item { white-space: nowrap; font-size: 0.8rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.8rem; }

  #scrollTop { bottom: 1.2rem; right: 1.2rem; }
  #cookieBanner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 0.35rem; }
  .filter-tab { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
}

/* ── BLOG PAGE SPECIFIC ── */
.blog-hero {
  background: linear-gradient(145deg, var(--green-dark) 0%, #1a1e2e 60%, #1c2030 100%);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
}
.blog-hero h1 { margin-bottom: 0.5rem; }
.blog-hero p  { opacity: .85; max-width: 620px; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin: 2rem 0 1rem; color: var(--green-mid); }
.article-body h3 { margin: 1.5rem 0 0.75rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ── SIDEBAR LAYOUT ── */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  border-top: 3px solid var(--gold);
}
.sidebar-widget h4 { color: var(--green-mid); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #f0f0f0; }

@media (max-width: 860px) {
  .content-sidebar { grid-template-columns: 1fr; }
}

/* ── RATING BADGE ── */
.rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.rating-badge.gold   { background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)); color: var(--green-dark); }
.rating-badge.silver { background: #aaa; color: var(--white); }

/* ── PROGRESS BARS ── */
.progress-bar-wrap { margin-bottom: 0.75rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.25rem; color: var(--text-mid); }
.progress-track { height: 8px; background: #e8e8f0; border-radius: 50px; overflow: hidden; }
.progress-fill  { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius: 50px; transition: width 1s ease; }

/* ── AFFILIATE DISCLAIMER ── */
.affiliate-note {
  background: #f8f8fc;
  border: 1px solid #e0e0ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 1.5rem 0;
}

/* ── VETO TIPS WIDGET ── */
.veto-tip-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.veto-tip-item:last-of-type { border-bottom: none; }
.veto-tip-sport { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: .5px; }
.veto-tip-desc { font-size: 0.85rem; color: var(--text-mid); margin: 0.15rem 0; }
.veto-tip-odds { font-size: 0.88rem; font-weight: 700; color: var(--green-mid); }
.veto-tip-updated { font-size: 0.72rem; color: var(--text-light); margin-top: 0.75rem; display: block; }
