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

:root {
  --bg: #0f0a13;
  --surface: #1a1224;
  --text: #fdf2f8;
  --muted: #f9a8d4;
  --primary: #ec4899;
  --secondary: #a78bfa;
  --accent: #f472b6;
  --border: rgba(253, 242, 248, 0.12);
  --nv-green: #4ade80;
  --nv-amber: #fbbf24;
  --font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  --font-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body.modal-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--primary);
}

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

.disclosure-banner {
  width: 100%;
  background: rgba(253, 242, 248, 0.06);
  border-top: 1px dotted rgba(249, 168, 212, 0.45);
  border-bottom: 1px dotted rgba(249, 168, 212, 0.45);
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-system);
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  width: 85%;
  margin-left: 10%;
  margin-right: 5%;
  margin-top: 12px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover {
  color: var(--nv-green);
  border-color: var(--nv-green);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 19, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

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

.nav-overlay a {
  color: var(--text);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border: 1px solid var(--border);
}

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

.hero {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('/images/decorative/decor_1.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 19, 0.72);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(74, 222, 128, 0.04) 39px, rgba(74, 222, 128, 0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(74, 222, 128, 0.04) 39px, rgba(74, 222, 128, 0.04) 40px);
  pointer-events: none;
  animation: radar-sweep 8s linear infinite;
}

@keyframes radar-sweep {
  0% { opacity: 0.3; }
  50% { opacity: 0.7; }
  100% { opacity: 0.3; }
}

.hero-ribbon {
  position: relative;
  z-index: 2;
  background: var(--primary);
  width: 90%;
  max-width: 720px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  border: 2px solid var(--nv-amber);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.hero-ribbon h1 {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  font-weight: 700;
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.offers-section {
  position: relative;
  padding: 60px 20px;
  background-image: url('/images/offers_bg/offers_bg.webp');
  background-size: cover;
  background-position: center;
}

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

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

.section-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nv-green);
  margin-bottom: 32px;
  text-align: center;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
}

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

.offer-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.offer-card-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-logo {
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.offer-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  font-family: var(--font-system);
}

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

.offer-card-bonus {
  font-size: 0.95rem;
  color: #dc2626;
  font-weight: 600;
  font-family: var(--font-system);
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.offer-terms-note {
  font-size: 0.7rem;
  color: #6b7280;
  font-family: var(--font-system);
}

.offer-card-desc {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: var(--font-system);
  line-height: 1.4;
}

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

.offer-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #16a34a;
  color: #fff;
  border: none;
  font-family: var(--font-system);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

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

.info-section {
  padding: 50px 20px;
  position: relative;
}

.info-section:nth-child(odd) {
  background: var(--bg);
}

.info-section:nth-child(even) {
  background: var(--surface);
}

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

.info-section h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nv-amber);
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.info-section p {
  color: var(--muted);
  font-family: var(--font-system);
  font-size: 0.95rem;
}

.info-layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.info-layout-reverse {
  direction: rtl;
}

.info-layout-reverse > * {
  direction: ltr;
}

.info-img-frame {
  border: 2px solid var(--nv-green);
  padding: 8px;
  background: var(--surface);
  max-width: 500px;
}

.info-img-frame img {
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
  width: 100%;
}

.info-layout-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-layout-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  border: 1px solid var(--border);
  padding: 20px;
  background: rgba(26, 18, 36, 0.6);
}

.info-card-content h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nv-amber);
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.info-card-num {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
}

.info-layout-window {
  border: 2px solid var(--border);
  padding: 4px;
}

.info-window-inner {
  border: 1px solid var(--nv-green);
  padding: 24px;
  background: rgba(15, 10, 19, 0.8);
}

.info-layout-columns {
  columns: 2;
  column-gap: 32px;
}

.info-layout-columns p {
  break-inside: avoid;
  margin-bottom: 12px;
}

