.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background-image: url(/images/decorative/decor_1.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  transform: rotate(-0.4deg);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  max-width: 620px;
  margin: 0 auto;
}

.offers-section {
  position: relative;
  padding: 56px 24px;
  background-image: url(/images/offers_bg/offers_bg.svg);
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 2, 8, 0.88);
}

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

.offers-inner h2 {
  font-size: 26px;
  margin-bottom: 28px;
  text-align: center;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.offer-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(145deg, #1a2744 0%, #243352 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

.offer-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.offer-bonus-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.offer-bonus {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.offer-terms {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.offer-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.5;
}

.offer-cta {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.offer-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.info-section {
  padding: 56px 24px;
  position: relative;
  background-blend-mode: var(--texture-blend);
}

.info-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.info-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.info-section p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

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

.license-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.license-badge {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px dashed var(--border);
  clip-path: polygon(0 0, 96% 0, 100% 100%, 4% 100%);
}

.license-badge strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 4px;
}

.license-badge span {
  font-size: 12px;
  color: var(--muted);
}

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

.deposit-card {
  padding: 20px;
  background: var(--surface);
  border-left: 3px solid var(--primary);
  transform: rotate(-0.3deg);
}

.deposit-card:nth-child(even) {
  transform: rotate(0.3deg);
}

.deposit-card h3 {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.deposit-card p {
  font-size: 13px;
  margin-bottom: 0;
}

.deposit-wide {
  grid-column: 1 / -1;
}

.layout-practical {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.practical-steps {
  flex: 1;
  counter-reset: step;
  list-style: none;
}

.practical-steps li {
  counter-increment: step;
  padding: 12px 0 12px 48px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 56, 100, 0.08);
}

.practical-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 56, 100, 0.15);
  border: 1px solid var(--primary);
  color: var(--accent);
  font-family: ui-monospace, monospace;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practical-aside {
  flex: 0 0 260px;
  padding: 20px;
  background: rgba(45, 226, 226, 0.06);
  border: 1px solid rgba(45, 226, 226, 0.2);
  font-size: 13px;
  color: var(--muted);
}

.layout-tips {
  columns: 2;
  column-gap: 32px;
}

.layout-tips h2 {
  column-span: all;
}

.tip-block {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--surface);
  border-top: 2px solid var(--primary);
}

.tip-block h3 {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.layout-games {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.game-tag {
  padding: 6px 14px;
  font-size: 12px;
  background: rgba(255, 56, 100, 0.1);
  border: 1px solid var(--border);
  color: var(--secondary);
}

.games-visual img {
  max-width: 320px;
  max-height: 320px;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  border: 1px solid var(--border);
}

.layout-vip {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.vip-tiers {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.vip-tier {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.vip-tier::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--primary);
}

.vip-tier h3 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 8px;
}

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

.bonus-visual img {
  max-width: 300px;
  max-height: 320px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.bonus-checklist {
  list-style: none;
  margin-top: 16px;
}

.bonus-checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}

.bonus-checklist li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.layout-poker {
  background: var(--surface);
  padding: 36px;
  border: 1px solid var(--border);
  clip-path: polygon(0 0, 100% 0, 99% 98%, 1% 100%);
}

.poker-cards {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.poker-card {
  width: 52px;
  height: 72px;
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transform: rotate(var(--rot, 0deg));
}

.poker-card:nth-child(1) { --rot: -4deg; }
.poker-card:nth-child(2) { --rot: -1deg; }
.poker-card:nth-child(3) { --rot: 2deg; }
.poker-card:nth-child(4) { --rot: -2deg; }
.poker-card:nth-child(5) { --rot: 5deg; }

.layout-live {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.live-panel {
  padding: 24px;
  background: rgba(13, 2, 8, 0.6);
  border: 1px solid var(--border);
  min-height: 200px;
  background-image: url(/images/decorative/decor_4.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.live-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 2, 8, 0.75);
}

.live-panel-inner {
  position: relative;
  z-index: 1;
}

.live-panel h3 {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 8px;
}

.live-panel p {
  font-size: 13px;
}

.layout-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.pay-chip {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--secondary);
}

.layout-payments-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.pay-stat {
  text-align: center;
  padding: 24px;
  background: rgba(255, 56, 100, 0.08);
  border: 1px dashed var(--primary);
}

.pay-stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  font-family: ui-monospace, monospace;
}

.pay-stat-label {
  font-size: 12px;
  color: var(--muted);
}

.raw-divider-grunge {
  clip-path: var(--raw-edge-clip);
  border: var(--distressed-border);
}

@media (max-width: 768px) {
  .hero {
    min-height: 250px;
    background-attachment: scroll;
    padding: 48px 20px;
  }

  .layout-license,
  .layout-games,
  .layout-bonus,
  .layout-live,
  .layout-payments-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .layout-tips {
    columns: 1;
  }

  .practical-aside {
    flex: none;
    width: 100%;
  }

  .games-visual img,
  .bonus-visual img {
    max-width: 100%;
    max-height: 320px;
  }

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

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

  .hero {
    overflow: hidden;
  }

  .games-visual,
  .bonus-visual,
  .live-panel {
    overflow: hidden;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .games-visual img,
  .bonus-visual img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
  }

  .live-panel {
    min-height: 160px;
    background-size: cover;
  }
}
