/* ============================================================
   SLOTS MESSIAH — Global Stylesheet
   Inspired by casino.org: clean, editorial, trustworthy
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1a1f36;
  --primary-light: #2d3352;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --accent-gold: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* --- Header --- */
.site-header {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(34,197,94,0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(245,158,11,0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.section-header .accent-bar {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* --- Homepage Sections --- */
.home-section {
  padding: 64px 0;
}

.home-section:nth-child(even) {
  background: var(--bg);
}

/* --- Featured Rankings Grid (Homepage) --- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.featured-card .rank {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.featured-card .casino-logo {
  width: 72px;
  height: 72px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.featured-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.featured-card .bonus {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.featured-card .btn-bonus {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  width: 100%;
}

.featured-card .btn-bonus:hover {
  background: var(--accent-hover);
}

/* --- Casino Ranking Cards (Full Page) --- */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 60px 140px 1fr 1fr 200px;
  align-items: center;
  gap: 24px;
  padding: 24px;
  transition: all 0.2s;
  position: relative;
}

.ranking-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.ranking-card .rank-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}

.ranking-card:first-child .rank-num { color: var(--accent); }
.ranking-card:nth-child(2) .rank-num { color: var(--accent-gold); }
.ranking-card:nth-child(3) .rank-num { color: #f97316; }

.ranking-card .casino-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ranking-card .casino-logo-wrap {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.ranking-card .casino-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.ranking-card .casino-review-link {
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: underline;
}

.ranking-card .rating-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 4px;
}

.rating-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.rating-dot.filled { background: var(--accent); }
.rating-dot.half { background: linear-gradient(90deg, var(--accent) 50%, #d1d5db 50%); }
.rating-dot.empty { background: #d1d5db; }

/* Bonus section */
.ranking-card .bonus-section {
  text-align: center;
}

.ranking-card .bonus-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ranking-card .bonus-highlight {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.3;
}

.ranking-card .bonus-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Features */
.ranking-card .features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ranking-card .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.feature-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* CTA column */
.ranking-card .cta-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-get-bonus {
  display: block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-get-bonus:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}

.claimed-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-icons {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.payment-icon {
  width: 32px;
  height: 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--text-muted);
}

/* Badge */
.ranking-badge {
  position: absolute;
  top: -1px;
  left: 84px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ranking-badge.green { background: var(--accent); }
.ranking-badge.orange { background: #f97316; }
.ranking-badge.blue { background: #3b82f6; }

/* --- Article / Review Cards --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.article-card .card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.article-card .card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.article-card .card-body {
  padding: 20px;
}

.article-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.article-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.article-card .read-more:hover {
  text-decoration: underline;
}

/* --- Slots Reviews Page --- */
.slots-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
  padding: 48px 0;
  text-align: center;
}

.slots-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.slots-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 32px;
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-light);
  max-width: 400px;
  margin: 0 auto;
}

/* --- Info Blocks --- */
.info-section {
  padding: 48px 0;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.info-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.info-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 20px;
}

.info-block p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-disclaimer {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-light);
  transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.trust-icon {
  font-size: 1.1rem;
}

/* --- Page Header (interior pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 48px 0;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 600px;
}

/* Last updated badge */
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .ranking-card {
    grid-template-columns: 50px 120px 1fr 180px;
  }
  .ranking-card .features { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 48px 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  .ranking-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .ranking-card .rank-num { font-size: 1.25rem; }
  .ranking-badge { left: 50%; transform: translateX(-50%); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .trust-items { flex-wrap: wrap; gap: 16px; }
}

/* ── Stats Table ── */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.stats-table th, .stats-table td { padding: 10px 14px; text-align: left; border: 1px solid #e2e8f0; }
.stats-table thead tr { background: #1e293b; color: #fff; }
.stats-table tbody tr:nth-child(even) { background: #f8fafc; }
.stats-table tbody tr:hover { background: #f1f5f9; }
