@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Nunito+Sans:wght@400;500;600;700&display=swap');

:root {
  --forest: #0F3D3E;
  --emerald: #10B981;
  --amber: #F59E0B;
  --slate: #334155;
  --light-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --heading: #0F172A;
  --border: #E2E8F0;
  --muted: #64748B;
  --emerald-hover: #059669;
  --amber-hover: #D97706;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(15,61,62,0.08);
  --shadow-md: 0 4px 12px rgba(15,61,62,0.1);
  --shadow-lg: 0 8px 24px rgba(15,61,62,0.12);
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--emerald-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.3;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.625rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

/* ===== NAVIGATION ===== */
.site-nav {
  background: var(--forest);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo svg {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--emerald);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO (Pattern E — SVG pattern background) ===== */
.site-hero {
  background: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310B981' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
}

.site-hero h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-cta {
  display: inline-block;
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--emerald-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ===== RANKINGS SECTION (Pattern C — Grid) ===== */
.rankings-section {
  padding: 4rem 0;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.casino-grid .casino-tile:first-child {
  grid-column: 1 / -1;
}

.casino-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}

.casino-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.casino-tile:first-child {
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-color: var(--emerald);
  border-width: 2px;
}

.casino-tile:first-child .tile-content {
  flex: 1;
}

.tile-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.casino-tile:first-child .tile-rank {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  background: var(--emerald);
}

.tile-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tile-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--heading);
}

.tile-badge {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tile-bonus {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--forest);
}

.casino-tile:first-child .tile-bonus {
  font-size: 1.6rem;
}

.tile-details {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.tile-details strong {
  color: var(--slate);
}

.tile-code {
  display: inline-block;
  background: #F0FDF4;
  border: 1px dashed var(--emerald);
  color: var(--forest);
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.tile-cta {
  display: inline-block;
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  transition: background 0.2s;
  margin-top: auto;
}

.tile-cta:hover {
  background: var(--emerald-hover);
  color: #fff;
}

.tile-wagering {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.25rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 3.5rem 0;
}

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

.content-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.content-body {
  max-width: 780px;
  margin: 0 auto;
}

.content-body ul, .content-body ol {
  margin: 1rem 0 1.5rem 1.25rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

/* ===== REVIEW CARDS (Pattern C — Mixed sizes) ===== */
.reviews-section {
  padding: 4rem 0;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.review-card.featured-review {
  border-left: 4px solid var(--emerald);
  padding: 2.5rem;
}

.review-card h3 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-card .review-rank {
  color: var(--emerald);
  font-size: 0.85rem;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.review-pros h4, .review-cons h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.review-pros h4 { color: var(--emerald); }
.review-cons h4 { color: #EF4444; }

.review-pros ul, .review-cons ul {
  list-style: none;
  font-size: 0.9rem;
}

.review-pros li::before {
  content: '✓ ';
  color: var(--emerald);
  font-weight: 700;
}

.review-cons li::before {
  content: '✗ ';
  color: #EF4444;
  font-weight: 700;
}

.review-cta {
  display: inline-block;
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.75rem;
  border-radius: 6px;
  margin-top: 1rem;
  transition: background 0.2s;
}

.review-cta:hover {
  background: var(--emerald-hover);
  color: #fff;
}

.review-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== BANKROLL PLANNER TABLE ===== */
.planner-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.planner-table thead {
  background: var(--forest);
  color: #fff;
}

.planner-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  text-align: left;
}

.planner-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.planner-table tbody tr:hover {
  background: #F0FDF4;
}

.planner-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
  padding: 4rem 0;
  background: var(--card-bg);
}

.faq-list {
  max-width: 780px;
  margin: 2rem auto 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item summary:hover {
  background: var(--light-bg);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-brand p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  max-width: 480px;
}

.footer-links h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-helpline {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-helpline strong {
  color: var(--amber);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-disclosure {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.hidden-address {
  font-size: 0;
  color: #0F3D3E;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ===== INTERNAL PAGES ===== */
.page-header {
  background: var(--forest);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: 2rem;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.page-content {
  padding: 3rem 0;
}

.page-body {
  max-width: 780px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.page-body h2 {
  text-align: left;
  margin-top: 2rem;
}

.page-body h2:first-child {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: var(--radius);
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member .role {
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 600;
}

.team-member p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
}

.contact-form button {
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.contact-form button:hover {
  background: var(--emerald-hover);
}

/* ===== 404 PAGE ===== */
.error-page {
  text-align: center;
  padding: 6rem 0;
}

.error-page h1 {
  font-size: 5rem;
  color: var(--emerald);
}

.error-page p {
  font-size: 1.125rem;
  margin: 1rem 0 2rem;
}

.error-page a {
  display: inline-block;
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.error-page a:hover {
  background: var(--emerald-hover);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .site-hero { padding: 3rem 0 2.5rem; }
  .site-hero h1 { font-size: 1.85rem; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--forest);
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .casino-grid {
    grid-template-columns: 1fr;
  }

  .casino-tile:first-child {
    flex-direction: column;
    gap: 1rem;
  }

  .review-small-grid {
    grid-template-columns: 1fr;
  }

  .review-pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .planner-table {
    font-size: 0.8rem;
  }

  .planner-table th,
  .planner-table td {
    padding: 0.5rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .casino-grid {
    gap: 1rem;
  }

  .tile-bonus {
    font-size: 1.15rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
