:root {
  --bg: #02040A;
  --surface: #0B0E1A;
  --text: #E2E8F0;
  --muted: #64748B;
  --primary: #C5A059;
  --secondary: #1E293B;
  --accent: #94A3B8;
  --border: rgba(197, 160, 89, 0.15);
  --primary-tint: rgba(197, 160, 89, 0.05);
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  background-image: radial-gradient(circle at 20% 0%, rgba(197, 160, 89, 0.06), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(148, 163, 184, 0.05), transparent 40%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

main {
  display: block;
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.disclosure-pill {
  max-width: fit-content;
  margin: 8px auto;
  padding: 6px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--primary-tint);
  font-size: 11px;
  color: var(--accent);
  text-align: center;
}

.disclosure-pill strong {
  color: var(--primary);
}

.disclosure-affiliate {
  max-width: 880px;
  margin: 8px auto;
  padding: 8px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--primary-tint);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0B0E1A, #070912);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.nav-burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 60;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.5);
  background: linear-gradient(180deg, #d8b46c, #b78f44);
  color: #1a1206;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), var(--shadow-inset);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background: linear-gradient(180deg, #243246, #18222f);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  padding: 70px 24px;
  background-image: linear-gradient(180deg, rgba(2, 4, 10, 0.85), rgba(2, 4, 10, 0.96)),
    url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
}

.hero-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: linear-gradient(180deg, #11162a, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  text-align: center;
}

.hero-card h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
  color: var(--text);
}

.hero-card h1 span {
  color: var(--primary);
}

.hero-card p {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 17px;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--text);
}

.section-title.center {
  text-align: center;
}

.offers {
  background-image: linear-gradient(180deg, rgba(2, 4, 10, 0.88), rgba(2, 4, 10, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.offer-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.offer-logo {
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}

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

.offer-name {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.offer-bonus {
  font-size: 16px;
  font-weight: 600;
  color: #b8860b;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.offer-terms {
  font-size: 11px;
  color: #94a3b8;
  margin: 4px 0 12px;
}

.offer-desc {
  font-size: 11px;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.45;
}

.offer-card .btn {
  margin-top: auto;
  width: 100%;
}

.info-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.info-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.info-grid.two-col {
  grid-template-columns: 1.3fr 1fr;
}

.info-grid.two-col.reverse {
  grid-template-columns: 1fr 1.3fr;
}

.info-card {
  background: linear-gradient(180deg, #0e1426, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft), var(--shadow-inset);
}

.info-text h2 {
  font-size: 23px;
  margin: 0 0 12px;
  color: var(--primary);
}

.info-text p {
  margin: 0;
  color: var(--text);
}

.info-media {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 500px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

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

.info-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 46px 34px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.info-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 4, 10, 0.92), rgba(2, 4, 10, 0.55));
}

.info-banner .info-text {
  position: relative;
  max-width: 620px;
}

.info-highlight {
  border-left: 4px solid var(--primary);
  background: var(--primary-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
}

.info-split {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
  background: linear-gradient(180deg, #0e1426, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.info-badge {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(180deg, #1a2236, #10172a);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-inset);
}

.info-feature-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.info-feature-list li {
  padding: 12px 14px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--accent);
}

.info-stack {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.info-stack .info-media {
  margin: 22px auto 0;
}

.footer {
  background: linear-gradient(180deg, #070912, #02040A);
  border-top: 1px solid var(--border);
  padding: 48px 0 30px;
}

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

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

.footer-brand p {
  max-width: 320px;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--accent);
  font-size: 13px;
}

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

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

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

.footer-ca {
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-copy {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 4, 10, 0.85);
  z-index: 100;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-box {
  max-width: 440px;
  width: 100%;
  background: linear-gradient(180deg, #11162a, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.modal-box h2 {
  margin: 0 0 12px;
  color: var(--primary);
}

.modal-box p {
  color: var(--accent);
  font-size: 14px;
  margin: 0 0 22px;
}

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

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(160%);
  width: calc(100% - 40px);
  max-width: 760px;
  background: linear-gradient(180deg, #11162a, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  z-index: 90;
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
  flex: 1;
  min-width: 220px;
}

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

.cookie-actions .btn {
  padding: 9px 18px;
  font-size: 13px;
}

.page-shell {
  padding: 50px 0 30px;
  min-height: 50vh;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0e1426, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.legal-content h1 {
  color: var(--primary);
  margin-top: 0;
}

.legal-content h2 {
  color: var(--text);
  font-size: 20px;
  margin-top: 28px;
}

.legal-content p,
.legal-content li {
  color: var(--accent);
  font-size: 15px;
}

.contact-form {
  max-width: 820px;
  margin: 26px auto 0;
  background: linear-gradient(180deg, #0e1426, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.contact-form h2 {
  margin-top: 0;
  color: var(--primary);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #070b16;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

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

.form-error.active {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  color: var(--primary);
  font-size: 17px;
  font-weight: 600;
}

.form-success.active {
  display: block;
}

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

.redirect-card {
  max-width: 520px;
  text-align: center;
  background: linear-gradient(180deg, #11162a, #0a0e1c);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px 36px;
  box-shadow: var(--shadow-soft);
}

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

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

.redirect-card .ad-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 14px;
}

.redirect-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.6;
}

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

.error-page h1 {
  font-size: 90px;
  margin: 0;
  color: var(--primary);
}

.error-page p {
  color: var(--accent);
  margin: 10px 0 26px;
}

@media (max-width: 860px) {
  .info-grid.two-col,
  .info-grid.two-col.reverse {
    grid-template-columns: 1fr;
  }

  .info-media {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 74%;
    max-width: 300px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 0 30px;
    background: linear-gradient(180deg, #0B0E1A, #070912);
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 70;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 26px;
    border-left: 3px solid transparent;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    border-left-color: var(--primary);
    background: var(--primary-tint);
  }

  .hero-card {
    padding: 24px;
  }

  .hero-card h1 {
    font-size: 26px;
  }

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

  .info-badge {
    margin: 0 auto;
  }

  .info-media {
    max-width: 100%;
  }

  .info-media img {
    max-height: 240px;
  }

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

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