/* ============================================================
   wehrbauten.at – Casino Handyrechnung Österreich
   Mobile-first responsive design, dark casino theme
   ============================================================ */

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

:root {
  --bg:          #0a0f1e;
  --bg2:         #111827;
  --bg3:         #1a2235;
  --border:      #1e2d45;
  --gold:        #f5c518;
  --gold-hover:  #e6b800;
  --green:       #10b981;
  --red:         #ef4444;
  --text:        #e2e8f0;
  --text-muted:  #8899aa;
  --text-dim:    #b0becf;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 4px 20px rgba(0,0,0,.45);
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-w:       1140px;
  --transition:  .2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,15,30,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--text); }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), #e67e22);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-dim);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.active { background: var(--bg3); color: var(--gold); }

/* hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.age-badge {
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-left: 4px;
}

/* mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-dim);
  font-size: .95rem;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--bg3); color: var(--gold); }

/* ---- RESPONSIBLE GAMBLING BANNER ---- */
.rgbar {
  background: #1a1225;
  border-bottom: 1px solid #2d1a40;
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 16px;
}
.rgbar strong { color: var(--text-dim); }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(135deg, #0d1a35 0%, #0a0f1e 60%, #12091f 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 16px 40px;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--bg3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-desc {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 24px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .8rem;
  padding: 5px 12px;
  border-radius: 20px;
}
.hero-tag.green { border-color: var(--green); color: var(--green); }
.hero-tag.gold { border-color: var(--gold); color: var(--gold); }

/* ---- MAIN LAYOUT ---- */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 16px;
}
.content-main { min-width: 0; }
.content-sidebar { min-width: 0; }

/* ---- ARTICLE TYPOGRAPHY ---- */
.article-content h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  margin: 40px 0 14px;
  padding-top: 8px;
  border-top: 2px solid var(--border);
  line-height: 1.3;
}
.article-content h2:first-child { margin-top: 0; border-top: none; }
.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 24px 0 10px;
}
.article-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  margin: 18px 0 8px;
}
.article-content p {
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.8;
}
.article-content ul,
.article-content ol {
  color: var(--text-dim);
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-content li { margin-bottom: 6px; line-height: 1.7; }
.article-content a { color: var(--gold); }
.article-content strong { color: var(--text); }
.article-content em { font-style: italic; }

/* ---- TOC ---- */
.toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.toc h2 {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--gold) !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dim);
  counter-reset: toc;
  list-style: none;
  padding-left: 0;
}
.toc ol li { counter-increment: toc; padding: 4px 0; }
.toc ol li::before {
  content: counter(toc) ". ";
  color: var(--gold);
  font-weight: 600;
  margin-right: 4px;
}
.toc a {
  color: var(--text-dim);
  font-size: .9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.toc a:hover { color: var(--gold); text-decoration: none; }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 480px;
}
.article-content th {
  background: var(--bg3);
  color: var(--gold);
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.article-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: middle;
}
.article-content tr:last-child td { border-bottom: none; }
.article-content tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.article-content tr:hover td { background: rgba(245,197,24,.05); }

