/* ============================================
   IVY CASINO – STYLES.CSS
   Mobile-first, fully responsive
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --color-primary:      #1a472a;   /* Deep ivy green */
  --color-primary-dark: #122e1c;   /* Darker green */
  --color-secondary:    #2d6a4f;   /* Mid green */
  --color-accent:       #b5e550;   /* Lime / bright green accent */
  --color-accent-gold:  #d4af37;   /* Gold accent */
  --color-bg:           #0f1f15;   /* Very dark green background */
  --color-bg-alt:       #162b1e;   /* Slightly lighter dark bg */
  --color-surface:      #1e3a28;   /* Card / surface */
  --color-surface-light:#243f2f;   /* Lighter surface */
  --color-text:         #e8f5e9;   /* Light text */
  --color-text-muted:   #9ec4a5;   /* Muted text */
  --color-border:       #2e5c3a;   /* Border */
  --color-white:        #ffffff;
  --color-pros:         #1e3a28;
  --color-cons:         #2d1e1e;
  --radius:             10px;
  --radius-sm:          6px;
  --shadow:             0 4px 24px rgba(0,0,0,0.45);
  --transition:         0.2s ease;
  --font-body:          'Georgia', 'Times New Roman', serif;
  --font-ui:            'Segoe UI', 'Arial', sans-serif;
  --max-width:          1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-white); }

ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.btn--primary:hover {
  background: #c9f548;
  box-shadow: 0 0 18px rgba(181,229,80,0.45);
}

.btn--accent {
  background: var(--color-accent-gold);
  color: #1a1200;
}
.btn--accent:hover {
  background: #e8c842;
  box-shadow: 0 0 18px rgba(212,175,55,0.5);
}

.btn--strip {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
}
.btn--strip:hover { background: #caf248; }

.btn--lg {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
}

/* ---------- BONUS STRIP (TOP BAR) ---------- */
.bonus-strip {
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-secondary) 100%);
  border-bottom: 2px solid var(--color-accent);
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--color-text);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.bonus-strip--inline {
  position: static;
  margin-top: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-accent);
}
.bonus-strip__text { flex: 1 1 200px; line-height: 1.4; }
.bonus-strip strong { color: var(--color-accent); }

/* ---------- HEADER ---------- */
.hero {
  background: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  position: relative;
  z-index: 100;
}
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ----- Hamburger button (visible only on mobile) ----- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
/* Animate to X when open */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ----- Mobile nav (hidden by default, shown as dropdown) ----- */
.hero__nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-primary-dark);
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-border);
  padding: 0.5rem 1rem 1rem;
  gap: 0.2rem;
  z-index: 999;
}
.hero__nav.is-open { display: flex; }
.hero__nav a {
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--color-border);
}
.hero__nav a:last-child { border-bottom: none; }
.hero__nav a:hover, .hero__nav a:active {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ---------- WELCOME HERO ---------- */
.welcome-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-primary-dark) 60%, var(--color-secondary) 100%);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--color-border);
}
.welcome-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.welcome-hero__content h1 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.welcome-hero__tagline {
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.welcome-hero__content p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}
.welcome-hero__content .btn {
  margin-top: 0.5rem;
}

/* OFFER CARD */
.offer-card {
  background: var(--color-surface);
  border: 2px solid var(--color-accent-gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 420px;
  margin: 0 auto;
}
.offer-card__badge {
  background: var(--color-accent-gold);
  color: #1a1200;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.offer-card__headline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.offer-card__sub {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.offer-card__list {
  text-align: left;
  margin-bottom: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}
.offer-card__list li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.offer-card__list li:last-child { border-bottom: none; }
.offer-card .btn { width: 100%; }
.offer-card__tc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.stats-bar__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.stat-item {
  text-align: center;
  min-width: 90px;
  flex: 1 1 90px;
  padding: 0.5rem;
}
.stat-item__number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-ui);
}
.stat-item__label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-ui);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 3rem 0;
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--cta {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
  text-align: center;
  padding: 4rem 0;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  border-left: 4px solid var(--color-accent);
  padding-left: 0.75rem;
  line-height: 1.3;
}
.section-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1.02rem;
  max-width: 760px;
}
.section p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* ---------- TWO COLUMN LAYOUT ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.two-col h3 {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
  margin-top: 1.25rem;
}
.two-col h3:first-child { margin-top: 0; }

/* ---------- CARDS GRID ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card--sm { padding: 1.25rem; }
.card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.card h3 {
  font-size: 1.05rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- PROVIDER GRID ---------- */
.provider-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.provider-grid span {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--color-text);
}

