/* ============================================================
   Northern Lights Casino Online — app.css
   Theme: Cream #F4EDD0 sections + Dark header/footer + Olive #6B8024
   ============================================================ */

:root {
  --primary:    #6B8024;
  --primary-dk: #4E5F18;
  --primary-lt: #87A030;
  --bg-dark:    #141A08;
  --bg-cream:   #F4EDD0;
  --bg-cream-dk:#EDE4C2;
  --bg-card:    #FFFFFF;
  --text-dark:  #1A1C0A;
  --text-mid:   #444830;
  --text-muted: #6A6E50;
  --text-light: #FFFFFF;
  --border:     rgba(107,128,36,0.2);
  --border-lt:  rgba(107,128,36,0.12);
  --border-dk:  rgba(255,255,255,0.07);
  --radius:     3px;
  --trans:      0.22s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Arial', 'Helvetica Neue', sans-serif; background: var(--bg-cream); color: var(--text-dark); overflow-x: hidden; width: 100%; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border: none; transition: background var(--trans), color var(--trans), transform var(--trans);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary       { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-lt); }
.btn--ghost         { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); }
.btn--ghost:hover   { border-color: #fff; }
.btn--ghost-green   { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--ghost-green:hover { background: var(--primary); color: #fff; }
.btn--hero          { background: var(--primary); color: #fff; padding: 14px 36px; font-size: 0.95rem; font-weight: 900; }
.btn--hero:hover    { background: var(--primary-lt); }
.btn--demo          { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); padding: 14px 36px; font-size: 0.95rem; }
.btn--demo:hover    { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--full          { width: 100%; }

/* ---- HEADER ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  width: 100%; overflow: hidden;
  background: var(--bg-dark);
  border-bottom: 3px solid var(--primary);
  transition: box-shadow var(--trans);
}
.header__inner {
  max-width: none; margin: 0; padding: 0 24px;
  display: flex; align-items: center; height: 68px;
}
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 24px; }
.header__logo-img  { height: 42px; width: auto; object-fit: contain; }
.header__logo-text { font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.header__nav { flex: 1; display: flex; justify-content: center; gap: 0; }
.nav-link {
  padding: 8px 12px; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  transition: color var(--trans); white-space: nowrap;
}
.nav-link:hover { color: var(--primary-lt); }
.header__actions { display: flex; gap: 10px; flex-shrink: 0; margin-left: 24px; }

/* ---- BURGER ---- */
.burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; padding: 4px; margin-left: 12px; flex-shrink: 0;
}
.burger span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header__nav, .header__actions { display: none; }
  .burger { display: flex; }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw); background: var(--bg-dark);
  border-left: 2px solid var(--primary);
  padding: 80px 24px 32px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-nav-link {
  padding: 12px 0; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--border-dk); transition: color var(--trans);
}
.mobile-nav-link:hover { color: var(--primary-lt); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

/* ---- HERO ---- */
.hero {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
  background: url('../images/banners/hero-exterior.webp') center center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(20,26,8,0.88) 0%, rgba(20,26,8,0.55) 70%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 80px 24px; }
.hero__content { max-width: 600px; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--primary-lt);
}
.hero__h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.03em;
  line-height: 1.1; margin-bottom: 18px; color: #fff;
}
.hero__subtitle { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- PROMOTIONS SECTION ---- */
.promos-section { background: var(--bg-cream); padding: 72px 0; }

.section-header { text-align: center; margin-bottom: 44px; }
.section-eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--primary);
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px;
  color: var(--text-dark);
}
.section-subtitle { font-size: 1rem; color: var(--text-muted); }

.promos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width: 768px) { .promos-grid { grid-template-columns: 1fr; } }

.promo-card {
  background: var(--bg-card); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 28px 24px 32px;
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.promo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--primary);
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.promo-card__tag {
  display: inline-block; margin-bottom: 12px; padding: 3px 12px; border-radius: 2px;
  background: rgba(107,128,36,0.1); color: var(--primary);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.promo-card__title {
  font-size: 1.2rem; font-weight: 900; color: var(--text-dark); text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 12px; line-height: 1.25;
}
.promo-card__text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.promo-card__cta { font-size: 0.8rem; font-weight: 700; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- JACKPOT BAR ---- */
.jackpot-bar { background: var(--bg-dark); }
.jackpot-bar__inner {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px; flex-wrap: wrap;
}
.jackpot-bar__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.jackpot-bar__amount { font-size: 2.2rem; font-weight: 900; color: var(--primary-lt); letter-spacing: 0.04em; line-height: 1; }
.jackpot-bar__name { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.jackpot-bar__divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
.jackpot-bar__inner .btn { margin-left: auto; }

/* ---- GAMES SECTION ---- */
.games-section { background: var(--bg-cream-dk); padding: 80px 0; }
.games-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 36px;
}
@media(max-width: 900px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 520px) { .games-grid { grid-template-columns: 1fr; } }

.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform var(--trans), box-shadow var(--trans); display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.game-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 28px rgba(0,0,0,0.22); }
.game-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.game-card__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(20,26,8,0.9));
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
}
.games-cta { text-align: center; }

