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

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

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: #064E3B;
  color: #ECFDF5;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

a {
  color: #FCD34D;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #F59E0B;
}

.disclosure-bar {
  width: 100%;
  background: linear-gradient(135deg, #065F46 0%, #064E3B 100%);
  color: #ECFDF5;
  font-size: 11px;
  text-align: center;
  padding: 10px 16px;
  line-height: 1.45;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
  z-index: 200;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #064E3B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(255, 255, 255, 0.02) 1px,
    rgba(255, 255, 255, 0.02) 2px
  );
}

.site-header--static {
  position: relative;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-desktop {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  font-size: 13px;
}

.nav-desktop a {
  color: #A7F3D0;
  letter-spacing: 0.02em;
}

.nav-desktop a:hover {
  color: #FCD34D;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 6px 8px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FCD34D;
  margin: 4px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #064E3B;
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(16, 185, 129, 0.04) 1px,
    rgba(16, 185, 129, 0.04) 2px
  );
}

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

.nav-overlay a {
  color: #10B981;
  font-size: 20px;
}

.nav-overlay a:hover {
  color: #FCD34D;
}

.hero {
  background: #064E3B;
  position: relative;
}

.hero-strip {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background-image: url('/images/decorative/decor_1.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid #F59E0B;
  position: relative;
}

.hero-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(6, 78, 59, 0.85));
}

.hero-body {
  padding: 40px 24px 56px;
  text-align: center;
  position: relative;
}

.hero-body::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border: 2px dashed rgba(245, 158, 11, 0.4);
  border-radius: 50%;
  animation: gear-spin 12s linear infinite;
  pointer-events: none;
}

@keyframes gear-spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.hero-body h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: #ECFDF5;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
}

.hero-body h1::first-letter {
  font-size: 1.4em;
  color: #F59E0B;
}

.hero-body p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #A7F3D0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offers-section {
  position: relative;
  padding: 72px 24px;
  background-image: url('/images/offers_bg/offers_bg.webp');
  background-size: cover;
  background-position: center;
  background-color: #065F46;
}

.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 78, 59, 0.88);
}

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

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #ECFDF5;
  letter-spacing: 0.06em;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #F59E0B, #FCD34D);
  margin: 12px auto 0;
}

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

.offer-card {
  background: linear-gradient(145deg, #1a0038 0%, #0d001f 100%);
  border: 2px solid rgba(255, 0, 255, 0.3);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 0, 255, 0.25);
}

.offer-card:nth-child(1) {
  border-color: rgba(255, 100, 50, 0.5);
}

.offer-card:nth-child(2) {
  border-color: rgba(50, 200, 100, 0.5);
}

.offer-card:nth-child(3) {
  border-color: rgba(100, 150, 255, 0.5);
}

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

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

.offer-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.offer-bonus-wrap {
  margin-bottom: 12px;
  width: 100%;
}

.offer-bonus {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffff00;
  display: block;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-terms {
  font-size: 11px;
  color: #9d80c4;
  display: block;
  margin-top: 4px;
}

.offer-desc {
  font-size: 12px;
  color: #9d80c4;
  margin-bottom: 16px;
  line-height: 1.5;
  width: 100%;
}

.offer-cta {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff00ff, #9900cc);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-family: Georgia, serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.5);
  color: #fff;
}

.info-section {
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}

.info-section:nth-child(odd) {
  background: #064E3B;
}

.info-section:nth-child(even) {
  background: #065F46;
}

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

.info-section h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 18px;
  color: #ECFDF5;
  letter-spacing: 0.03em;
}

.info-section h2::first-letter {
  color: #F59E0B;
  font-size: 1.15em;
}

.info-section p {
  color: #A7F3D0;
  font-size: 1rem;
  line-height: 1.7;
}

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

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

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

.decor-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
  padding: 8px;
  border: 2px solid rgba(245, 158, 11, 0.5);
  background: linear-gradient(145deg, rgba(6, 95, 70, 0.6), rgba(6, 78, 59, 0.8));
  position: relative;
}

.decor-frame::before,
.decor-frame::after {
  content: '⚙';
  position: absolute;
  color: rgba(245, 158, 11, 0.35);
  font-size: 18px;
}

.decor-frame::before {
  top: 4px;
  left: 6px;
}

.decor-frame::after {
  bottom: 4px;
  right: 6px;
}

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