.info-layout-banner {
  text-align: center;
  padding: 32px;
  border: 1px dashed var(--secondary);
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(167, 139, 250, 0.05) 10px,
    rgba(167, 139, 250, 0.05) 20px
  );
}

.info-layout-banner h2 {
  border: none;
  padding: 0;
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 8px 24px;
  margin-bottom: 16px;
}

.info-layout-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.info-list-block {
  flex: 1;
  min-width: 200px;
  border-top: 3px solid var(--nv-green);
  padding-top: 12px;
}

.info-layout-asymmetric {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.info-side-panel {
  border: 1px solid var(--primary);
  padding: 16px;
  background: rgba(236, 72, 153, 0.08);
  font-size: 0.85rem;
  color: var(--accent);
}

.info-layout-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.info-layout-horizontal .info-img-frame {
  flex-shrink: 0;
  width: 200px;
}

.info-layout-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-grid-item {
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
}

.info-grid-item h3 {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.info-grid-item p {
  font-size: 0.8rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  flex-shrink: 0;
  margin-top: auto;
}

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

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

.footer-brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-system);
  max-width: 280px;
}

.footer-links h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nv-green);
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-system);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

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

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-system);
}

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 19, 0.95);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate.is-visible {
  display: flex;
}

.age-gate-box {
  background: var(--surface);
  border: 2px solid var(--primary);
  padding: 32px;
  max-width: 420px;
  text-align: center;
}

.age-gate-box h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--nv-amber);
  text-transform: uppercase;
}

.age-gate-box p {
  font-family: var(--font-system);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.btn-secondary {
  padding: 10px 24px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 16px 20px;
  z-index: 250;
}

.cookie-banner.is-visible {
  display: block;
}

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

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

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

.legal-page main {
  padding: 40px 20px 60px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
}

.legal-content h1 {
  font-size: 1.5rem;
  color: var(--nv-amber);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.legal-content h2 {
  font-size: 1.1rem;
  color: var(--nv-green);
  margin: 24px 0 12px;
}

.legal-content h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin: 16px 0 8px;
}

.legal-content p,
.legal-content li {
  font-family: var(--font-system);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-family: var(--font-system);
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--font-system);
  font-size: 0.9rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input.input-error {
  border-color: #ef4444;
}

.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  font-family: var(--font-system);
}

.contact-success {
  display: none;
  padding: 20px;
  border: 1px solid var(--nv-green);
  background: rgba(74, 222, 128, 0.08);
  color: var(--nv-green);
  font-family: var(--font-system);
  margin-top: 24px;
}

.contact-success.is-visible {
  display: block;
}

.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-404 h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.page-404 p {
  font-family: var(--font-system);
  color: var(--muted);
  margin-bottom: 24px;
}

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

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

.redirect-box h1 {
  font-size: 1rem;
  color: var(--nv-amber);
  margin-bottom: 16px;
}

.redirect-ad {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  margin-bottom: 16px;
}

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

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

.redirect-note {
  font-family: var(--font-system);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
}

.redirect-note a {
  color: var(--accent);
}

@media (max-width: 768px) {
  .site-header {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    top: 0;
  }

  .navbar {
    border-radius: 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 220px;
  }

  .hero-ribbon {
    transform: none;
  }

  .info-layout-split,
  .info-layout-asymmetric,
  .info-layout-horizontal,
  .info-layout-grid-3 {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .info-layout-columns {
    columns: 1;
  }

  .info-layout-card {
    grid-template-columns: 1fr;
  }

  .info-layout-reverse {
    direction: ltr;
  }

  .info-img-frame {
    max-width: 100%;
    overflow: hidden;
  }

  .offer-logo {
    width: 140px;
    height: 52px;
  }

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

@media (max-width: 375px) {
  .info-img-frame {
    max-width: 100%;
    overflow: hidden;
  }

  .info-img-frame img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
  }

  .info-layout-horizontal .info-img-frame {
    width: 100%;
    max-width: 100%;
  }

  .hero {
    overflow: hidden;
  }
}