/* ---- VENUES 2×2 ---- */
.venues-section { background: var(--bg-dark); padding: 80px 0; }
.venues-section .section-title { color: #fff; }
.venues-section .section-subtitle { color: rgba(255,255,255,0.55); }
.venues-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media(max-width: 640px) { .venues-grid { grid-template-columns: 1fr; } }

.venue-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: block; transition: transform var(--trans), box-shadow var(--trans);
}
.venue-card:hover { transform: scale(1.015); box-shadow: 0 12px 36px rgba(0,0,0,0.5); }
.venue-card__img { width: 100%; height: 260px; object-fit: cover; display: block; }
.venue-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,26,8,0.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px 22px;
}
.venue-card__label { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 4px; }
.venue-card__sub   { font-size: 0.78rem; color: var(--primary-lt); font-weight: 600; letter-spacing: 0.06em; }

/* ---- BONUS SECTION ---- */
.bonus-section { background: var(--bg-cream); border-top: 1px solid var(--border-lt); padding: 80px 0; }
.bonus-inner { display: flex; align-items: center; justify-content: center; }
.bonus-content { max-width: 680px; text-align: center; }
.bonus-badge {
  display: inline-block; margin-bottom: 16px; padding: 5px 20px; border-radius: 2px;
  background: var(--primary); color: #fff;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase;
}
.bonus-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 18px; color: var(--text-dark); line-height: 1.1;
}
.bonus-title span { color: var(--primary); }
.bonus-text { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---- SEO CONTENT ---- */
.content-section { background: var(--bg-cream); padding: 80px 0 60px; border-top: 1px solid var(--border-lt); }
.seo-content { max-width: 860px; width: 100%; margin: 0 auto; }
.seo-content h1 { font-size: 1.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; color: var(--text-dark); line-height: 1.2; }
.seo-content h2 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin: 40px 0 14px; color: var(--text-dark); }
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase;
  letter-spacing: 0.05em; margin: 0; cursor: pointer;
  padding: 14px 0; border-bottom: 1px solid var(--border-lt);
  transition: color var(--trans);
}
.seo-content h3.faq-open { color: var(--primary-lt); }
.seo-content h3 + p { display: none; padding: 10px 0; margin-bottom: 0; }
.seo-content h3.faq-open + p { display: block; }
.seo-content h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.05em; margin: 20px 0 8px; }
.seo-content p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.seo-content strong { color: var(--text-dark); }
.seo-content img { width: 100%; max-width: 700px; border-radius: var(--radius); margin: 24px 0; }
.seo-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.seo-content th { background: rgba(0,0,0,0.08) !important; color: var(--text-dark); padding: 10px 14px; text-align: left; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.seo-content td { padding: 10px 14px; border-bottom: 1px solid var(--border-lt); color: var(--text-muted); vertical-align: top; }
.seo-content tr:nth-child(even) td { background: rgba(0,0,0,0.03); }
.seo-content table strong { color: var(--text-dark); }
.seo-content ul, .seo-content ol { margin: 0 0 16px 20px; }
.seo-content li { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; }
.seo-content li strong { color: var(--text-dark); }

/* ---- FOOTER ---- */
.footer { background: var(--bg-dark); border-top: 3px solid var(--primary); }
.footer__inner { padding: 48px 0 28px; }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap; margin-bottom: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-img  { height: 42px; width: auto; object-fit: contain; }
.footer__logo-text { font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__nav { display: flex; gap: 6px 24px; flex-wrap: wrap; align-items: center; }
.footer__nav a { font-size: 0.82rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; transition: color var(--trans); }
.footer__nav a:hover { color: var(--primary-lt); }
.footer__bottom { text-align: center; }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.6; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero__inner { padding: 60px 24px; }
  .venues-grid { grid-template-columns: 1fr; }
  .venue-card__img { height: 220px; }
  .jackpot-bar__inner { gap: 12px; }
  .jackpot-bar__amount { font-size: 1.6rem; }
  .jackpot-bar__inner .btn { margin-left: 0; width: 100%; }
  .footer__top { flex-direction: column; }
  .footer__nav { justify-content: center; }
}
