/* spanish-elzonte.com — Casino Utan Svensk Licens */
/* Design: Deep navy + warm gold, Swedish-flag-inspired but elevated for iGaming */

:root {
  --navy: #0B1A2E;
  --navy-mid: #12263F;
  --navy-light: #1A3354;
  --gold: #E8A838;
  --gold-light: #F2C76B;
  --gold-dark: #C48A1E;
  --teal: #2ECDA7;
  --teal-dark: #1EA882;
  --red: #E74C5E;
  --white: #FFFFFF;
  --off-white: #F4F6FA;
  --gray-100: #E8ECF2;
  --gray-200: #CED4DE;
  --gray-400: #8A95A8;
  --gray-600: #5A6478;
  --text: #D6DCE8;
  --text-muted: #8A95A8;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.25);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.15);
  --max-w: 1140px;
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── HEADER ── */
.site-header {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(232,168,56,.15);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
.main-nav a {
  color: var(--gray-200);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy-mid) 0%, #0D2847 40%, #14365E 100%);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,168,56,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--gray-200);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,168,56,.12);
  border: 1px solid rgba(232,168,56,.25);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: .85rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,168,56,.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
}
.btn-teal:hover {
  background: linear-gradient(135deg, #3DE0B8, var(--teal));
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ── SECTIONS ── */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--navy-mid);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.section-title span { color: var(--gold); }
.section-lead {
  color: var(--gray-200);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 40px;
}

/* ── CASINO CARDS ── */
.casino-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.casino-card:hover {
  border-color: rgba(232,168,56,.25);
  box-shadow: var(--shadow-sm);
}
.casino-card.featured {
  border-color: var(--gold);
  position: relative;
}
.casino-card.featured::before {
  content: '⭐ Redaktörens Val';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
}
.casino-logo-wrap {
  width: 100px;
  height: 72px;
  background: var(--navy-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.casino-logo-wrap svg { width: 80px; height: 50px; }
.casino-info h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}
.casino-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.casino-meta span {
  font-size: .82rem;
  color: var(--gray-400);
}
.casino-meta strong {
  color: var(--gold-light);
  font-weight: 600;
}
.casino-bonus {
  font-size: .95rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 4px;
}
.casino-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rating-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
}
.rating-stars {
  color: var(--gold);
  font-size: .85rem;
}
.casino-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

/* ── TABLES ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}
.data-table thead th {
  background: var(--navy-light);
  color: var(--gold-light);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.data-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--text);
}
.data-table tbody tr:hover { background: rgba(232,168,56,.03); }
.data-table .highlight { color: var(--teal); font-weight: 600; }

/* ── PROS & CONS ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}
.pros-box, .cons-box {
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-top: 3px solid;
}
.pros-box { border-color: var(--teal); }
.cons-box { border-color: var(--red); }
.pros-box h3, .cons-box h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--white);
}
.pros-box ul, .cons-box ul { list-style: none; }
.pros-box li, .cons-box li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .92rem;
}
.pros-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.cons-box li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.feature-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(232,168,56,.2);
  transform: translateY(-3px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,168,56,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: .9rem;
  color: var(--gray-400);
}

/* ── INFO BOXES ── */
.info-box {
  background: rgba(46,205,167,.06);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p { color: var(--gray-200); font-size: .92rem; }
.warning-box {
  background: rgba(231,76,94,.06);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.warning-box p { color: var(--gray-200); font-size: .92rem; }

/* ── FAQ ── */
.faq-item {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-question.active::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer.open {
  max-height: 600px;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-200);
  font-size: .92rem;
}

/* ── AUTHOR BIO ── */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 40px 0;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.author-avatar svg { width: 72px; height: 72px; }
.author-info h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}
.author-role {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.author-info p {
  font-size: .88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  padding: 16px 0;
  font-size: .82rem;
}
.breadcrumbs a { color: var(--gray-400); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--gray-400); margin: 0 6px; }
.breadcrumbs .current { color: var(--gold-light); }

/* ── FOOTER ── */
.site-footer {
  background: #060E1A;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p {
  font-size: .88rem;
  color: var(--gray-400);
  margin-top: 12px;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-400); font-size: .85rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.8;
}
.footer-disclaimer {
  background: rgba(231,76,94,.06);
  border: 1px solid rgba(231,76,94,.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.footer-disclaimer p {
  font-size: .8rem;
  color: var(--gray-400);
  line-height: 1.7;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-weight: 800;
  font-size: .8rem;
  margin-right: 8px;
  vertical-align: middle;
}
.partner-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.partner-logos a {
  color: var(--gray-400);
  font-size: .78rem;
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.partner-logos a:hover { border-color: var(--gold); color: var(--gold); }

/* ── NUMBERED STEPS ── */
.steps-list { counter-reset: step; margin: 24px 0; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  counter-increment: step;
}
.step-num {
  width: 44px;
  height: 44px;
  background: rgba(232,168,56,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.step-item p { font-size: .9rem; color: var(--gray-400); }

/* ── TOC ── */
.toc {
  background: var(--navy-mid);
  border: 1px solid rgba(232,168,56,.15);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
}
.toc h3 {
  font-size: .95rem;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--gray-200); font-size: .9rem; }
.toc a:hover { color: var(--gold); }

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.compare-table th {
  background: var(--navy-light);
  color: var(--gold-light);
  padding: 14px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.compare-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-align: center;
  font-size: .9rem;
}
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--white); }
.check { color: var(--teal); }
.cross { color: var(--red); }

/* ── CONTENT STYLES ── */
.content-block h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
  margin: 48px 0 16px;
  letter-spacing: -.02em;
}
.content-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 32px 0 12px;
}
.content-block p {
  margin-bottom: 16px;
  color: var(--text);
}
.content-block ul, .content-block ol {
  margin: 16px 0 16px 24px;
}
.content-block li {
  margin-bottom: 8px;
  color: var(--text);
}
.content-block strong { color: var(--white); }

/* ── INLINE SVG IMAGES ── */
.illustration-wrap {
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
  border: 1px solid rgba(255,255,255,.05);
}

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 32px 0;
}

/* ── LAST UPDATED ── */
.last-updated {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.last-updated time { color: var(--gold-light); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(232,168,56,.2);
  padding: 16px 24px;
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-banner p { font-size: .85rem; color: var(--gray-200); flex: 1; }
.cookie-banner .btn { flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .casino-logo-wrap { margin: 0 auto; }
  .casino-actions { min-width: auto; }
  .casino-meta { justify-content: center; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid rgba(232,168,56,.15);
    padding: 16px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .data-table { font-size: .82rem; }
  .data-table thead th, .data-table tbody td { padding: 10px 8px; }
}

/* ── PRINT ── */
@media print {
  .site-header, .site-footer, .cookie-banner, .btn { display: none; }
  body { background: #fff; color: #111; }
  .section { padding: 20px 0; }
}
