/* LuckyGEM — GEM Minimal Prestige */
:root {
  --bg: #111a14;
  --bg-soft: #161f19;
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.35);
  --gold-faint: rgba(201, 168, 76, 0.16);
  --cream: #f9f5ec;
  --cream-alt: #f0eadb;
  --text: #eeeae0;
  --text-muted: #a39e90;
  --ink: #111a14;
  --font: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Manrope", "Segoe UI", system-ui, sans-serif;
  --max: 1080px;
  --prose: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Header: logo + CTA only */
.site-header {
  border-bottom: 1px solid var(--gold-dim);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}

.header-nav a {
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

.header-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 10px 22px;
  min-height: 42px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
}

.btn-promo {
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.45);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}

/* Hero */
.hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--gold-faint);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1,
.page-hero h1,
.prose h1 {
  margin: 0 0 22px;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.lead,
.prose .lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.media-frame {
  border: 1px solid var(--gold);
  background: var(--bg-soft);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Content */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--gold-faint);
}

.section:last-of-type {
  border-bottom: none;
}

.prose {
  max-width: var(--prose);
}

.prose h2,
.prose h3 {
  font-family: var(--font);
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.prose h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
}

.prose h3 {
  margin: 36px 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.prose p {
  margin: 0 0 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.icon {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  color: var(--gold);
  flex-shrink: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 1.2em;
  color: var(--text);
}

.prose li {
  margin: 0 0 10px;
}

.prose li::marker {
  color: var(--gold);
}

.tip {
  margin: 28px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--gold);
  background: transparent;
}

.tip p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.split .media-frame {
  margin-top: 8px;
}

.page-hero {
  padding: 72px 0 8px;
}

.page-hero .kicker {
  margin-bottom: 16px;
}

/* Cards / overview */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.promo-badge {
  max-width: var(--prose);
  margin: 0 auto 40px;
  padding: 36px 28px;
  border: 1px solid var(--gold);
  text-align: center;
}

.promo-badge h2 {
  margin: 8px 0 12px;
  font-family: var(--font);
  color: var(--cream);
}

.promo-badge-label {
  color: var(--gold);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.promo-code-display {
  margin: 8px 0 18px;
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.promo-meta {
  margin: 0 0 6px;
  color: var(--text-muted);
}

.cta-block {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 40px 24px;
  border: 1px solid var(--gold);
  text-align: center;
}

.cta-block h2 {
  margin: 0 0 10px;
  font-family: var(--font);
  color: var(--cream);
}

.cta-block p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.card {
  border: 1px solid var(--gold);
  background: transparent;
  padding: 22px 22px 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--gold);
}

.card p {
  margin: 0;
}

.btn-row-center {
  justify-content: center;
}

/* Table — light cream rows, bold gold headers */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 8px 0 8px;
  border: 1px solid var(--gold);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

thead th {
  background: var(--bg);
  color: var(--gold);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gold);
}

tbody td,
tbody th {
  background: var(--cream);
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  border-bottom: 1px solid rgba(17, 26, 20, 0.08);
  vertical-align: top;
}

tbody th {
  font-weight: 700;
  white-space: nowrap;
  width: 34%;
}

tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th {
  background: var(--cream-alt);
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: none;
}

/* FAQ */
.faq-item {
  border-top: 1px solid var(--gold-faint);
  padding: 22px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--gold-faint);
}

.faq-item h3 {
  margin-top: 0;
}

/* Footer: extra pages + locale only */
.site-footer {
  border-top: 1px solid var(--gold-dim);
  padding: 36px 0 42px;
  margin-top: auto;
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.footer-brand {
  margin: 0;
  font-family: var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero {
    padding: 56px 0 40px;
  }

  .hero-grid,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .wrap,
  .footer-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding-top: 4px;
  }

  .prose h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 520px) {
  .header-cta .btn {
    padding: 9px 12px;
    letter-spacing: 0.08em;
  }

  .logo-img {
    height: 32px;
  }
}