/* ---- CASINO CARDS ---- */
.casino-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.casino-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  transition: border-color var(--transition), transform var(--transition);
}
.casino-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.casino-rank {
  width: 36px; height: 36px;
  background: var(--bg3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.casino-rank.top { background: linear-gradient(135deg, var(--gold), #e67e22); color: #000; }
.casino-info { min-width: 0; }
.casino-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.casino-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .78rem;
}
.casino-badge {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 10px;
}
.casino-badge.license { color: var(--green); border-color: rgba(16,185,129,.3); }
.casino-stars { color: var(--gold); font-size: .85rem; margin-top: 4px; }
.casino-bonus { text-align: right; min-width: 0; }
.casino-bonus-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.casino-bonus-label { font-size: .75rem; color: var(--text-muted); }
.casino-carriers {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.carrier {
  font-size: .7rem;
  background: rgba(16,185,129,.12);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.25);
  padding: 2px 7px;
  border-radius: 8px;
}

/* ---- NOTICE BOX ---- */
.notice {
  background: rgba(245,197,24,.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .88rem;
  color: var(--text-dim);
}
.notice.green {
  background: rgba(16,185,129,.07);
  border-color: var(--green);
}
.notice.red {
  background: rgba(239,68,68,.07);
  border-color: var(--red);
}

/* ---- FAQ ACCORDION ---- */
.faq-list { margin-bottom: 24px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
  background: var(--bg2);
  transition: background var(--transition), color var(--transition);
  user-select: none;
  list-style: none;
}
.faq-question:hover { background: var(--bg3); color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: transform .3s, background var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #000; }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  background: var(--bg2);
  color: var(--text-dim);
  font-size: .92rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.faq-item.open .faq-answer { display: block; }

/* ---- STEPS ---- */
.steps { margin-bottom: 24px; }
.step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e67e22);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: #000;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-body h4 {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--text) !important;
  margin: 0 0 6px !important;
}
.step-body p { margin: 0; color: var(--text-dim); font-size: .9rem; }

/* ---- SIDEBAR ---- */
.sidebar-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li .val { color: var(--green); font-weight: 600; white-space: nowrap; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--gold), #e67e22);
  color: #000 !important;
  font-weight: 800;
  font-size: .95rem;
  text-align: center;
  display: block;
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-top: 14px;
  text-decoration: none !important;
  transition: opacity var(--transition);
}
.sidebar-cta:hover { opacity: .9; }
.rg-card {
  background: #1a1225;
  border: 1px solid #2d1a40;
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 24px;
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.rg-card strong { color: var(--text-dim); display: block; margin-bottom: 6px; }
.rg-card a { color: #b44fff; }

/* ---- PROS/CONS TABLE ---- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.pros-box, .cons-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.pros-box { border-top: 3px solid var(--green); }
.cons-box { border-top: 3px solid var(--red); }
.pros-box h4 { color: var(--green); margin-bottom: 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.cons-box h4 { color: var(--red); margin-bottom: 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.pros-box ul, .cons-box ul { list-style: none; padding: 0; margin: 0; }
.pros-box li, .cons-box li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.pros-box li:last-child, .cons-box li:last-child { border-bottom: none; }
.pros-box li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.cons-box li::before { content: "✗"; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { margin: 0 2px; }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, #0d1a35 0%, #0a0f1e 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 16px 32px;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.page-header p { color: var(--text-dim); max-width: 700px; }

/* ---- AUTHOR BOX ---- */
.author-box {
  display: flex;
  gap: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.author-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a5c, #0d4d70);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.author-info h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.author-info .role { color: var(--gold); font-size: .85rem; margin-bottom: 8px; }
.author-info p { color: var(--text-dim); font-size: .88rem; margin: 0; }
.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.author-meta span {
  font-size: .75rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 12px;
}

/* ---- EEAT PILLARS ---- */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.eeat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.eeat-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.eeat-card h3 { color: var(--gold); font-size: 1rem; margin-bottom: 8px; }
.eeat-card p { color: var(--text-dim); font-size: .85rem; margin: 0; line-height: 1.6; }

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .9rem; color: var(--text-dim); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e67e22);
  color: #000;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); }

/* ---- STATIC PAGES ---- */
.static-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 16px;
}
.static-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 36px 0 12px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.static-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.static-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 8px;
}
.static-content p { color: var(--text-dim); margin-bottom: 14px; line-height: 1.8; }
.static-content ul, .static-content ol { color: var(--text-dim); padding-left: 22px; margin-bottom: 14px; }
.static-content li { margin-bottom: 5px; }
.static-content a { color: var(--gold); }
.static-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: .9rem;
}
.static-content th {
  background: var(--bg3);
  color: var(--gold);
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.static-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 16px 32px;
}
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: .85rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-muted); font-size: .88rem; text-decoration: none; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left { font-size: .8rem; color: var(--text-muted); }
.footer-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badge {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.footer-badge.red { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); color: #f87171; }
.footer-disclaimer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- 404 PAGE ---- */
.not-found {
  text-align: center;
  padding: 80px 16px;
  max-width: 500px;
  margin: 0 auto;
}
.not-found .code { font-size: 6rem; font-weight: 900; color: var(--border); line-height: 1; margin-bottom: 16px; }
.not-found h1 { font-size: 1.5rem; color: var(--text); margin-bottom: 12px; }
.not-found p { color: var(--text-dim); margin-bottom: 24px; }

/* ---- COOKIE CONSENT ---- */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 16px;
  z-index: 9999;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: .85rem; color: var(--text-dim); min-width: 200px; }
