/* ============================================
   BetPantheon — Classic European / Dark Charcoal + Royal Blue + Silver
   ============================================ */

/* --- Google Fonts loaded in HTML --- */

/* --- CSS Custom Properties --- */
:root {
  --bg: #09090f;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #c0c7d0;
  --accent: #dc2626;
  --text: #e5e7eb;
  --muted: #6b7280;
  --surface: #111118;
  --surface-light: #1a1a24;
  --border: #1e1e2a;
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,.35);
  --shadow-hover: 0 6px 24px rgba(37,99,235,.18);
  --transition: .28s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #60a5fa; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .85rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: .7rem; }
p { margin-bottom: 1rem; color: var(--text); }

/* --- Utility --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Decorative Line --- */
.line-accent {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}
.line-accent.left { margin-left: 0; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
}
.logo span { color: var(--primary); }

/* Desktop nav */
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  color: var(--secondary);
  font-size: .9rem;
  font-weight: 600;
  padding: .35rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    gap: .75rem;
  }
  .nav-links.open { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 4rem 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.hero p {
  max-width: 640px;
  margin: .5rem auto 1.5rem;
  color: var(--secondary);
  font-size: 1.05rem;
}
.hero .badge {
  display: inline-block;
  background: rgba(37,99,235,.12);
  color: var(--primary);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(37,99,235,.25);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: #b91c1c;
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ============================================
   CASINO CARD / RANKING
   ============================================ */
.casino-list { display: flex; flex-direction: column; gap: 1rem; }

.casino-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}
.casino-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.casino-rank {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}
.casino-info h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.casino-info .casino-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .4rem;
}
.casino-info .casino-meta span {
  font-size: .8rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  padding: .2rem .6rem;
  border-radius: 4px;
}
.casino-bonus {
  color: #34d399;
  font-weight: 700;
  font-size: .95rem;
  margin-top: .25rem;
}
.casino-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 140px;
}
.casino-rating {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fbbf24;
}

@media (max-width: 700px) {
  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .casino-rank { font-size: 1.25rem; }
  .casino-actions { align-items: center; }
  .casino-info .casino-meta { justify-content: center; }
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--border); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* --- Info Grid --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.info-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }

/* --- Article Grid --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.article-card-body {
  padding: 1.5rem;
}
.article-card-body .tag {
  display: inline-block;
  background: rgba(37,99,235,.12);
  color: var(--primary);
  padding: .2rem .65rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.article-card-body h3 { font-size: 1.05rem; }
.article-card-body h3 a { color: #fff; }
.article-card-body h3 a:hover { color: var(--primary); }
.article-card-body p { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.article-card-body .read-more {
  display: inline-block;
  margin-top: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}
.article-card-body .read-more:hover { color: #60a5fa; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.15rem 2.5rem 1.15rem 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-question.open::after {
  content: '-';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--secondary);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 600px;
  padding-bottom: 1.15rem;
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.article-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--muted);
}
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.article-content h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.article-content h3 { margin-top: 1.75rem; }
.article-content p { font-size: 1rem; }
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  margin-bottom: .4rem;
  color: var(--text);
  font-size: .97rem;
}
.article-content a { text-decoration: underline; }
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--secondary);
  font-style: italic;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .92rem;
}
.article-content table th,
.article-content table td {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.article-content table th {
  background: var(--surface);
  color: #fff;
  font-weight: 600;
}
.article-content table tr:nth-child(even) { background: rgba(255,255,255,.02); }

/* CTA Box inside articles */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-box h3 { margin-bottom: .5rem; }
.cta-box p { color: var(--secondary); margin-bottom: 1rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-size: .95rem;
  margin-bottom: .85rem;
  color: #fff;
}
.footer-col p, .footer-col a {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.8;
}
.footer-col a:hover { color: var(--primary); }
.footer-col ul li { margin-bottom: .35rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .hero { padding: 2.5rem 0 2rem; }
  section { padding: 2.5rem 0; }
  .article-content { padding: 1.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
