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

:root {
  --bg: #0B1220;
  --surface: #121B2E;
  --surface-light: #1A2640;
  --surface-dark: #0A1018;
  --text: #EAF0FF;
  --muted: #B6C2E2;
  --primary: #3B82F6;
  --secondary: #22C55E;
  --accent: #A78BFA;
  --border: rgba(255, 255, 255, 0.12);
  --warm-gold: #F5C563;
  --warm-green: #4ADE80;
  --warm-amber: #FBBF24;
  --max-width: 1200px;
  --nav-height: 60px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 197, 99, 0.06) 0%, transparent 50%);
}

main {
  flex: 1 0 auto;
}

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

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

a:hover {
  color: var(--warm-green);
}

.disclosure-banner {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  width: 100%;
}

.navbar-half {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-half--left {
  background: var(--surface-light);
  justify-content: flex-end;
  padding-right: 0;
}

.navbar-half--right {
  background: var(--surface-dark);
  justify-content: flex-start;
  padding-left: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-inner {
  max-width: calc(var(--max-width) / 2);
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.navbar-half--left .navbar-inner {
  justify-content: flex-start;
}

.navbar-half--right .navbar-inner {
  justify-content: flex-end;
}

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

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

.navbar-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

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

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

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  z-index: 200;
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

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

.mobile-drawer a {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
}

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

.hero {
  background: var(--surface-dark);
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-text h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--warm-gold);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
  text-align: right;
  line-height: 1.6;
}

.hero-deco {
  max-width: 180px;
  max-height: 100px;
  object-fit: contain;
  border-radius: 12px;
  opacity: 0.9;
}

.offers-section {
  position: relative;
  padding: 48px 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(11, 18, 32, 0.82);
}

.offers-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.offers-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 32px;
  color: var(--warm-gold);
}

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

.offer-card {
  background: linear-gradient(145deg, #1e2d4a 0%, #152238 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

.offer-logo {
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}

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

.offer-card-bonus {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  line-height: 1.35;
}

.offer-bonus-group {
  margin-bottom: 12px;
}

.offer-terms-note {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.offer-card-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.offer-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, #2563EB 100%);
  color: #fff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.offer-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: #fff;
}

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

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

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

.info-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.info-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--warm-gold);
}

.info-section p {
  color: var(--muted);
  margin-bottom: 12px;
}

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

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

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

.deco-img {
  max-width: 500px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.deco-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.info-mini-card {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.info-mini-card h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.layout-accent-border {
  border-left: 4px solid var(--secondary);
  padding-left: 24px;
}

.security-list {
  list-style: none;
  margin-top: 16px;
}

.security-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
}

.security-list li::before {
  content: "✓ ";
  color: var(--secondary);
  font-weight: bold;
}

.layout-bg-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 200px;
  background-size: cover;
  background-position: center;
}

.layout-bg-image .bg-content {
  background: rgba(11, 18, 32, 0.85);
  padding: 32px;
  height: 100%;
}

.layout-steps {
  counter-reset: step;
  list-style: none;
  margin-top: 20px;
}

.layout-steps li {
  counter-increment: step;
  padding: 16px 16px 16px 56px;
  position: relative;
  margin-bottom: 12px;
  background: var(--surface-light);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
}

.layout-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.layout-quote {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(34, 197, 94, 0.1));
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.layout-quote::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.4;
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
}

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

.slot-col {
  background: var(--surface-light);
  border-radius: 12px;
  padding: 20px;
  border-top: 3px solid var(--warm-amber);
}

.slot-col h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--warm-amber);
  margin-bottom: 8px;
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 20px;
}

.layout-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.timeline-item h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.checklist {
  list-style: none;
  margin-top: 16px;
}

.checklist li {
  padding: 12px 12px 12px 36px;
  position: relative;
  margin-bottom: 8px;
  background: var(--surface-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
}

.checklist li::before {
  content: "☑";
  position: absolute;
  left: 12px;
  color: var(--secondary);
}

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

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.footer-logo p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

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

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

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

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

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

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

.footer-bottom {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
}

.age-modal,
.cookie-banner {
  position: fixed;
  z-index: 1000;
}

.age-modal {
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

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

.age-modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--warm-gold);
}

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

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

.btn-primary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--secondary), #16A34A);
  color: #fff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 28px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

.legal-page main {
  padding: 48px 20px 80px;
}

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

.legal-content h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--warm-gold);
}

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

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

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

.legal-content ul {
  margin: 12px 0 12px 24px;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-form h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text);
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

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

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

.form-error {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}

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

.form-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  font-family: var(--font-sans);
  color: var(--secondary);
}

.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(--warm-gold);
  margin-bottom: 16px;
}

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

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

.redirect-box {
  max-width: 480px;
}

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

.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: 24px auto;
}

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

.redirect-ad {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

@media (max-width: 900px) {
  .navbar {
    background: var(--surface-dark);
    justify-content: space-between;
    padding: 0 16px;
  }

  .navbar-half {
    display: none;
  }

  .navbar-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .burger-btn {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .layout-split,
  .layout-columns,
  .layout-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .navbar-mobile {
    display: none;
  }
}

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

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

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

  .offer-card-bonus {
    font-size: 0.95rem;
  }

  .legal-content {
    padding: 24px;
  }

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

@media (max-width: 375px) {
  .deco-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .deco-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
  }

  .hero-deco {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
  }

  .layout-bg-image {
    max-width: 100%;
    overflow: hidden;
  }

  .offer-logo-img {
    object-fit: contain;
    object-position: center;
  }
}
