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

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --primary: #2563EB;
  --secondary: #16A34A;
  --accent: #F97316;
  --border: rgba(15, 23, 42, 0.12);
  --nav-bg: #0F172A;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

main {
  flex: 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-inner {
    flex-direction: row;
  }

  .nav-links {
    display: flex;
    order: 1;
  }

  .nav-logo {
    order: 2;
    margin-left: auto;
  }
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 10px 14px;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scale(1);
}

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

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

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

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: var(--nav-bg);
  z-index: 1002;
  padding: 72px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

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

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

.mobile-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer a:hover {
  color: var(--accent);
}

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

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

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 420px;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 60px 48px;
  background: var(--surface);
}

.hero-content h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
}

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

  .hero-media {
    max-height: 180px;
  }

  .hero-media img {
    max-height: 180px;
    max-width: 100%;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 32px 20px;
  }
}

.offers-section {
  position: relative;
  padding: 72px 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(15, 23, 42, 0.72);
}

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

.offers-inner .section-title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 8px;
}

.offers-inner .section-sub {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 40px;
  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;
  font-family: var(--font-sans);
}

.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;
  font-family: var(--font-sans);
}

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

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

.info-section {
  padding: 64px 20px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.info-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

.info-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 20px;
}

.info-section p {
  color: var(--muted);
  font-size: 0.98rem;
}

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

.info-1-accent {
  width: 4px;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.info-2-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-2-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.info-2-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

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

.info-3-media {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

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

.info-4-layout {
  max-width: 800px;
  margin: 0 auto;
  background: var(--nav-bg);
  color: #fff;
  padding: 48px;
  border-radius: 16px;
  text-align: center;
}

.info-4-layout h2 {
  color: #fff;
}

.info-4-layout p {
  color: rgba(255, 255, 255, 0.75);
}

.info-5-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-5-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.info-5-stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
  font-family: var(--font-serif);
  margin-bottom: 8px;
}

.info-6-layout {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background-image: url("/images/decorative/decor_3.webp");
  background-size: cover;
  background-position: center;
}

.info-6-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}

.info-6-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
}

.info-6-content h2 {
  color: #fff;
}

.info-6-content p {
  color: rgba(255, 255, 255, 0.82);
}

.info-7-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.info-7-row:nth-child(even) {
  direction: rtl;
}

.info-7-row:nth-child(even) > * {
  direction: ltr;
}

.info-7-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.info-8-layout {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(249, 115, 22, 0.06));
  border-left: 4px solid var(--accent);
  padding: 36px 40px;
  border-radius: 0 12px 12px 0;
}

.info-8-layout p {
  font-size: 1.05rem;
  font-style: italic;
}

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

.info-9-media {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}

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

.info-10-layout table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.info-10-layout th,
.info-10-layout td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.info-10-layout th {
  background: var(--nav-bg);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
}

.info-10-layout td {
  color: var(--muted);
}

.info-10-layout tr:last-child td {
  border-bottom: none;
}

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

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

  .info-7-row:nth-child(even) {
    direction: ltr;
  }

  .info-4-layout {
    padding: 32px 24px;
  }

  .offer-logo-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

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

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

  .hero-media img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  .info-3-media,
  .info-9-media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .info-3-media img,
  .info-9-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
  }

  .info-6-layout {
    padding: 24px 16px;
    min-height: 200px;
  }

  .offers-section {
    padding: 48px 16px;
  }

  .offer-bonus {
    font-size: 0.9rem;
  }
}

.site-footer {
  background: var(--nav-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 20px 32px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

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

.footer-badges a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

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

.footer-badges img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.age-box {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.age-box h2 {
  margin-bottom: 12px;
}

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

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

.age-actions button {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

#age-confirm {
  background: var(--primary);
  color: #fff;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
}

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

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

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

#cookie-accept {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.page-main {
  padding-bottom: 48px;
}

.page-hero-small {
  background: var(--nav-bg);
  padding: 48px 20px;
  text-align: center;
}

.page-hero-small h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

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

.legal-content h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.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;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
}

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

.contact-form button {
  align-self: flex-start;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  display: none;
}

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

.form-success {
  margin-top: 24px;
  padding: 24px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 10px;
  color: var(--secondary);
  font-weight: 500;
}

.hidden {
  display: none;
}

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

.redirect-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

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

.redirect-box h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

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

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

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

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  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 {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .nav-inner {
    flex-direction: row;
  }

  .nav-logo {
    order: 1;
  }

  .burger-btn {
    order: 2;
    margin-left: auto;
  }
}
