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

:root {
  --bg: #050F0A;
  --surface: #0C1A14;
  --text: #D1D5DB;
  --muted: #4B5563;
  --primary: #3A5A40;
  --secondary: #588157;
  --accent: #A3B18A;
  --border: rgba(88, 129, 87, 0.2);
  --red-dot: #C41E3A;
  --silver: #8B9298;
  --leather: #1A1209;
  --max-w: 1280px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(58, 90, 64, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(88, 129, 87, 0.06) 0%, transparent 50%);
}

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

main {
  flex: 1 0 auto;
}

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

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

.hidden {
  display: none !important;
}

.disclosure-pill {
  display: block;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 8px auto;
  padding: 6px 24px;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--muted);
  background: rgba(58, 90, 64, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.navbar {
  position: static;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-link {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

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

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
}

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

.nav-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  z-index: 201;
  transition: right 0.3s ease;
  padding: 24px;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}

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

.nav-drawer-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 24px;
  line-height: 1;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-drawer-link {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

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

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

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: contrast(1.05) saturate(0.9);
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--red-dot);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--red-dot);
}

.hero-content {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 48px 56px;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(139, 146, 152, 0.03) 0%, transparent 40%),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(88, 129, 87, 0.02) 2px, rgba(88, 129, 87, 0.02) 4px);
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--accent);
  max-width: 480px;
  font-family: "Courier New", Courier, monospace;
}

.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: rgba(5, 15, 10, 0.88);
}

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

.offers-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.offer-card {
  background: linear-gradient(145deg, #1a2e24 0%, #0f1f18 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

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

.offer-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-card-bonus {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  color: #FFD700;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.offer-terms {
  font-size: 10px;
  color: var(--muted);
}

.offer-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.offer-cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--text);
  border: 1px solid var(--secondary);
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.offer-cta:hover {
  background: var(--secondary);
  color: #fff;
}

.info-section {
  padding: 56px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-section:nth-child(even) {
  background: var(--surface);
  max-width: 100%;
}

.info-section:nth-child(even) .info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-inner {
  width: 100%;
}

.info-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  padding-left: 16px;
}

.info-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--red-dot);
  border-radius: 2px;
}

.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-img-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  position: relative;
}

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

.layout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.layout-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 32px;
}

.layout-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding: 16px 24px;
  background: rgba(58, 90, 64, 0.1);
  border-radius: 4px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 4px;
  text-align: center;
}

.step-num {
  font-family: "Courier New", Courier, monospace;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.layout-bg-text {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.layout-bg-text .bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.layout-bg-text .text-layer {
  position: relative;
  z-index: 1;
  padding: 40px;
  max-width: 700px;
  text-align: center;
}

.layout-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-list li {
  padding: 12px 16px 12px 36px;
  background: rgba(58, 90, 64, 0.08);
  border-left: 3px solid var(--secondary);
  position: relative;
}

.tips-list li::before {
  content: "●";
  position: absolute;
  left: 14px;
  color: var(--red-dot);
  font-size: 8px;
  top: 50%;
  transform: translateY(-50%);
}

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

.phone-frame {
  width: 200px;
  padding: 12px;
  background: var(--silver);
  border-radius: 24px;
  border: 3px solid #555;
}

.phone-screen {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-rtp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
}

.rtp-table th,
.rtp-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.rtp-table th {
  background: rgba(58, 90, 64, 0.15);
  color: var(--accent);
}

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

.game-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 4px;
  text-align: center;
}

.game-mini-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.layout-quote {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 26, 20, 0.9) 0%, rgba(5, 15, 10, 0.95) 100%);
  position: relative;
}

.layout-quote::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
  opacity: 0.4;
}

.layout-quote p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 16px;
}

.layout-quote .accent-line {
  width: 60px;
  height: 2px;
  background: var(--red-dot);
  margin: 16px auto 0;
}

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

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

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

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

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

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 32px 0;
}

.footer-badge img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badge:hover img {
  opacity: 1;
}

.footer-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 12px;
  text-align: center;
}

.footer-updated {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 10, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  max-width: 440px;
  text-align: center;
  margin: 20px;
}

.age-modal h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

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

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

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

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

.btn-primary:hover {
  background: var(--secondary);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.cookie-btn.accept {
  background: var(--primary);
}

.cookie-btn.reject {
  background: transparent;
}

.cookie-settings-panel {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cookie-settings-panel.open {
  display: block;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

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

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--accent);
}

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

.legal-content p {
  margin-bottom: 12px;
  color: var(--text);
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 12px 24px;
}

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

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.85rem;
}

.legal-content th,
.legal-content td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.legal-content th {
  background: rgba(58, 90, 64, 0.15);
}

.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

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

.form-error {
  color: var(--red-dot);
  font-size: 0.8rem;
  margin-top: 4px;
}

.contact-success {
  padding: 24px;
  background: rgba(58, 90, 64, 0.15);
  border: 1px solid var(--secondary);
  border-radius: 4px;
  max-width: 520px;
}

.contact-success p {
  color: var(--accent);
}

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

.page-404 h1 {
  font-size: 4rem;
  font-family: "Courier New", Courier, monospace;
  color: var(--accent);
  margin-bottom: 16px;
}

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

.redirect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.redirect-ad {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

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

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

.redirect-msg {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.redirect-notes {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

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

@media (max-width: 900px) {
  .navbar-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-logo {
    justify-self: center;
  }

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

  .hero-image img {
    min-height: auto;
    max-height: 180px;
  }

  .hero-content {
    padding: 32px 24px;
    align-items: center;
    text-align: center;
  }

  .layout-split,
  .layout-tips,
  .layout-mobile,
  .layout-rtp,
  .layout-games,
  .layout-steps {
    grid-template-columns: 1fr;
  }

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

  .phone-frame {
    margin: 0 auto;
  }
}

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

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

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

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

  .age-buttons {
    flex-direction: column;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 375px) {
  body {
    overflow-x: hidden;
  }

  .hero-image {
    max-width: 100%;
    overflow: hidden;
  }

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

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

  .layout-bg-text {
    max-width: 100%;
    overflow: hidden;
  }

  .layout-bg-text .text-layer {
    padding: 24px 16px;
  }

  .info-section {
    overflow-x: hidden;
  }
}
