:root {
  --bg: #050F0A;
  --surface: #0C1A14;
  --text: #D1D5DB;
  --muted: #4B5563;
  --primary: #3A5A40;
  --secondary: #588157;
  --accent: #A3B18A;
  --border: rgba(88,129,87,0.2);
  --military: #3A5A40;
  --hud: #A3B18A;
  --tactical: #588157;
  --security: rgba(88,129,87,0.35);
  --encryption: #A3B18A;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Courier New", Courier, "Lucida Console", monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(88,129,87,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(58,90,64,0.22) 0%, transparent 50%),
    linear-gradient(180deg, #050F0A 0%, #0C1A14 45%, #050F0A 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(88,129,87,0.08) 28px,
      rgba(88,129,87,0.08) 29px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 28px,
      rgba(88,129,87,0.06) 28px,
      rgba(88,129,87,0.06) 29px
    );
}

body::after {
  content: "";
  position: fixed;
  width: 220vmax;
  height: 220vmax;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(163,177,138,0.07) 12deg,
    transparent 28deg
  );
  animation: radar-sweep 18s linear infinite;
  opacity: 0.5;
}

@keyframes radar-sweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.disclosure-banner {
  position: relative;
  z-index: 50;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #E8EDE6;
  color: #1a2e22;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.disclosure-banner .disc-text {
  flex: 0 1 auto;
  max-width: 1100px;
}

.page-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.page-wrap > main {
  flex: 1;
}

.navbar {
  position: static;
  z-index: 100;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  height: 70px;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.navbar a {
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: var(--hud);
}

.tactical-label {
  color: var(--tactical);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
}

.encryption-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--encryption), transparent);
  margin: 12px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  justify-self: center;
}

.brand-lockup img {
  width: 40px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand-lockup .brand-name {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.hud-frame {
  border: 1px solid var(--security);
  background: rgba(12, 26, 20, 0.85);
  position: relative;
  padding: 24px;
  outline: 1px solid color-mix(in srgb, var(--military) 35%, transparent);
}

.hud-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.hud-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.hero {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 60 Q30 40 60 60 T120 60' fill='none' stroke='%23588157' stroke-width='0.8'/%3E%3Cpath d='M0 80 Q30 60 60 80 T120 80' fill='none' stroke='%233A5A40' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 1100px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(163,177,138,0.25);
}

.hero-sub {
  display: none;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text);
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.offers-section {
  padding: 56px 20px;
  background-image: linear-gradient(rgba(5,15,10,0.82), rgba(5,15,10,0.88)), url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.offers-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  color: var(--accent);
  text-align: center;
}

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

.offer-card {
  background: #ffffff;
  color: #1a1a1a;
  border: 2px solid #2d2d2d;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.offer-logo {
  width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

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

.offer-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
}

.offer-bonus {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.offer-terms {
  font-size: 11px;
  color: #6b7280;
}

.offer-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

.btn-offer {
  display: inline-block;
  margin-top: auto;
  padding: 12px 20px;
  background: #3A5A40;
  color: #ffffff;
  border: 2px solid #2d2d2d;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s ease;
}

.btn-offer:hover {
  background: #588157;
}

.info-section {
  padding: 48px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.info-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

.info-section p {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
}

.info-section ul {
  margin: 12px 0 12px 20px;
  color: var(--text);
  font-size: 14px;
}

.info-section li {
  margin-bottom: 6px;
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.decor-wrap {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.section-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.section-cta:hover {
  background: var(--primary);
  color: var(--text);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 20px 28px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

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

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-compliance {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.55;
}

.footer-compliance a {
  color: var(--accent);
}

.footer-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-company {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-au-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 10, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal-box h2 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-size: 18px;
}

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

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

.btn {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  border-color: var(--secondary);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

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

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

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

.cookie-inner p {
  font-size: 12px;
  flex: 1;
  min-width: 200px;
}

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

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 20px;
}

.legal-page h2 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.legal-page h3 {
  font-size: 1rem;
  color: var(--accent);
  margin: 18px 0 8px;
}

.legal-page p,
.legal-page li {
  font-size: 14px;
  margin-bottom: 10px;
}

.legal-page ul {
  margin: 8px 0 12px 20px;
}

.legal-page code {
  font-size: 13px;
  color: var(--accent);
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.contact-form label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
}

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

.email-error {
  display: none;
  font-size: 12px;
  color: #c45c5c;
  margin-top: 4px;
}

.email-error.visible {
  display: block;
}

.form-success {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--secondary);
  background: rgba(88,129,87,0.15);
  font-size: 14px;
}

.form-success.hidden,
.contact-form.hidden,
.hidden {
  display: none;
}

.redirect-box {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.redirect-box h1 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 12px;
  font-size: 1.4rem;
}

.redirect-box p {
  font-size: 14px;
  max-width: 420px;
}

.ad-label {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

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

.compliance-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

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

.error-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-page h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.error-page a {
  margin-top: 20px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 12px 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .navbar-inner {
    grid-template-columns: 1fr auto;
    position: relative;
  }

  .brand-lockup {
    justify-self: center;
    grid-column: 1 / -1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .burger-btn {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .hero-sub {
    display: block;
  }

  .decor-img {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .disclosure-banner {
    gap: 8px;
    padding: 8px 10px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

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

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

  .offer-bonus {
    font-size: 12px;
  }

  .decor-img {
    max-width: 100%;
    max-height: 220px;
  }

  .decor-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 400px) {
  .decor-img {
    max-width: 100%;
    max-height: 180px;
  }

  .page-wrap,
  .info-section,
  .offers-section {
    overflow-x: hidden;
  }
}
