/* =============================================
   SEOMONSTER — Generated Site Stylesheet
   ============================================= */

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

:root {
  --color-primary: #1a5276;
  --color-primary-light: #2980b9;
  --color-accent: #e74c3c;
  --color-accent-hover: #c0392b;
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-text: #2c3e50;
  --color-text-muted: #6c757d;
  --color-border: #dee2e6;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-body);
  --max-width: 1200px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* --- Header --- */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}
.site-logo:hover { color: #fff; text-decoration: none; }
.site-title { letter-spacing: -0.5px; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}

/* --- Layout (main + sidebar) --- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main#main-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px;
  width: 100%;
}
/* When sidebar present, use grid */
@media (min-width: 992px) {
  body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
  }
  .site-header { grid-column: 1 / -1; }
  .site-footer { grid-column: 1 / -1; }
  .disclaimer { grid-column: 1 / -1; }
}

.sidebar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 32px;
  width: 100%;
}
.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { margin-bottom: 6px; }
.sidebar-widget a { font-size: 0.9rem; }
.sidebar-widget dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 0.9rem; }
.sidebar-widget dt { font-weight: 600; color: var(--color-text-muted); }
.sidebar-widget dd { font-weight: 700; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  padding: 48px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 16px;
}
.hero-meta {
  font-size: 0.85rem;
  opacity: 0.75;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta a { color: #fff; text-decoration: underline; }
.last-updated, .hero-author { white-space: nowrap; }

/* --- Content sections --- */
section {
  margin-bottom: 40px;
}
section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}
section p { margin-bottom: 16px; }
section ul, section ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
section li { margin-bottom: 6px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* --- Quick Facts --- */
.quick-facts-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.quick-facts-section table {
  width: 100%;
  border-collapse: collapse;
}
.quick-facts-section td, .quick-facts-section th {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.quick-facts-section th { font-weight: 600; color: var(--color-text-muted); width: 40%; }

/* --- Casino Table --- */
.casino-table-section { overflow-x: auto; }
.casino-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.casino-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.casino-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.casino-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.casino-table tr:last-child td { border-bottom: none; }
.casino-table tr:hover { background: #f1f5f9; }
.casino-name strong { font-size: 1rem; }
.casino-bonus { color: var(--color-success); font-weight: 600; }
.casino-rating { font-weight: 700; color: var(--color-warning); }
.casino-cta .btn { padding: 8px 18px; font-size: 0.85rem; white-space: nowrap; }

/* --- Demo Player --- */
.demo-player {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.demo-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.demo-wrapper iframe {
  display: block;
  border: none;
  width: 100%;
  min-height: 500px;
}
.demo-notice {
  margin-top: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

/* --- FAQ Accordion --- */
.faq-section details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-section summary {
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; font-size: 1.2rem; color: var(--color-text-muted); }
.faq-section details[open] summary::after { content: "\2212"; }
.faq-section details[open] summary { border-bottom: 1px solid var(--color-border); }
.faq-section .faq-answer,
.faq-section details > div,
.faq-section details > p {
  padding: 16px 20px;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Author Box --- */
.author-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.author-box-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.author-photo {
  border-radius: 50%;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.author-info h3 { margin-bottom: 4px; }
.author-info h3 a { color: var(--color-primary); font-weight: 700; }
.author-title {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.author-bio {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.author-stats {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* --- Email Signup --- */
.email-signup {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.email-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.email-form-wrapper p {
  opacity: 0.9;
  margin-bottom: 20px;
}
.email-form {
  max-width: 500px;
  margin: 0 auto;
}
.email-form .form-group { margin-bottom: 12px; }
.email-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1rem;
}
.email-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.email-form input[type="email"]:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,0.25);
}
.form-consent {
  font-size: 0.8rem;
  opacity: 0.85;
  text-align: left;
}
.form-consent a { color: #fff; text-decoration: underline; }
.form-consent label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.email-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 1.05rem;
  background: #fff;
  color: var(--color-primary);
}
.email-form .btn-primary:hover { background: #f0f0f0; }

/* --- Disclaimer --- */
.disclaimer {
  background: #fff3cd;
  border-top: 3px solid var(--color-warning);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: #664d03;
  text-align: center;
}
.disclaimer a { color: #664d03; font-weight: 600; text-decoration: underline; }

/* --- Footer --- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding: 32px 20px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 0.85rem;
  margin-bottom: 8px;
  opacity: 0.7;
}
.footer-age {
  font-size: 0.8rem;
  opacity: 0.7;
}
.age-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 6px;
  vertical-align: middle;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.95rem; }
  section h2 { font-size: 1.3rem; }

  .main-nav ul { gap: 0; }
  .main-nav a { padding: 6px 8px; font-size: 0.8rem; }

  .site-header .container { padding: 0 12px; }

  .author-box-inner { flex-direction: column; align-items: center; text-align: center; }

  .casino-table th, .casino-table td { padding: 10px 8px; font-size: 0.85rem; }

  .email-signup { padding: 24px 16px; }

  .footer-links { gap: 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 32px 16px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-meta { flex-direction: column; gap: 4px; }
  .main-nav { display: none; }
}

/* --- Hero Image --- */
.hero-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}
