/* ===== NZLuckySocial | NZ SOCIAL GAMES (Burgundy + Gold) ===== */
:root {
  --bg: #1b0a0e;
  --bg-2: #2a0c13;
  --bg-3: #120607;
  --ink: #f8e9cf;
  --ink-soft: #e3cfad;
  --ink-muted: #c8b089;
  --gold: #d7b46a;
  --gold-2: #f0d28a;
  --burgundy: #5d0f1d;
  --burgundy-2: #7a1426;
  --line: rgba(215, 180, 106, 0.22);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(60% 80% at 80% -10%, rgba(215, 180, 106, 0.12), transparent 60%),
    radial-gradient(50% 50% at 10% 0%, rgba(122, 20, 38, 0.35), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.container { width: min(1240px, 92%); margin: 0 auto; }

/* ===== NOTICE ===== */
.notice-bar {
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  color: #120607;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.notice-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 6, 7, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--gold), var(--burgundy-2));
  display: grid;
  place-items: center;
  color: #120607;
  font-size: 18px;
  box-shadow: var(--shadow);
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text span { font-size: 18px; }
.brand-text small {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 4px;
  transition: 0.2s ease;
  border: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(215, 180, 106, 0.12);
  border-color: rgba(215, 180, 106, 0.35);
}

.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 0;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #14070a;
  box-shadow: var(--shadow);
}
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

/* ===== HERO ===== */
.hero {
  padding: 86px 0 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 6, 7, 0.7), rgba(18, 6, 7, 0.5)),
    var(--hero-bg, url("../img/image.jpg"));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: saturate(0.9);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(215, 180, 106, 0.12), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(122, 20, 38, 0.35), transparent 60%);
  z-index: 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
.hero .lead { color: var(--ink-soft); margin-top: 14px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; justify-content: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; justify-content: center; }
.tag {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.hero-panel {
  display: none;
}
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.tile {
  background: rgba(18, 6, 7, 0.7);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 0;
  font-size: 12px;
  color: var(--ink-muted);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.tile strong { display: block; color: var(--ink); font-size: 14px; }

/* ===== SECTIONS ===== */
.section { padding: 52px 0; }
.section-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(520px, 90%);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: skewX(-12deg);
}
.section-title h2 { font-size: clamp(24px, 3vw, 34px); }
.section-title p { color: var(--ink-soft); max-width: 70ch; }

.grid-2, .grid-3, .grid-4, .game-grid, .review-wall, .catalog-grid {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: rgba(18, 6, 7, 0.7);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  font-weight: 700;
  color: var(--gold);
  background: rgba(215, 180, 106, 0.08);
  margin-bottom: 10px;
  transform: skewX(-8deg);
}
.icon > * { transform: skewX(8deg); }

/* ===== BENTO ===== */
.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
.bento-panel {
  background: linear-gradient(145deg, rgba(122, 20, 38, 0.4), rgba(18, 6, 7, 0.9));
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 0;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.bento-stack { display: grid; gap: 14px; }

/* ===== STEPS ===== */
.step-rail { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(18, 6, 7, 0.6);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: rgba(215, 180, 106, 0.15);
  color: var(--gold);
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* ===== GAMES ===== */
.game-grid { grid-template-columns: repeat(3, 1fr); }
.game-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(18, 6, 7, 0.75);
  padding: 14px;
  display: grid;
  gap: 10px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.game-media img {
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.2);
}
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.filter-bar button {
  border: 1px solid var(--line);
  background: rgba(18, 6, 7, 0.7);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}
.filter-bar button.active {
  background: rgba(215, 180, 106, 0.2);
  border-color: rgba(215, 180, 106, 0.5);
}
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.catalog-side {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 16px;
}
.catalog-search {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 6, 7, 0.7);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.catalog-search label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.catalog-search input {
  border: 1px solid var(--line);
  background: rgba(12, 5, 6, 0.6);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 0;
}
.catalog-filters {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 6, 7, 0.7);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.catalog-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.catalog-note {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 6, 7, 0.7);
  color: var(--ink-soft);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.catalog-note strong { color: var(--ink); }
.catalog-main .game-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-side { position: static; }
  .catalog-main .game-grid { grid-template-columns: 1fr; }
}

/* ===== GAME FRAMES ===== */
.game-frame {
  width: 100%;
  border: 0;
  height: min(90vh, 1200px);
  min-height: 900px;
  background: #0b0507;
}
.catalog-frame-wrap {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b0507;
  overflow: hidden;
}
.catalog-frame-wrap iframe {
  width: 100%;
  height: min(90vh, 1200px);
  min-height: 900px;
  border: 0;
}
.frame-bleed {
  margin: 0;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 820px) {
  .game-frame {
    height: min(80vh, 900px);
    min-height: 640px;
  }
  .catalog-frame-wrap iframe {
    height: min(80vh, 900px);
    min-height: 640px;
  }
}
@media (max-width: 520px) {
  .game-frame {
    height: 70vh;
    min-height: 480px;
  }
  .catalog-frame-wrap iframe {
    height: 70vh;
    min-height: 480px;
  }
}

/* ===== REVIEWS ===== */
.review-wall { grid-template-columns: repeat(3, 1fr); }
.review-card {
  background: rgba(18, 6, 7, 0.75);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.review-header { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gold), var(--burgundy-2));
  color: #120607;
  display: grid;
  place-items: center;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.review-meta small { color: var(--ink-muted); }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 0;
  border: 1px solid var(--line);
  background: rgba(18, 6, 7, 0.75);
  padding: 16px 18px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.faq-item button {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}
.faq-item p { color: var(--ink-soft); margin-top: 10px; display: none; }
.faq-item.open p { display: block; }

/* ===== FORMS ===== */
.form-card {
  background: rgba(18, 6, 7, 0.75);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.form-grid label { display: grid; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 0;
  background: rgba(12, 5, 6, 0.6);
  color: var(--ink);
  font-family: inherit;
}
.form-grid .full { grid-column: 1 / -1; }

/* ===== FOOTER ===== */
.footer { padding: 40px 0 60px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.footer p { color: var(--ink-soft); font-size: 13px; }
.footer-links { display: grid; gap: 10px; }

/* ===== OVERLAYS ===== */
.overlay, .cookie-box {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.overlay { background: rgba(8, 4, 5, 0.75); }
.cookie-box { background: transparent; align-items: flex-end; justify-content: flex-end; }
.overlay.show, .cookie-box.show { display: flex; }
.overlay-card, .cookie-card {
  background: rgba(18, 6, 7, 0.95);
  border-radius: 0;
  padding: 22px;
  border: 1px solid var(--line);
  width: min(560px, 100%);
  box-shadow: var(--shadow);
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.cookie-card { position: relative; margin: 0 20px 20px 0; text-align: left; }

/* ===== COMPLIANCE ===== */
.compliance { background: rgba(122, 20, 38, 0.25); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compliance .card { border-color: var(--line); }
.compliance .section-title p { color: var(--ink); font-weight: 600; }
.compliance-row { margin-top: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1020px) {
  .hero-split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .game-grid, .review-wall, .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .header-grid { grid-template-columns: 1fr auto; }
  .brand { justify-self: start; }
  .nav-burger { justify-self: end; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(18, 6, 7, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px;
    display: none;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  .section-title { grid-template-columns: 1fr; }
}
