/* --- 1. RESET & BASICS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* --- 2. VARIABLES --- */
:root {
    --nz-gold: #f1c40f;
    --nz-green: #27ae60;
    --nz-bg-card: #1e1e1e;
    --nz-border: #333;
    --nz-text-muted: #b0b0b0;
}

/* --- 3. HEADER --- */
.nz-site-header {
    background: #000;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--nz-border);
    position: sticky; top: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
}
.nz-site-logo { font-size: 1.5rem; font-weight: bold; color: var(--nz-gold); letter-spacing: 1px; }

/* --- 4. HERO SECTION --- */
.nz-hero-section {
    text-align: center;
    padding: 4rem 1rem 2rem 1rem;
    background: linear-gradient(180deg, #0f0f0f 0%, #121212 100%);
    max-width: 900px;
    margin: 0 auto;
}
.nz-hero-title { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; line-height: 1.2; }
.nz-section-title { font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; color: #fff; border-left: 4px solid var(--nz-gold); padding-left: 15px; }
.nz-subsection-title { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; color: #fff; }
.nz-text-paragraph { color: var(--nz-text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.nz-content-list { margin-bottom: 2rem; padding-left: 20px; color: var(--nz-text-muted); }
.nz-content-list li { margin-bottom: 10px; padding-left: 10px; }
.nz-content-list li::marker { color: var(--nz-gold); font-size: 1.2em; }

/* --- 5. MAIN CASINO LIST (THE CARDS) --- */
.nz-main-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.nz-casino-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-bottom: 2rem;
}

/* Header Columns */
.nz-casino-table thead th {
    text-align: left;
    padding: 0 15px 10px;
    color: #888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.nz-casino-table thead th:nth-child(1) { width: 30%; }
.nz-casino-table thead th:nth-child(2) { width: 30%; }
.nz-casino-table thead th:nth-child(3) { width: 20%; text-align: center; }
.nz-casino-table thead th:nth-child(4) { width: 20%; text-align: right; }

/* Row Styling (Cards) */
.nz-casino-row {
    background-color: var(--nz-bg-card);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nz-casino-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(241, 196, 15, 0.15);
}

.nz-casino-cell {
    padding: 20px;
    vertical-align: middle;
    border-top: 1px solid var(--nz-border);
    border-bottom: 1px solid var(--nz-border);
}
.nz-casino-cell:first-child { border-left: 1px solid var(--nz-border); border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.nz-casino-cell:last-child { border-right: 1px solid var(--nz-border); border-top-right-radius: 8px; border-bottom-right-radius: 8px; }

/* Logo & Identity */
.nz-identity-wrapper { display: flex; align-items: center; gap: 20px; }
.nz-logo-circle {
    width: 70px; height: 70px;
    background: #ffffff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.nz-logo-circle img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.nz-casino-name { font-weight: 700; font-size: 1.2rem; color: #fff; line-height: 1.2; }

/* Bonuses & Ratings */
.nz-bonus-primary { font-size: 1.2rem; font-weight: bold; color: var(--nz-gold); display: block; }
.nz-bonus-secondary { font-size: 0.85rem; color: #fff; opacity: 0.9; }
.nz-rating-score { color: #fff; font-weight: bold; display: block; margin-top: 5px; }

/* Play Button */
.nz-cta-button {
    background-color: var(--nz-green);
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-align: center;
    transition: background 0.3s;
    white-space: nowrap;
}
.nz-cta-button:hover { background-color: #2ecc71; box-shadow: 0 0 10px rgba(46, 204, 113, 0.4); }
.nz-terms-text { font-size: 0.65rem; color: #555; display: block; margin-top: 8px; text-align: center; margin-right: 10px; }

/* --- 6. CONTENT SECTION & DATA TABLES (The Corrected Block) --- */

.nz-content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px 4rem 20px;
}

/* 1. SCROLL WRAPPERS (Targets both names you used) */
.nz-scroll-wrapper,
.nz-table-wrapper,
.nz-scroll-box {
    width: 100%;
    overflow-x: auto; /* Enables scroll on mobile */
    margin-bottom: 2rem;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1e1e1e;
}

/* 2. TABLE STYLING (Targets all your tables) */
.nz-data-table,
.nz-content-table,
.nz-content-section table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Forces width so text doesn't squish */
    font-size: 0.95rem;
    background-color: #1e1e1e;
}

/* 3. HEADERS & CELLS */
.nz-data-table th, .nz-content-table th, .nz-content-section th,
.nz-data-table td, .nz-content-table td, .nz-content-section td {
    padding: 15px 20px; /* Big padding like the screenshot */
    text-align: left;
    border-bottom: 1px solid #333;
    color: #e0e0e0;
    white-space: nowrap; /* Keeps numbers on one line */
}

/* 4. HEADER COLOR (Gold) */
.nz-data-table th,
.nz-content-table th,
.nz-content-section th {
    background-color: var(--nz-gold); /* Gold background */
    color: #000; /* Black text */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 5. ZEBRA STRIPING (Alternating Colors) */
.nz-data-table tr:nth-child(even),
.nz-content-table tr:nth-child(even),
.nz-content-section tr:nth-child(even) {
    background-color: #252525; /* Slightly lighter row */
}

/* --- 7. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .nz-hero-section { padding: 3rem 1rem 1rem; text-align: left; }
    .nz-hero-title { font-size: 1.8rem; }

    /* Casino Card List Stacking */
    .nz-casino-table thead { display: none; }
    .nz-casino-table, .nz-casino-table tbody, .nz-casino-table tr, .nz-casino-table td {
        display: block; width: 100%;
    }

    .nz-casino-row { margin-bottom: 25px; border: 1px solid var(--nz-border); border-radius: 10px; padding-bottom: 10px; }
    .nz-casino-cell { text-align: center !important; border: none; padding: 15px; }

    .nz-identity-wrapper { flex-direction: column; border-bottom: 1px solid #333; padding-bottom: 15px; gap: 10px; }
    .nz-logo-circle { width: 80px; height: 80px; }
    .nz-cta-button { display: block; width: 100%; }
    .nz-terms-text { margin-right: 0; }
}
/* =========================
   TerraVin-like Header Menu
   ========================= */

/* override your current .nz-site-header */
.nz-site-header.tv-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  padding: 0;
}

.tv-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px 0;
}

/* Top row */
.tv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
}

.tv-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: #222;
  text-decoration: none;
  line-height: 1.1;
}

.tv-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.tv-brand__sub {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

/* Social buttons (grey circles like in template) */
.tv-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-social__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #777;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.tv-social__btn:hover {
  transform: translateY(-1px);
  background: #666;
}

.tv-social__btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Nav row */
.tv-nav {
  border-top: 1px solid #ededed;
}

.tv-nav__list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;

  padding: 16px 0 18px;
  margin: 0;
}

.tv-nav__list a {
  color: #6f6f6f;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-nav__list a:hover {
  color: #2b2b2b;
}

/* Mobile: burger + dropdown (CSS-only) */
.tv-nav__toggle {
  display: none;
}

.tv-nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.tv-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #444;
}

@media (max-width: 900px) {
  .tv-header__inner { padding: 14px 14px 0; }

  .tv-brand__name { font-size: 34px; }
  .tv-brand__sub { letter-spacing: 1.5px; }

  .tv-social__btn { width: 40px; height: 40px; }

  .tv-nav__burger {
    display: inline-flex;
  }

  /* Hide nav by default on mobile */
  .tv-nav {
    display: none;
    border-top: 1px solid #ededed;
  }

  .tv-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0 18px;
  }

  .tv-nav__list a {
    font-size: 18px;
    padding: 6px 0;
  }

  /* Show nav when toggled */
  .tv-nav__toggle:checked ~ .tv-nav {
    display: block;
  }
  }
/* =========================
   TerraVin Footer
   ========================= */

.tv-footer {
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
  padding: 18px 20px;
  margin-top: 60px;
}

.tv-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.tv-footer__text {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.6;
}

.tv-footer__text a {
  color: #6f6f6f;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tv-footer__text a:hover {
  color: #2b2b2b;
}