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

:root {
  --bg: #0F140C;
  --surface: #1C2415;
  --text: #ECFDF5;
  --muted: #A7F3D0;
  --primary: #4D7C0F;
  --secondary: #65A30D;
  --accent: #FACC15;
  --border: rgba(236, 253, 245, 0.12);
  --sidebar-w: 72px;
  --max-w: 1200px;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --offer-card-bg: #ffffff;
  --offer-card-text: #1a1a1a;
  --offer-card-bonus: #3A5A40;
  --offer-card-cta: #588157;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(77, 124, 15, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(167, 243, 208, 0.04) 0%, transparent 60%);
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

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

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 1.2s ease, opacity 1.2s ease;
}

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

.disclosure-banner {
  margin: 6px auto;
  max-width: fit-content;
  padding: 6px 20px;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--muted);
  border-radius: 4px;
}

.page-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.sidebar-nav {
  display: none;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.mobile-header .logo-link img {
  height: 32px;
  width: auto;
}

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

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

.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-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 20, 12, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  backdrop-filter: blur(12px);
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay a {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text);
  padding: 14px 28px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: color 1s ease, background 1s ease;
}

.nav-overlay a:hover {
  color: var(--accent);
  background: rgba(77, 124, 15, 0.1);
}

.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-area > main {
  flex: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.hero-visual {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  max-height: 180px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  max-height: none;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08) 0%, rgba(77, 124, 15, 0.15) 50%, rgba(167, 243, 208, 0.1) 100%);
  pointer-events: none;
}

.hero-text {
  flex: 1;
  background: var(--surface);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.hero-text h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
}

.offers-section {
  position: relative;
  padding: 48px 20px;
  background-image: linear-gradient(rgba(15, 20, 12, 0.88), rgba(15, 20, 12, 0.92)), url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

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

.offers-header {
  margin-bottom: 28px;
  text-align: center;
}

.offers-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 8px;
}

.offers-header p {
  font-size: 0.9rem;
  color: var(--muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.offer-card {
  background: var(--offer-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 1.2s ease, box-shadow 1.2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(250, 204, 21, 0.08);
}

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

.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-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--offer-card-text);
  margin-bottom: 8px;
}

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

.offer-card-bonus {
  font-size: 0.95rem;
  color: var(--offer-card-bonus);
  font-weight: 600;
  line-height: 1.35;
  display: block;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

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

.offer-cta {
  display: inline-block;
  background: var(--offer-card-cta);
  color: #fff;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
  transition: background 1s ease, box-shadow 1s ease;
}

.offer-cta:hover {
  background: #466b4d;
  color: #fff;
  box-shadow: 0 0 20px rgba(88, 129, 87, 0.4);
}

.info-section {
  padding: 48px 20px;
  position: relative;
}

.info-section:nth-child(even) {
  background: rgba(28, 36, 21, 0.5);
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 16px;
  color: var(--text);
}

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

.decor-img {
  max-width: 500px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

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

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

.info-1-glass {
  background: rgba(28, 36, 21, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.info-2-panel {
  border-left: 3px solid var(--accent);
  padding: 28px 28px 28px 32px;
  background: linear-gradient(90deg, rgba(77, 124, 15, 0.08) 0%, transparent 100%);
  border-radius: 0 12px 12px 0;
}

.info-3-float {
  display: flow-root;
}

.info-3-float .decor-wrap {
  float: right;
  margin: 0 0 16px 24px;
  shape-outside: margin-box;
}

.info-4-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.info-4-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-4-steps li {
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: border-color 1s ease, box-shadow 1s ease;
}

.info-4-steps li:hover {
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(77, 124, 15, 0.15);
}

.info-5-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(28, 36, 21, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.info-6-quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 32px;
  background: rgba(28, 36, 21, 0.5);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
}

.info-6-quote::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(77, 124, 15, 0.2), rgba(167, 243, 208, 0.2));
  z-index: -1;
  opacity: 0.5;
}

.info-7-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-7-num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
}

.info-8-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.info-8-item {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: transform 1s ease;
}

.info-8-item:hover {
  transform: translateX(4px);
  border-color: var(--secondary);
}

.info-9-timeline {
  position: relative;
  padding-left: 28px;
}

.info-9-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.info-9-step {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.info-9-step::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.info-10-banner {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(77, 124, 15, 0.2) 0%, rgba(28, 36, 21, 0.9) 50%, rgba(250, 204, 21, 0.1) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.info-10-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(250, 204, 21, 0.05) 50%, transparent 100%);
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

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

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

.footer-logo img {
  height: 36px;
  width: auto;
  margin: 0 auto 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 24px;
}

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

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

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

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

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

.footer-dgoj {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.75;
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 20, 12, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.age-gate.active {
  display: flex;
}

.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.age-gate-box h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

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

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

.btn {
  padding: 11px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 1s ease, box-shadow 1s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
}

.btn-primary:hover {
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(77, 124, 15, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--text);
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

.legal-inner h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
}

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

.legal-inner p,
.legal-inner li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-inner ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.contact-page {
  padding: 40px 20px 60px;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.contact-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.contact-email-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  transition: border-color 1s ease, box-shadow 1s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(77, 124, 15, 0.2);
}

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

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

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

.form-success {
  display: none;
  padding: 28px;
  background: rgba(77, 124, 15, 0.15);
  border: 1px solid var(--primary);
  border-radius: 12px;
  text-align: center;
}

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

.form-success p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.error-page h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.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;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.redirect-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 1s linear infinite;
}

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

.redirect-box h1 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

.redirect-compliance {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.8;
  line-height: 1.5;
}

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

@media (max-width: 375px) {
  .hero-visual {
    max-height: 160px;
  }

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

  .decor-img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

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

  .info-3-float .decor-wrap {
    float: none;
    margin: 0 0 16px 0;
    max-width: 100%;
  }

  .offer-card-logo {
    width: 180px;
    height: 72px;
  }

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

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

@media (min-width: 640px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    min-height: 420px;
  }

  .hero-visual {
    flex: 0 0 45%;
    max-height: none;
  }

  .hero-text {
    flex: 0 0 55%;
    padding: 48px 40px;
  }

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

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

  .info-5-card {
    grid-template-columns: 280px 1fr;
  }

  .info-7-cols {
    grid-template-columns: 80px 1fr;
  }
}

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

  .content-area {
    margin-left: var(--sidebar-w);
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 250;
    padding: 16px 0;
    gap: 2px;
  }

  .sidebar-logo {
    margin-bottom: 16px;
    padding: 8px;
  }

  .sidebar-logo img {
    width: 44px;
    height: auto;
  }

  .sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: background 1.2s ease, color 1.2s ease, box-shadow 1.2s ease;
  }

  .sidebar-link:hover {
    background: rgba(77, 124, 15, 0.2);
    color: var(--text);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.1);
  }

  .sidebar-link::after {
    content: attr(data-tip);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    border: 1px solid var(--border);
    z-index: 300;
  }

  .sidebar-link:hover::after {
    opacity: 1;
  }

  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-8-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .offers-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
