/* ─────────────────────────────────────────────────────────────
   AmOp Gaming · Shared Styles
   Cream + navy + gold palette, Playfair Display for headlines,
   Barlow for body. Mobile-first.
   ───────────────────────────────────────────────────────────── */

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  --cream:        #fbf6ea;
  --cream-deep:   #f4ede0;
  --cream-card:   #fffaf0;
  --ink:          #1a2236;
  --ink-soft:     #2d3748;
  --ink-muted:    #4a5568;
  --gold:         #a8842c;
  --gold-light:   #c19a3d;
  --gold-dim:     #8a6d2e;
  --green:        #15803d;
  --green-light:  #22c55e;
  --rule:         rgba(168,132,44,0.25);
  --rule-soft:    rgba(26,34,54,0.08);

  --container-max: 1100px;
  --container-narrow: 760px;

  --radius:       6px;
  --radius-lg:    12px;

  --shadow-sm:    0 1px 3px rgba(26,34,54,0.06);
  --shadow-md:    0 6px 20px rgba(26,34,54,0.08);
  --shadow-lg:    0 20px 50px rgba(26,34,54,0.12);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

/* ── LAYOUT PRIMITIVES ───────────────────────────────────────── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }
.section-alt { background: var(--cream-deep); }
.section-dark {
  background: linear-gradient(135deg, #0d1428 0%, #1a2236 100%);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(251,246,234,0.75); }
.section-dark .eyebrow { color: var(--gold-light); }

.divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 18px;
}
.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ── HEADER / NAV ────────────────────────────────────────────── */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(251,246,234,0.96);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  line-height: 1;
}
.nav-brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.4;
  display: inline-block;
}
.nav-cta:hover {
  background: var(--gold);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink) !important;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream) !important;
}
.section-dark .btn-secondary {
  color: var(--cream) !important;
  border-color: var(--cream);
}
.section-dark .btn-secondary:hover {
  background: var(--cream);
  color: var(--ink) !important;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding: clamp(60px, 10vw, 110px) 0 clamp(60px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(168,132,44,0.10) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text .hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
  max-width: 540px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 600;
}
.hero-stat-label small {
  display: block;
  color: var(--ink-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-top: 2px;
  font-size: 12px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: #0d1428;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── PAGE HEADERS (non-home pages) ──────────────────────────── */
.page-header {
  background: var(--cream-deep);
  padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--rule);
}
.page-header h1 { max-width: 740px; }
.page-header .lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 0.8rem;
}

/* ── CONTENT CARDS / GRIDS ──────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.feature-card {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 30px);
  transition: all 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(168,132,44,0.12);
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin: 0;
}

/* Step list (numbered) */
.step-list { counter-reset: step; list-style: none; }
.step-list > li {
  counter-increment: step;
  position: relative;
  padding-left: 64px;
  margin-bottom: 32px;
  min-height: 44px;
}
.step-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
}
.step-list h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.step-list p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* Callout / note box */
.callout {
  background: rgba(168,132,44,0.07);
  border: 1px solid rgba(168,132,44,0.25);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.callout-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.callout p {
  font-size: 14.5px;
  margin: 0;
}

/* Badge row */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  background: rgba(168,132,44,0.10);
  border: 1px solid rgba(168,132,44,0.35);
  border-radius: 4px;
  padding: 7px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(251,246,234,0.88);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.footer-brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(193,154,61,0.85);
  margin-top: 4px;
  text-transform: uppercase;
}
.footer-tagline {
  max-width: 360px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(251,246,234,0.82);
}
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(251,246,234,0.88);
  transition: color 0.2s ease;
  font-size: 14px;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(251,246,234,0.18);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(251,246,234,0.68);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── FORMS ───────────────────────────────────────────────────── */
.form {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-label .required { color: var(--gold); }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.15s ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--cream-card);
  box-shadow: 0 0 0 3px rgba(168,132,44,0.15);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: rgba(21,128,61,0.08);
  border: 1px solid rgba(21,128,61,0.3);
  color: var(--green);
}
.form-status.is-error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.3);
  color: #b91c1c;
}

/* Subtle honeypot (anti-spam) */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { aspect-ratio: 16/11; max-height: 360px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-bottom: none;
  }
  .nav-toggle { display: block; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .step-list > li { padding-left: 54px; }
  .step-list > li::before { width: 38px; height: 38px; font-size: 16px; }
}