.cookie-text a { color: var(--gold); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px; height: 42px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 500;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { transform: translateY(-2px); }

/* ---- ABOUT US PAGE ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}
.team-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), #1a3a5c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  border: 2px solid var(--border);
}
.team-name { font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-role { font-size: .82rem; color: var(--gold); margin-bottom: 8px; }
.team-bio { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

/* ---- RESPONSIBLE GAMBLING PAGE ---- */
.help-line {
  background: linear-gradient(135deg, #1a0a2e, #0d1a35);
  border: 1px solid #3d1a5c;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
}
.help-line .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin: 8px 0;
}
.help-line p { color: var(--text-dim); font-size: .9rem; margin: 0; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .content-wrap { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .age-badge { display: none; }

  .hero { padding: 32px 16px 28px; }
  .hero h1 { font-size: 1.45rem; }

  .pros-cons { grid-template-columns: 1fr; }
  .eeat-grid { grid-template-columns: 1fr; }

  .casino-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .casino-bonus {
    grid-column: 2;
    text-align: left;
  }
  .casino-carriers { justify-content: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-meta { justify-content: center; }

  .content-wrap { padding: 24px 16px; gap: 24px; }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .article-content h2 { font-size: 1.2rem; }
  .article-content h3 { font-size: 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .cookie-inner { flex-direction: column; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }

  .casino-card { padding: 14px; }
  .toc { padding: 16px; }
}

/* ---- UTILITY ---- */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   OFFERS CARDS  – competitor-style, gold pill button
   ============================================================ */
.offers-section {
  background: var(--bg2);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px 20px;
  margin-bottom: 36px;
}
.offers-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.offers-sub {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* ── single offer card ── */
.offer-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.offer-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.offer-card.offer-top { border-color: rgba(245,197,24,.5); }

/* ── HEADER row: logo + name + rank badge ── */
.offer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.offer-rank-badge {
  position: absolute;
  top: 12px; right: 16px;
  background: linear-gradient(135deg, var(--gold), #e6b800);
  color: #000;
  font-size: .68rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.offer-logo-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}
.offer-logo-circle img {
  max-width: 52px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.offer-title-block { display: flex; flex-direction: column; gap: 3px; }
.offer-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.offer-license { font-size: .75rem; color: var(--green); }

/* ── BODY: bonus + bottom row ── */
.offer-body { padding: 16px 20px 18px; }
.offer-bonus-big {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}
.offer-bonus-big em {
  color: var(--gold);
  font-style: normal;
}
.offer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.offer-rating-block { display: flex; flex-direction: column; gap: 3px; }
.offer-stars { color: var(--gold); font-size: .95rem; }
.offer-score { font-size: .8rem; color: var(--text-muted); }
.offer-carriers-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

.offer-cta-block { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* ── GOLDEN PILL BUTTON ── */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  background: linear-gradient(160deg, #f5c518 0%, #e6b800 100%);
  color: #0d1117 !important;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(245,197,24,.45), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .15s, box-shadow .15s;
  border: none;
  cursor: pointer;
  min-width: 170px;
  text-align: center;
}
.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,197,24,.65), inset 0 1px 0 rgba(255,255,255,.2);
  color: #0d1117 !important;
  text-decoration: none !important;
}
.btn-play:active { transform: translateY(0); }
.offer-terms {
  font-size: .65rem;
  color: var(--text-muted);
  text-align: right;
}
.offers-disclaimer {
  font-size: .75rem;
  color: var(--text-muted);
  margin: 14px 0 0;
  line-height: 1.5;
}

/* ---- CASINO CARD LOGO ---- */
.casino-logo-inline {
  background: #fff;
  border-radius: 5px;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
}
.casino-logo-inline img { max-height: 24px; width: auto; object-fit: contain; display: block; }

/* ---- MINI OFFERS (in boni section) ---- */
.mini-offers { margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.mini-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.mini-offer img {
  background: #fff;
  border-radius: 4px;
  padding: 2px 4px;
  object-fit: contain;
  flex-shrink: 0;
}
.inline-cta {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #0d1117 !important;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  margin-left: auto;
  box-shadow: 0 2px 10px rgba(245,197,24,.35);
  transition: opacity .15s, transform .15s;
}
.inline-cta:hover { opacity: .9; transform: translateY(-1px); color: #0d1117 !important; }

/* ── SIDEBAR btn-play override ── */
.sidebar-card .btn-play { min-width: 0; width: 100%; padding: 10px 16px; font-size: .82rem; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .offers-section { padding: 18px 14px 16px; }
  .offer-head { padding: 14px 16px 12px; }
  .offer-logo-circle { width: 52px; height: 52px; }
  .offer-logo-circle img { max-width: 40px; max-height: 40px; }
  .offer-name { font-size: .95rem; }
  .offer-body { padding: 14px 16px 16px; }
  .offer-bonus-big { font-size: 1.1rem; }
  .offer-bottom-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .offer-cta-block { align-items: stretch; }
  .btn-play { width: 100%; min-width: 0; padding: 15px 20px; font-size: 1rem; }
  .offer-terms { text-align: center; }
}
