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

:root {
  --bg: #04110D;
  --surface: #0A1F17;
  --text: #ECFDF5;
  --muted: #6EE7B7;
  --primary: #10B981;
  --secondary: #22D3EE;
  --accent: #FACC15;
  --border: rgba(236, 253, 245, 0.12);
  --nav-back: #0d2a1f;
  --font-stack: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-stack);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.disclosure-banner {
  max-width: fit-content;
  margin: 8px auto;
  padding: 6px 24px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-back {
  display: none;
  width: 100%;
  height: 64px;
  background: var(--nav-back);
}

.nav-wrap {
  position: relative;
}

.nav-front {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
}

@media (min-width: 769px) {
  .nav-back {
    display: block;
  }

  .nav-wrap {
    margin-top: -8px;
  }

  .nav-front {
    height: 48px;
    border-radius: 8px;
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

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

@media (min-width: 769px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

@media (min-width: 769px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  background: var(--surface);
  border-left: 2px solid var(--primary);
  z-index: 1002;
  padding: 72px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

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

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px dashed var(--border);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 17, 13, 0.75);
  z-index: 1001;
}

.drawer-overlay.open {
  display: block;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
}

.hero {
  position: relative;
  background: var(--bg);
  padding: 60px 20px 80px;
  min-height: 300px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--primary);
  display: block;
  font-size: 0.55em;
  margin-top: 8px;
  letter-spacing: 0.15em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-decor {
  max-width: 420px;
  max-height: 260px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--border);
  border-radius: 4px 16px 4px 16px;
  transform: rotate(-1.5deg);
  box-shadow: 6px 6px 0 rgba(16, 185, 129, 0.2);
}

.hero-decor img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) saturate(0.9);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 48px;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 16px 48px;
  }

  .hero-wave svg {
    height: 28px;
  }

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

.offers-section {
  position: relative;
  padding: 64px 20px;
  background: var(--surface);
  background-image: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(34, 211, 238, 0.04) 0%, transparent 40%);
}

.offers-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.offers-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 10px;
  transform: skewX(-12deg);
}

.section-sub {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

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

.offer-card {
  background: #1a2e26;
  border: 2px solid #2d4a3e;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.offer-card-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, #223830 0%, #1a2e26 100%);
  border-bottom: 1px dashed #3d5a4e;
}

.offer-logo-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

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

.offer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

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

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

.offer-bonus {
  font-size: 1rem;
  font-weight: 600;
  color: #a7f3d0;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.offer-terms-note {
  font-size: 0.7rem;
  color: #6b9e8a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offer-desc {
  font-size: 0.82rem;
  color: #8fb8a8;
  line-height: 1.5;
}

.offer-cta {
  display: inline-block;
  margin-top: auto;
  padding: 12px 24px;
  background: #10B981;
  color: #04110D;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.offer-cta:hover {
  background: #34d399;
}

.info-sections {
  background: var(--bg);
}

.info-block {
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}

.info-block:nth-child(odd) {
  background: var(--surface);
}

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

.info-block h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.info-block p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 700px;
}

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

@media (max-width: 768px) {
  .info-1-layout {
    grid-template-columns: 1fr;
  }
}

.info-1-layout .info-img-wrap {
  justify-self: end;
}

.info-img-wrap {
  max-width: 480px;
  overflow: hidden;
  border-radius: 2px 12px 2px 12px;
  border: 2px solid var(--border);
  transform: rotate(1deg);
}

.info-img-wrap img {
  width: 100%;
  max-width: 500px;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

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

.info-2-layout h2 {
  color: var(--accent);
}

.info-3-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-3-layout .info-img-wrap {
  align-self: flex-end;
  margin-top: -40px;
  transform: rotate(-2deg);
}

.info-4-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .info-4-layout {
    grid-template-columns: 1fr;
  }
}

.info-4-layout .info-img-wrap {
  transform: rotate(-1deg);
}

.info-5-layout {
  text-align: center;
}

.info-5-layout h2,
.info-5-layout p {
  margin-left: auto;
  margin-right: auto;
}

.info-5-layout .info-img-wrap {
  margin: 24px auto 0;
  transform: rotate(0.5deg);
}

.info-6-layout {
  display: flex;
  gap: 32px;
  flex-direction: row-reverse;
  align-items: center;
}

@media (max-width: 768px) {
  .info-6-layout {
    flex-direction: column;
  }
}

.info-7-layout {
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed var(--border);
  padding: 32px;
  border-radius: 4px;
}

.info-7-layout .info-img-wrap {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 360px;
}

@media (max-width: 768px) {
  .info-7-layout .info-img-wrap {
    float: none;
    margin: 16px auto;
  }
}

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

@media (max-width: 768px) {
  .info-8-layout {
    columns: 1;
  }
}

.info-8-layout h2 {
  column-span: all;
}

.info-9-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  border-top: 3px solid var(--primary);
  padding-top: 24px;
}

@media (max-width: 768px) {
  .info-9-layout {
    grid-template-columns: 1fr;
  }
}

.info-10-layout {
  position: relative;
  padding: 40px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(10, 31, 23, 0.5) 100%);
  border: 1px solid var(--border);
}

.info-10-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--border);
  padding: 48px 20px 32px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo img {
  height: 40px;
  margin-bottom: 12px;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

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

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

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

.footer-badges img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-nz-disclosure {
  font-size: 11px;
  color: rgba(110, 231, 183, 0.7);
  line-height: 1.6;
  max-width: 720px;
}

.footer-nz-disclosure a {
  color: var(--muted);
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.75rem;
  color: rgba(110, 231, 183, 0.5);
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 10000;
}

.age-overlay {
  inset: 0;
  background: rgba(4, 17, 13, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.age-modal {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 36px 32px;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.age-modal p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

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

.age-btns button {
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.age-confirm {
  background: var(--primary);
  color: var(--bg);
}

.age-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border) !important;
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 600px;
}

.cookie-banner button {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.page-main {
  min-height: 50vh;
}

.page-hero-small {
  background: var(--surface);
  padding: 40px 20px;
  border-bottom: 2px dashed var(--border);
}

.page-hero-small h1 {
  max-width: 1160px;
  margin: 0 auto;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

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

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

.contact-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

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

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

.contact-form .form-error {
  color: #f87171;
  font-size: 0.82rem;
  margin: -12px 0 12px;
  display: none;
}

.contact-form .form-error.visible {
  display: block;
}

.contact-form button[type="submit"] {
  padding: 12px 32px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}

.form-success {
  padding: 32px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--primary);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
}

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

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

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

.error-page p {
  color: var(--muted);
  margin-bottom: 24px;
}

.error-page a {
  color: var(--secondary);
  font-weight: 700;
}

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

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

.redirect-ad {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.redirect-box h1 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

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

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

.redirect-box a {
  color: var(--primary);
}

@media (max-width: 375px) {
  .hero-decor {
    max-width: 100%;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-decor img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
  }

  .info-img-wrap {
    max-width: 100%;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

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

  .info-3-layout .info-img-wrap {
    margin-top: 16px;
    align-self: center;
  }

  .info-7-layout .info-img-wrap {
    max-width: 100%;
    float: none;
    margin: 16px auto;
  }

  .info-block {
    overflow: hidden;
  }

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

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