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

:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --primary: #38BDF8;
  --secondary: #6366F1;
  --accent: #F472B6;
  --border: rgba(255, 255, 255, 0.1);
  --disclosure-bg: #38BDF8;
  --card-bg: #ffffff;
  --card-text: #1a1a2e;
  --card-muted: #64748b;
  --card-accent: #6366F1;
  --card-btn: #38BDF8;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

main {
  flex: 1 0 auto;
}

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

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

a:hover {
  opacity: 0.85;
}

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

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

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

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

.nav-icons {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-icon-link {
  opacity: 0.6;
  transition: opacity 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text);
}

.nav-icon-link:hover {
  opacity: 1;
}

.nav-icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-icon-link .tooltip {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.nav-icon-link:hover .tooltip {
  opacity: 1;
}

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

.burger-btn span {
  display: block;
  width: 22px;
  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);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0.03em;
}

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

  .nav-icons {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }
}

.hero {
  background: var(--bg);
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateY(20%);
}

.hero-subtitle {
  background: var(--surface);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
}

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

.offers-section h2 {
  font-family: var(--serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

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

.offer-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.offer-card-logo {
  width: 200px;
  height: 80px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
}

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

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

.offer-card-bonus {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.offer-card-terms {
  font-size: 0.75rem;
  color: var(--card-muted);
  margin-bottom: 16px;
}

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

.offer-card-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: var(--card-btn);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
  transition: background 0.2s;
}

.offer-card-btn:hover {
  background: #0ea5e9;
  opacity: 1;
}

.info-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
}

.info-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.info-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 400;
}

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

.info-1-layout .decor-wrap {
  order: -1;
}

.decor-wrap {
  overflow: hidden;
  max-width: 500px;
}

.decor-wrap img {
  max-width: 500px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

.info-2-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.info-2-layout .info-text {
  flex: 1;
}

.info-2-layout .decor-wrap {
  flex-shrink: 0;
  margin-left: auto;
}

.info-3-layout {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 60px 40px;
  border-radius: 4px;
  overflow: hidden;
}

.info-3-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.info-3-layout .info-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

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

.info-5-layout {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--border);
}

.info-5-layout .decor-wrap {
  margin: 0 auto 32px;
}

.info-6-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
}

.info-6-layout .decor-wrap {
  width: 40%;
  flex-shrink: 0;
}

.info-6-layout .decor-wrap img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.info-6-layout .info-text {
  padding: 40px;
  flex: 1;
}

.info-7-layout {
  border-left: 3px solid var(--primary);
  padding-left: 32px;
  max-width: 720px;
}

.info-8-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.info-9-layout {
  background: var(--surface);
  padding: 56px 48px;
  position: relative;
}

.info-9-layout::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 48px;
  width: 80px;
  height: 3px;
  background: var(--accent);
}

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

.info-10-layout .info-text:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
}

.info-10-layout .decor-wrap {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 767px) {
  .hero h1 {
    white-space: normal;
    text-align: center;
    transform: none;
  }

  .hero {
    height: auto;
    min-height: 80px;
    padding: 24px 16px;
    align-items: center;
  }

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

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

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

  .info-section {
    overflow-x: hidden;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .info-1-layout,
  .info-4-layout,
  .info-8-layout,
  .info-10-layout {
    grid-template-columns: 1fr;
  }

  .info-2-layout {
    flex-direction: column;
  }

  .info-3-layout {
    padding: 40px 16px;
    min-height: auto;
  }

  .info-5-layout {
    padding: 32px 16px;
  }

  .info-6-layout {
    flex-direction: column;
  }

  .info-6-layout .decor-wrap {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
  }

  .info-6-layout .decor-wrap img {
    max-height: 200px;
    object-fit: contain;
  }

  .info-9-layout {
    padding: 40px 20px;
  }

  .info-10-layout .info-text:nth-child(1) {
    grid-column: 1;
    grid-row: 2;
  }

  .info-10-layout .decor-wrap {
    grid-column: 1;
    grid-row: 1;
  }

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

  .decor-wrap img {
    max-width: 100%;
    max-height: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

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

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

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

.footer-logo img {
  height: 36px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

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

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

.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-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 900px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

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

.modal-overlay.active {
  display: flex;
}

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

.modal-box h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 400;
}

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

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

.btn-primary {
  padding: 12px 28px;
  background: var(--primary);
  color: #0F172A;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

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

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

.cookie-banner.active {
  display: block;
}

.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: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

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

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

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

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

.legal-content ul {
  color: var(--muted);
  margin: 0 0 14px 20px;
  font-size: 15px;
  line-height: 1.7;
}

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

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

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

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

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

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

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

.form-success {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: 8px;
  text-align: center;
  color: var(--text);
  display: none;
}

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

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

.page-404 h1 {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 16px;
}

.page-404 a {
  padding: 14px 32px;
  background: var(--primary);
  color: #0F172A;
  border-radius: 6px;
  font-weight: 500;
}
