*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #64748B;
  --secondary: #38BDF8;
  --accent: #22C55E;
  --orange: #F97316;
  --border: rgba(229, 231, 235, 0.12);
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

/* Disclosure banner */
.disclosure {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding: 6px 16px;
  line-height: 1.4;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--primary), 0 0 8px var(--primary);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 48px;
  width: 100%;
}

.navbar-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--secondary); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-overlay.is-open { display: flex; }

.nav-overlay-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
}

.nav-overlay-links {
  list-style: none;
  text-align: center;
}

.nav-overlay-links li { margin: 20px 0; }

.nav-overlay-links a {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
}

.nav-overlay-links a:hover { color: var(--secondary); }

body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  background: #FAFAFA;
  color: #0F172A;
  padding: 48px;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: left;
  border-bottom: 4px solid #0F172A;
  padding-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  text-align: right;
  color: #64748B;
  font-size: 1.05rem;
  margin-top: 20px;
  max-width: 520px;
  margin-left: auto;
}

/* Offers section */
.offers-section {
  position: relative;
  padding: 64px 48px;
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.offers-header {
  margin-bottom: 36px;
  border-left: 4px solid var(--orange);
  padding-left: 20px;
}

.offers-header h2 {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offers-header p { color: var(--muted); margin-top: 8px; }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.offer-card {
  position: relative;
  background: #fff;
  color: #1e293b;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.2s;
}

.offer-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4);
}

.offer-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: #f8fafc;
  z-index: 0;
}

.offer-card-logo {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 60px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-bonus {
  font-size: 15px;
  font-weight: 600;
  color: #ea580c;
  line-height: 1.35;
  word-break: break-word;
}

.offer-terms-note {
  font-size: 11px;
  color: #64748b;
}

.offer-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.offer-cta { margin-top: auto; padding-top: 8px; }

.btn-offer {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  background: #0f172a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-offer:hover { background: #334155; color: #fff; }

/* Info sections - shared */
.info-section {
  padding: 56px 48px;
  border-bottom: 1px solid var(--border);
}

.info-inner { max-width: 1100px; margin: 0 auto; }

.info-section h2 {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.info-section p { color: var(--muted); max-width: 680px; }

.info-coord {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.1em;
}

/* Info-1: Grid blueprint */
.info-1 { background: var(--surface); }
.info-1 .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.info-1 .blueprint-frame {
  position: relative;
  border: 1px dashed var(--primary);
  padding: 24px;
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 20px 20px;
}
.info-1 .decor-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border: 2px solid var(--orange);
}
.info-1 .decor-wrap img { width: 100%; height: auto; object-fit: cover; max-height: 320px; }
.info-1 .arrow-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  margin-top: 12px;
}
.info-1 .arrow-meta::before { content: '→ '; }

/* Info-2: Split with vertical rule */
.info-2 { background: var(--bg); }
.info-2 .split-row {
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  gap: 0 32px;
  align-items: start;
}
.info-2 .split-rule { background: var(--secondary); }
.info-2 .decor-offset {
  max-width: 420px;
  margin-top: 20px;
  border: 1px solid var(--border);
  padding: 8px;
  position: relative;
}
.info-2 .decor-offset img { max-height: 280px; object-fit: cover; width: 100%; }
.info-2 .decor-offset::after {
  content: 'REF: BONUS-02';
  position: absolute;
  top: -10px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  background: var(--bg);
  color: var(--orange);
  padding: 0 6px;
}

/* Info-3: Bordered manifest box */
.info-3 { background: var(--surface); }
.info-3 .manifest-box {
  border: 3px solid var(--text);
  padding: 32px;
  position: relative;
  max-width: 800px;
}
.info-3 .manifest-box::before {
  content: 'START // NEW PLAYER';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  padding: 0 8px;
}
.info-3 .manifest-flex {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.info-3 .decor-clipped {
  max-width: 360px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
  border: 1px solid var(--border);
}
.info-3 .decor-clipped img { max-height: 240px; object-fit: cover; width: 100%; }

/* Info-4: Zigzag columns */
.info-4 { background: var(--bg); }
.info-4 .zigzag {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-4 .zig-row {
  display: flex;
  gap: 24px;
  align-items: center;
}
.info-4 .zig-row:nth-child(even) { flex-direction: row-reverse; }
.info-4 .zig-text { flex: 1; }
.info-4 .zig-arrow {
  font-family: var(--font-mono);
  color: var(--secondary);
  font-size: 24px;
  flex-shrink: 0;
}
.info-4 .decor-zig {
  max-width: 280px;
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}
.info-4 .decor-zig img { max-height: 200px; object-fit: cover; width: 100%; }

/* Info-5: Tabular data */
.info-5 { background: var(--surface); }
.info-5 .data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 20px;
}
.info-5 .data-table th,
.info-5 .data-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}
.info-5 .data-table th {
  background: var(--bg);
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}
.info-5 .data-table td { color: var(--muted); }
.info-5 .table-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.info-5 .decor-table {
  max-width: 300px;
  border: 1px dashed var(--primary);
  padding: 6px;
}
.info-5 .decor-table img { max-height: 260px; object-fit: cover; width: 100%; }

/* Info-6: Schematic */
.info-6 { background: var(--bg); }
.info-6 .schematic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.info-6 .schematic-cell {
  border: 1px solid var(--border);
  padding: 20px;
  position: relative;
  transition: background 0.2s;
}
.info-6 .schematic-cell:hover {
  background: var(--surface);
}
.info-6 .schematic-cell:hover .cell-meta { opacity: 1; }
.info-6 .cell-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.info-6 .schematic-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.info-6 .decor-schem {
  max-width: 240px;
  flex-shrink: 0;
  border: 2px solid var(--secondary);
}
.info-6 .decor-schem img { max-height: 180px; object-fit: cover; width: 100%; }

/* Info-7: Horizontal timeline */
.info-7 { background: var(--surface); }
.info-7 .timeline {
  display: flex;
  gap: 0;
  margin-top: 24px;
  overflow-x: auto;
}
.info-7 .timeline-step {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  border-top: 3px solid var(--primary);
  position: relative;
}
.info-7 .timeline-step::after {
  content: '▼';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--orange);
  font-size: 10px;
}
.info-7 .step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange);
  margin-bottom: 8px;
}

