/* ==========================================================================
   TopCasinos — Global Stylesheet
   Pure CSS, no frameworks, no external dependencies.
   System fonts only. Mobile-first responsive design.
   ========================================================================== */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
  background-color: #f8fafc;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1d4ed8;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #1e40af;
}

ul, ol {
  padding-left: 1.25rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  background: #1a365d;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo-link img {
  height: 36px;
  width: auto;
}

/* ---------- Navigation ---------- */
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
  border-radius: 4px;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #f1f5f9;
  color: #1d4ed8;
}

/* ---------- Hero ---------- */
.hero {
  background: #1a365d;
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  opacity: 0.92;
  line-height: 1.5;
}

.hero .badge-18 {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* ---------- Disclosure Banner ---------- */
.disclosure {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #92400e;
}

.disclosure strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #78350f;
}

/* ---------- Section Headings ---------- */
.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

/* ---------- Offer Cards ---------- */
.offer-cards {
  display: grid;
  gap: 1rem;
}

.offer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  overflow: hidden;
}

.offer-card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  gap: 0.5rem;
  min-height: 100%;
}

.offer-card-brand img {
  width: 160px;
  height: auto;
  display: block;
}

.offer-card-brand .rating {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 0.02em;
}

.offer-card-brand .rating-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.offer-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offer-card-bonus {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a365d;
  line-height: 1.25;
}

.offer-card-bonus small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 0.15rem;
}

.offer-card-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-size: 0.85rem;
  color: #334155;
}

.offer-card-highlights li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.offer-card-highlights li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
  font-size: 0.8rem;
}

.offer-card-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.offer-card-payments .pay-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-size: 0.72rem;
  color: #475569;
  font-weight: 500;
}

.offer-card-cta {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 170px;
}

.visit-btn {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.visit-btn:hover,
.visit-btn:focus {
  background: #15803d;
  color: #ffffff;
}

.offer-card-cta .tc-note {
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.3;
}

/* ---------- Card Rank Badge ---------- */
.offer-card-rank {
  display: none;
}

/* Numbered card variant using nth-child */
.offer-cards .offer-card {
  position: relative;
}

/* ---------- Responsive Offer Cards ---------- */
@media (max-width: 740px) {
  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-card-brand {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    flex-direction: row;
    gap: 0.75rem;
  }

  .offer-card-brand img {
    width: 120px;
  }

  .offer-card-body {
    padding: 1rem;
  }

  .offer-card-bonus {
    font-size: 1.15rem;
  }

  .offer-card-cta {
    padding: 0.75rem 1rem 1rem;
    min-width: auto;
  }

  .offer-card-highlights {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* ---------- Methodology ---------- */
.methodology-list {
  list-style: none;
  padding: 0;
  counter-reset: method;
}

.methodology-list li {
  counter-increment: method;
  padding: 0.75rem 0;
  padding-left: 2.5rem;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

.methodology-list li::before {
  content: counter(method);
  position: absolute;
  left: 0;
  top: 0.75rem;
  background: #1a365d;
  color: #fff;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Responsible Gambling Banner ---------- */
.rg-banner {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 1.25rem;
  margin: 2rem 0;
  text-align: center;
}

.rg-banner h3 {
  color: #991b1b;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rg-banner p {
  font-size: 0.875rem;
  color: #7f1d1d;
  margin-bottom: 0.5rem;
}

.rg-banner a {
  color: #991b1b;
  font-weight: 600;
}

/* ---------- Helpline Box ---------- */
.helpline-box {
  background: #1a365d;
  color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.helpline-box h3,
.page-content .helpline-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.helpline-box .helpline-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.helpline-box .helpline-links {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: #ffffff;
}

.helpline-box .helpline-links li,
.page-content .helpline-box .helpline-links li {
  color: #ffffff;
}

.helpline-box p,
.page-content .helpline-box p {
  color: #ffffff;
}

.helpline-box .helpline-links a,
.page-content .helpline-box .helpline-links a {
  color: #93c5fd;
  text-decoration: underline;
}

.helpline-box .helpline-links a:hover,
.helpline-box .helpline-links a:focus,
.page-content .helpline-box .helpline-links a:hover,
.page-content .helpline-box .helpline-links a:focus {
  color: #ffffff;
}

.helpline-box .helpline-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* ---------- AR Info Box ---------- */
.ar-info-box {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #1e3a5f;
}

.ar-info-box strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1a365d;
}

/* ---------- Policy / Content Pages ---------- */
.page-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  margin: 2rem 0;
}

.page-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 0.5rem;
}

.page-content .last-updated {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  display: block;
}

.page-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.page-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.page-content p {
  margin-bottom: 0.85rem;
  color: #475569;
  font-size: 0.95rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 0.85rem;
  color: #475569;
  font-size: 0.95rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content a {
  color: #1d4ed8;
}

/* ---------- Contact Form (visual only, non-functional static) ---------- */
.contact-info dt {
  font-weight: 600;
  color: #1e293b;
  margin-top: 0.75rem;
}

.contact-info dd {
  color: #475569;
  margin-left: 0;
  margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 2rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-links a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 700px;
}

.footer-disclaimer p {
  margin-bottom: 0.4rem;
}

.footer-copy {
  color: #64748b;
  font-size: 0.78rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8rem;
  color: #94a3b8;
  padding: 0.75rem 0;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.35rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    gap: 0.15rem;
  }

  .page-content {
    padding: 1.25rem 1rem;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .visit-btn {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }
}