/* ---------- STEPS ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step__num {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__body h3 {
  color: var(--color-white);
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}
.step__body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- CTA BLOCK ---------- */
.cta-block {
  margin-top: 2rem;
  text-align: center;
}
.cta-block p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.cta-final h2 {
  color: var(--color-white);
  border-left: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.cta-final p {
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 1.25rem;
}
.cta-disclaimer {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-top: 1rem !important;
}

/* ---------- PAYMENTS TABLE ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.payments-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.payments-table th {
  background: var(--color-surface);
  color: var(--color-accent);
  padding: 0.75rem 0.9rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent);
  white-space: nowrap;
}
.payments-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.payments-table tbody tr:nth-child(even) td {
  background: var(--color-surface-light);
}
.payments-table tbody tr:hover td {
  background: var(--color-surface);
}
.table-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ---------- FEATURE LIST ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.feature-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  color: var(--color-text);
}
.feature-list li:last-child { border-bottom: none; }

/* ---------- SUPPORT CHANNELS ---------- */
.support-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.channel {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.channel__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.channel strong {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-ui);
  margin-bottom: 0.25rem;
}
.channel p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- PROS & CONS ---------- */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.pros, .cons {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}
.pros {
  background: var(--color-pros);
  border-color: rgba(181,229,80,0.3);
}
.cons {
  background: var(--color-cons);
  border-color: rgba(220,80,80,0.2);
}
.pros h3, .cons h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}
.pros ul li, .cons ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.92rem;
  color: var(--color-text);
}
.pros ul li:last-child,
.cons ul li:last-child { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  padding: 1rem 1.25rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--color-white);
  cursor: default;
  border-left: 3px solid var(--color-accent);
}
.faq-answer {
  padding: 0 1.25rem 1rem;
  border-top: 1px solid var(--color-border);
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0.75rem 0 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-primary-dark);
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer__brand p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}
.footer__links h3,
.footer__info h3 {
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__links ul li {
  margin-bottom: 0.4rem;
}
.footer__links ul li a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.footer__links ul li a:hover { color: var(--color-accent); }
.footer__info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.footer__info ul li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.2rem 0;
  list-style: disc;
  margin-left: 1.2rem;
}
.footer__age {
  font-size: 1rem !important;
  color: var(--color-accent) !important;
  font-weight: 700;
  margin-top: 0.5rem !important;
}
.footer__bottom {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ============================================
   RESPONSIVE – TABLET (min 600px)
   ============================================ */
@media (min-width: 600px) {
  .welcome-hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .cards-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-bar__grid {
    gap: 0;
  }
  .stat-item {
    border-right: 1px solid var(--color-border);
  }
  .stat-item:last-child { border-right: none; }
}

/* ============================================
   RESPONSIVE – DESKTOP (min 900px)
   ============================================ */
@media (min-width: 900px) {
  .container { padding: 0 2rem; }

  .welcome-hero { padding: 4rem 0 3.5rem; }
  .welcome-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }

  .section { padding: 4rem 0; }

  .hero__nav a { font-size: 0.9rem; }
}

/* ============================================
   RESPONSIVE – LARGE (min 1100px)
   ============================================ */
@media (min-width: 1100px) {
  .welcome-hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* ============================================
   RESPONSIVE – DESKTOP NAV RESTORE (min 900px)
   At 900px+ hide the hamburger and show nav inline
   ============================================ */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .hero__nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 0.25rem;
  }
  .hero__nav a {
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-bottom: none;
  }
}

/* ---------- MOBILE TOUCH & READABILITY ---------- */
@media (max-width: 599px) {
  html { font-size: 15px; }

  .container { padding: 0 0.85rem; }

  .btn {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    white-space: normal;
    line-height: 1.3;
  }
  .btn--strip {
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
  }

  .welcome-hero { padding: 2rem 0 1.75rem; }
  .welcome-hero__content h1 { font-size: 1.65rem; }

  .offer-card { padding: 1.25rem 1rem; }
  .offer-card__headline { font-size: 1.7rem; }

  .stats-bar__grid { gap: 0.25rem; }
  .stat-item { min-width: 70px; padding: 0.5rem 0.25rem; }
  .stat-item__number { font-size: 1.25rem; }
  .stat-item__label { font-size: 0.7rem; }

  .section { padding: 2rem 0; }
  .section h2 { font-size: 1.3rem; }

  .cards-grid { gap: 1rem; }
  .card { padding: 1.1rem; }

  .step { gap: 0.9rem; padding: 1rem; }
  .step__num { width: 36px; height: 36px; font-size: 1rem; }

  .faq-question { font-size: 0.9rem; padding: 0.85rem 1rem; }
  .faq-answer { padding: 0 1rem 0.85rem; }

  .footer__grid { gap: 1.5rem; }

  /* Full-width CTA buttons on small screens */
  .cta-block .btn,
  .welcome-hero__content .btn {
    display: block;
    width: 100%;
  }
}

/* ---------- UTILITY ---------- */
.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;
}