/* Info-8: Payment cards row */
.info-8 { background: var(--bg); }
.info-8 .pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.info-8 .pay-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s;
}
.info-8 .pay-cell:hover { border-color: var(--secondary); }
.info-8 .pay-cell span { display: block; font-size: 9px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.info-8 .pay-intro { max-width: 700px; }

/* Info-9: Quote block */
.info-9 { background: var(--surface); }
.info-9 .review-block {
  border-left: 6px solid var(--orange);
  padding: 24px 32px;
  background: var(--bg);
  margin-top: 20px;
  position: relative;
}
.info-9 .review-block::before {
  content: 'AUDIT LOG';
  position: absolute;
  top: 8px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--primary);
}
.info-9 .review-points {
  list-style: none;
  margin-top: 16px;
}
.info-9 .review-points li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.info-9 .review-points li::before { content: '→ '; color: var(--secondary); font-family: var(--font-mono); }

/* Info-10: Dual column promo */
.info-10 { background: var(--bg); }
.info-10 .promo-dual {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 20px;
}
.info-10 .promo-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--orange);
  color: var(--bg);
  padding: 4px 10px;
  font-weight: 700;
  margin-bottom: 12px;
}
.info-10 .promo-side {
  border: 1px solid var(--border);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.info-10 .promo-side strong { color: var(--accent); display: block; margin-bottom: 8px; }

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--secondary); }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-badges img { height: 40px; width: auto; }

.footer-bottom {
  font-size: 12px;
  color: var(--primary);
  font-family: var(--font-mono);
}

/* Subpages */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-content h1 {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 12px;
}

.page-content h2 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--secondary);
}

.page-content h3 {
  font-size: 1rem;
  margin: 20px 0 8px;
}

.page-content p,
.page-content li {
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.page-content ul { padding-left: 24px; margin-bottom: 16px; }

.page-content a { color: var(--secondary); }

/* Contact form */
.contact-form { margin-top: 32px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-error {
  display: block;
  color: #EF4444;
  font-size: 13px;
  margin-top: 6px;
}

.form-error[hidden] { display: none; }

.btn-submit {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--secondary);
  color: var(--bg);
  border: none;
  cursor: pointer;
}

.btn-submit:hover { background: var(--accent); }

.form-success {
  margin-top: 32px;
  padding: 24px;
  border: 2px solid var(--accent);
  background: var(--surface);
}

.form-success[hidden] { display: none; }

.form-success p { color: var(--text); }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 32px;
  max-width: 440px;
  width: 100%;
}

.modal-box h2 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.modal-box p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.modal-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.modal-btn-accept { background: var(--accent); color: var(--bg); }
.modal-btn-decline { background: transparent; color: var(--muted); border: 1px solid var(--border); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

.cookie-banner[hidden] { display: none; }

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p { font-size: 13px; color: var(--muted); flex: 1; min-width: 200px; }

.cookie-actions { display: flex; gap: 10px; }

/* 404 */
.not-found {
  text-align: center;
  padding: 80px 24px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.not-found h1 {
  font-family: var(--font-mono);
  font-size: 4rem;
  color: var(--orange);
}

.not-found p { color: var(--muted); max-width: 400px; }

.btn-home {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--secondary);
  color: var(--bg);
  display: inline-block;
}

/* Redirect pages */
.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.redirect-box {
  text-align: center;
  max-width: 420px;
  padding: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.ad-label {
  position: fixed;
  top: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.redirect-box h1 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.redirect-box p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }

.compliance-notes {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--primary);
}

.compliance-notes a { color: var(--secondary); }

/* Responsive */
@media (max-width: 900px) {
  .navbar-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 32px 20px; }
  .hero h1 { text-align: center; border-bottom: none; border-top: 4px solid #0F172A; padding-top: 16px; padding-bottom: 0; }
  .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }

  .offers-section { padding: 48px 20px; }
  .info-section { padding: 40px 20px; }

  .info-1 .info-grid,
  .info-2 .split-row,
  .info-5 .table-wrap,
  .info-6 .schematic,
  .info-8 .pay-grid,
  .info-10 .promo-dual { grid-template-columns: 1fr; }

  .info-2 .split-rule { display: none; }
  .info-4 .zig-row,
  .info-4 .zig-row:nth-child(even) { flex-direction: column; }

  .footer { padding: 32px 20px; }

  .offer-card-logo {
    width: 120px;
    height: 60px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

@media (max-width: 375px) {
  .info-section,
  .info-inner {
    overflow-x: hidden;
    max-width: 100%;
  }

  .info-1 .decor-wrap,
  .info-2 .decor-offset,
  .info-3 .decor-clipped,
  .info-4 .decor-zig,
  .info-5 .decor-table,
  .info-6 .decor-schem {
    max-width: 100%;
    overflow: hidden;
  }

  .info-1 .decor-wrap img,
  .info-2 .decor-offset img,
  .info-3 .decor-clipped img,
  .info-4 .decor-zig img,
  .info-5 .decor-table img,
  .info-6 .decor-schem img {
    max-width: 100%;
    max-height: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