.layout-steampanel {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 36px 40px;
  max-width: 780px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.02) 9px
    );
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
}

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

.column-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(6, 78, 59, 0.5);
  transition: border-color 0.3s;
}

.column-card:hover {
  border-color: #F59E0B;
}

.column-card h3 {
  font-size: 0.95rem;
  color: #FCD34D;
  margin-bottom: 8px;
  font-weight: 700;
}

.layout-brass-band {
  border-top: 3px solid #F59E0B;
  border-bottom: 3px solid #F59E0B;
  padding: 44px 36px;
  text-align: center;
  position: relative;
}

.layout-brass-band::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed rgba(252, 211, 77, 0.25);
  pointer-events: none;
}

.layout-ornate {
  padding: 40px;
  border: double 4px rgba(245, 158, 11, 0.4);
  max-width: 860px;
  margin: 0 auto;
  background: rgba(6, 95, 70, 0.4);
}

.layout-gears {
  display: flex;
  gap: 32px;
  align-items: center;
}

.gears-text {
  flex: 1;
}

.gear-deco {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(245, 158, 11, 0.5);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  animation: gear-spin 8s linear infinite;
}

.gear-deco::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(252, 211, 77, 0.4);
  border-radius: 50%;
}

.layout-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-left: 2px solid #F59E0B;
  margin-left: 16px;
  padding-left: 28px;
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: #FCD34D;
  border-radius: 50%;
  border: 2px solid #064E3B;
}

.timeline-step h3 {
  font-size: 1rem;
  color: #F59E0B;
  margin-bottom: 4px;
}

.layout-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(6, 78, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.check-item span {
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}

.layout-paper {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px;
  background: linear-gradient(180deg, rgba(6, 95, 70, 0.7) 0%, rgba(6, 78, 59, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.layout-centered-deco {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.layout-centered-deco .decor-frame {
  margin: 28px auto 0;
  max-width: 500px;
}

.site-footer {
  background: #064E3B;
  border-top: 2px solid rgba(245, 158, 11, 0.3);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: #A7F3D0;
  font-size: 14px;
}

.footer-links a:hover {
  color: #FCD34D;
}

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

.footer-badge img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-compliance {
  font-size: 11px;
  color: rgba(167, 243, 208, 0.65);
  line-height: 1.7;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

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

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

.modal-box {
  background: #065F46;
  border: 2px solid rgba(245, 158, 11, 0.5);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

.modal-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ECFDF5;
}

.modal-box p {
  color: #A7F3D0;
  margin-bottom: 24px;
  font-size: 15px;
}

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

.btn-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #064E3B;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  font-family: Georgia, serif;
}

.btn-secondary {
  padding: 12px 28px;
  background: transparent;
  color: #A7F3D0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  font-family: Georgia, serif;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #065F46;
  border-top: 2px solid rgba(245, 158, 11, 0.4);
  padding: 18px 24px;
  z-index: 999;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

.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 {
  flex: 1 1 280px;
  font-size: 13px;
  color: #A7F3D0;
}

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

.legal-page {
  padding: 48px 24px 80px;
  min-height: 60vh;
}

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

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ECFDF5;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #FCD34D;
}

.legal-content p {
  color: #A7F3D0;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0 12px 24px;
  color: #A7F3D0;
}

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

.contact-form {
  margin-top: 32px;
  max-width: 500px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ECFDF5;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #064E3B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ECFDF5;
  font-size: 15px;
  font-family: Georgia, serif;
}

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

.form-error {
  color: #FCA5A5;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-success {
  display: none;
  padding: 24px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #A7F3D0;
  font-weight: 700;
  margin-top: 24px;
}

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

.error-page h1 {
  font-size: 5rem;
  font-weight: 700;
  color: #F59E0B;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page p {
  color: #A7F3D0;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-strip {
    height: 80px;
  }

  .hero-body {
    padding: 32px 16px 40px;
  }

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

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

  .layout-gears {
    flex-direction: column;
  }

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

  .decor-img {
    max-width: 100%;
    max-height: 220px;
  }

  .offer-logo-wrap {
    width: 140px;
    height: 70px;
  }

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

@media (max-width: 480px) {
  .hero-strip {
    height: 60px;
  }

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

  .decor-img {
    max-height: 180px;
  }
}

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

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

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

  .layout-gears .decor-frame {
    width: 100%;
  }
}
