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

:root {
  --bg: #1E1B4B;
  --surface: #312E81;
  --text: #EEF2FF;
  --muted: #A5B4FC;
  --primary: #A855F7;
  --secondary: #4338CA;
  --accent: #D8B4FE;
  --border: rgba(255, 255, 255, 0.1);
  --disclosure-bg: #f5f5f5;
  --disclosure-text: #555;
  --font-body: "Courier New", Courier, monospace;
  --font-head: Impact, "Arial Black", sans-serif;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

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

main {
  flex: 1 0 auto;
}

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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
  animation: scan 4s linear infinite;
  pointer-events: none;
  z-index: 9996;
}

@keyframes scan {
  0% { transform: translateY(-2px); }
  100% { transform: translateY(100vh); }
}

.disclosure-banner {
  width: 100%;
  background: var(--disclosure-bg);
  color: var(--disclosure-text);
  font-size: 11px;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.5;
}

.disclosure-banner a {
  color: #4338CA;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 52px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.navbar-cta {
  display: none;
}

@media (min-width: 768px) {
  .navbar-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s;
  }

  .navbar-cta:hover {
    background: var(--accent);
    color: var(--bg);
  }
}

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

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

  .nav-drawer-overlay {
    display: none;
  }

  .nav-drawer {
    display: none;
  }
}

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

.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);
}

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

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

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 72px 24px 24px;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}

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

.nav-drawer ul {
  list-style: none;
}

.nav-drawer li {
  border-bottom: 1px solid var(--border);
}

.nav-drawer a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.hero {
  background: var(--bg);
  padding: 64px 16px;
  text-align: center;
  position: relative;
}

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

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .hero-title {
    -webkit-text-stroke: 1px #fff;
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

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

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 75, 0.88);
}

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

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  text-align: center;
  color: var(--accent);
}

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

.offer-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.offer-card-logo {
  width: 280px;
  height: 100px;
  margin: 0 auto;
  padding: 16px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

@media (min-width: 768px) {
  .offer-card-logo {
    width: 292px;
    height: 120px;
  }
}

@media (max-width: 767px) {
  .offer-card-logo img {
    object-fit: contain;
    object-position: center;
  }
}

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

.offer-card-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #1a1a2e;
  text-transform: uppercase;
}

.offer-card-bonus {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-card-terms {
  display: block;
  font-size: 0.7rem;
  color: #888;
  margin-top: 4px;
}

.offer-card-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
  margin-top: 4px;
}

.offer-card-btn {
  display: block;
  margin-top: 12px;
  padding: 12px 20px;
  background: #2563eb;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.offer-card-btn:hover {
  background: #1d4ed8;
}

.info-section {
  padding: 56px 16px;
  position: relative;
}

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

.info-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--accent);
}

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

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

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

.decor-img-wrap {
  max-width: 100%;
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

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

@media (max-width: 767px) {
  .decor-img-wrap {
    max-height: 200px;
  }

  .decor-img-wrap img {
    max-height: 200px;
  }

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

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

.layout-band {
  background: var(--surface);
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  text-align: center;
}

.layout-band p {
  margin: 0 auto;
}

.layout-accent-left {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.08), transparent);
}

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

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

.stat-box {
  background: var(--surface);
  padding: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--muted);
}

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

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

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

@media (max-width: 767px) {
  .layout-zigzag,
  .layout-zigzag.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.layout-quote {
  position: relative;
  padding: 32px 32px 32px 48px;
  background: var(--surface);
  border-radius: 4px;
}

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

.layout-steps {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  background: var(--surface);
  border-top: 3px solid var(--primary);
  text-align: center;
}

.step-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
}

.step-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

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

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

.bullet-item {
  padding: 12px 16px;
  background: rgba(49, 46, 129, 0.5);
  border-left: 3px solid var(--accent);
  font-size: 0.85rem;
  color: var(--muted);
}

.layout-overlay {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.layout-overlay .decor-img-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}

.layout-overlay-text {
  position: relative;
  z-index: 1;
  background: rgba(30, 27, 75, 0.92);
  padding: 24px;
  max-width: 60%;
  border: 1px solid var(--border);
}

@media (max-width: 767px) {
  .layout-overlay-text {
    max-width: 100%;
  }

  .layout-overlay .decor-img-wrap {
    position: relative;
    transform: none;
    opacity: 0.7;
    margin-bottom: 16px;
  }

  .layout-overlay {
    flex-direction: column;
    align-items: stretch;
  }
}

.layout-corner {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.layout-corner::before,
.layout-corner::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--primary);
  border-style: solid;
}

.layout-corner::before {
  top: -1px;
  left: -1px;
  border-width: 3px 0 0 3px;
}

.layout-corner::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 3px 3px 0;
}

.layout-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .layout-pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros-box,
.cons-box {
  padding: 20px;
  border: 1px solid var(--border);
}

.pros-box {
  border-top: 3px solid #22c55e;
}

.cons-box {
  border-top: 3px solid #ef4444;
}

.pros-box h3,
.cons-box h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pros-box ul,
.cons-box ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.pros-box li::before {
  content: "+ ";
  color: #22c55e;
}

.cons-box li::before {
  content: "− ";
  color: #ef4444;
}

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

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

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

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

.footer-links h3 {
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

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

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

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

.footer-badge {
  display: flex;
  align-items: center;
}

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

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

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

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

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 16px;
  opacity: 0.6;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

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

.modal-box h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--accent);
  text-transform: uppercase;
}

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

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

.btn-primary {
  padding: 12px 28px;
  background: var(--primary);
  color: var(--text);
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-banner.visible {
  transform: translateY(0);
}

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

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

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

.page-content {
  padding: 48px 16px 64px;
  min-height: 60vh;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: var(--accent);
}

.page-content h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 32px 0 12px;
  color: var(--text);
}

.page-content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.page-content ul {
  color: var(--muted);
  margin: 0 0 16px 24px;
  font-size: 0.95rem;
}

.page-content li {
  margin-bottom: 8px;
}

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

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

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

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

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

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

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

.form-success {
  padding: 24px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  text-align: center;
  color: var(--text);
  display: none;
}

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

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

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

.redirect-box h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent);
  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: 24px auto;
}

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

.redirect-ad {
  font-size: 10px;
  color: var(--muted);
  margin-top: 24px;
  opacity: 0.7;
}

.redirect-notes {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

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

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

.error-page h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 10vw, 6rem);
  -webkit-text-stroke: 2px var(--primary);
  color: transparent;
  margin-bottom: 16px;
}

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

.error-page a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 14px;
}
