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

:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #64748B;
  --secondary: #38BDF8;
  --accent: #22C55E;
  --border: rgba(229, 231, 235, 0.12);
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

main {
  flex: 1 0 auto;
}

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

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

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

.disclosure-banner {
  width: 100%;
  padding: 10px 16px;
  font-size: 11px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #0a0f1a 0%, #1a3348 50%, #64748B 100%);
  line-height: 1.5;
}

.site-header {
  position: static;
  background-color: var(--bg);
  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)' opacity='0.04'/%3E%3C/svg%3E");
  border-bottom: 2px solid var(--accent);
  z-index: 100;
}

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

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text);
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.25s ease;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

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

.burger-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s 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-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-drawer-overlay.open {
  display: block;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  z-index: 201;
  padding: 80px 24px 24px;
  transition: left 0.35s ease;
  overflow-y: auto;
}

.nav-drawer.open {
  left: 0;
}

.nav-drawer a {
  display: block;
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 4px;
  font-size: 15px;
}

.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--secondary);
}

.hero {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  max-width: 900px;
}

.hero-ribbon {
  background: var(--accent);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  margin-bottom: 24px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
  animation: breathe 4s ease-in-out infinite;
}

.hero-ribbon h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #fff;
  padding: 0 24px;
}

.hero-subtitle {
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

@keyframes breathe {
  0%, 100% { opacity: 1; transform: rotate(-2deg) scale(1); }
  50% { opacity: 0.92; transform: rotate(-2deg) scale(1.01); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.15); }
  50% { box-shadow: 0 0 60px rgba(56, 189, 248, 0.3); }
}

.offers-section {
  padding: 64px 20px;
  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: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
}

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

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

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

.offer-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-soft 5s ease-in-out infinite;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(56, 189, 248, 0.2);
}

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

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

.offer-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

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

.offer-bonus {
  font-size: 0.95rem;
  color: #fbbf24;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.offer-terms {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}

.offer-cta {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--secondary) 0%, #0ea5e9 100%);
  color: var(--bg);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: auto;
}

.offer-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
  color: var(--bg);
}

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

.info-section:nth-child(odd) {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.info-section:nth-child(even) {
  background: linear-gradient(200deg, rgba(15, 23, 42, 0.95) 0%, rgba(100, 116, 139, 0.15) 100%);
}

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

.info-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 20px;
  color: var(--text);
}

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

.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-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.15);
  animation: float 6s ease-in-out infinite;
}

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

.layout-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
}

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

.layout-column-item {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.layout-column-item h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
}

.layout-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: rgba(30, 41, 59, 0.45);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.layout-accent-bar {
  border-left: 4px solid var(--accent);
  padding-left: 28px;
}

.layout-floating {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.layout-floating .text-block {
  flex: 1;
}

.layout-floating .decor-wrap {
  flex-shrink: 0;
  width: 280px;
}

.layout-mist {
  background: radial-gradient(ellipse at 30% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
  border-radius: 32px;
  padding: 48px;
}

.layout-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-cell {
  padding: 24px;
  background: rgba(30, 41, 59, 0.35);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.grid-cell h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 1rem;
}

.layout-hero-mini {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(34, 197, 94, 0.08) 100%);
  border-radius: 28px;
  border: 1px solid var(--border);
}

.layout-hero-mini h2 {
  margin-bottom: 16px;
}

.layout-side-accent {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.side-accent-line {
  width: 4px;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  border-radius: 4px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

.footer-badges img {
  max-height: 48px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

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

.footer-legal {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-dgoj {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 960px;
  margin: 24px auto 0;
  text-align: center;
  opacity: 0.85;
}

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

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

.modal-box {
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.modal-box h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

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

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

.btn {
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #16a34a 100%);
  color: #fff;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 999;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

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

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

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

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

.page-content h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 24px;
  color: var(--text);
}

.page-content h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--secondary);
}

.page-content p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-content ul {
  color: var(--muted);
  margin: 0 0 16px 24px;
  line-height: 1.7;
}

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

.contact-form {
  margin-top: 32px;
  padding: 32px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 20px;
  border: 1px solid var(--border);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

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

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

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

.form-success {
  text-align: center;
  padding: 40px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  margin-top: 32px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--muted);
}

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

.page-404 h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

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

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

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

.redirect-box h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

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

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

.redirect-ad {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.6;
}

.redirect-ad a {
  color: var(--secondary);
}

@media (max-width: 900px) {
  .layout-split,
  .layout-columns,
  .layout-grid-2x2,
  .layout-floating {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

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

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

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

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero {
    min-height: 220px;
  }

  .hero-ribbon {
    transform: none;
    animation: breathe-mobile 4s ease-in-out infinite;
  }

  @keyframes breathe-mobile {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.01); }
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 16px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .layout-side-accent {
    grid-template-columns: 1fr;
  }

  .side-accent-line {
    width: 100%;
    height: 4px;
    min-height: 4px;
  }
}

@media (max-width: 375px) {
  .decor-wrap {
    max-width: 100%;
    width: 100%;
    max-height: 240px;
  }

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

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

  .info-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
