.hero {
  background: var(--bg);
  overflow: hidden;
}

.hero-head {
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
  margin-bottom: -0.08em;
  animation: hero-rise 1.1s ease-out both;
}

.hero-strip {
  height: 40px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  padding: 0 16px;
  border-top: 1px solid var(--border);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes soft-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
  }
  50% {
    box-shadow: 0 0 24px 0 rgba(204, 255, 0, 0.12);
  }
}

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

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

.offers-heading {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}

.offers-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

.offer-card {
  background: var(--offer-bg);
  border: 2px solid var(--offer-border);
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
  animation: soft-glow 4s ease-in-out infinite;
}

.offer-card:hover {
  transform: translateY(-3px);
}

.offer-logo {
  width: 240px;
  height: 80px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  flex-shrink: 0;
  box-sizing: border-box;
}

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

.offer-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

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

.offer-bonus {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--offer-text);
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.offer-terms {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(245, 230, 200, 0.55);
}

.offer-cta {
  display: inline-block;
  margin-top: auto;
  padding: 11px 18px;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  transition: filter 0.15s;
}

.offer-cta:hover {
  filter: brightness(1.1);
  color: var(--offer-cta-text);
}

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

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

.info-section h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  color: var(--text);
}

.info-section p {
  font-size: 15px;
  color: rgba(242, 242, 242, 0.84);
  margin-bottom: 14px;
  max-width: 72ch;
}

.info-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 0;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--primary);
  transition: color 0.2s, border-color 0.2s;
}

.info-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

#info-1 {
  background: var(--surface);
}

#info-1 .layout-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

#info-1 .decor-frame {
  overflow: hidden;
  max-width: 500px;
  max-height: 320px;
  border: 1px solid var(--border);
}

#info-1 .decor-frame img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

#info-2 {
  background: var(--bg);
}

#info-2 .layout-stack {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

#info-2 .layout-stack p {
  margin-left: auto;
  margin-right: auto;
}

#info-2 .vip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

#info-2 .vip-list li {
  padding: 20px;
  background: var(--secondary);
  border-top: 2px solid var(--primary);
  font-size: 14px;
  color: rgba(242, 242, 242, 0.85);
}

#info-2 .vip-list strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

#info-3 {
  background: var(--surface);
}

#info-3 .layout-rail {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
}

#info-3 .rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  border-right: 1px solid var(--border);
  padding-right: 20px;
  align-self: start;
}

#info-4 {
  background: var(--bg);
  padding-left: 0;
  padding-right: 0;
}

#info-4 .layout-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

#info-4 .game-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--border);
  border: 1px solid var(--border);
}

#info-4 .game-row article {
  background: var(--secondary);
  padding: 24px 18px;
}

#info-4 .game-row h3 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 8px;
}

#info-4 .game-row p {
  font-size: 13px;
  margin: 0;
  max-width: none;
}

#info-5 {
  background: var(--surface);
}

#info-5 .layout-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

#info-5 .pull-quote {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text);
  border-left: 3px solid var(--primary);
  padding-left: 24px;
  margin-top: 8px;
}

#info-5 .decor-bg-panel {
  min-height: 220px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
    url("/images/decorative/decor_2.webp");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

#info-6 {
  background: var(--bg);
}

#info-6 .layout-steps {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
}

#info-6 .step-list {
  list-style: none;
  counter-reset: step;
  margin-top: 20px;
}

#info-6 .step-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 48px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: rgba(242, 242, 242, 0.85);
}

#info-6 .step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

#info-6 .phone-panel {
  overflow: hidden;
  max-width: 500px;
  max-height: 320px;
  border: 1px solid var(--border);
}

#info-6 .phone-panel img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

#info-7 {
  background: var(--surface);
}

#info-7 .layout-aside {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
}

#info-7 .aside-note {
  background: var(--secondary);
  padding: 28px 22px;
  border-top: 3px solid var(--accent);
  font-size: 14px;
  color: rgba(242, 242, 242, 0.85);
  align-self: start;
}

#info-7 .aside-note strong {
  display: block;
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#info-8 {
  background: var(--bg);
}

#info-8 .layout-wide {
  max-width: 860px;
  margin: 0 auto;
}

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

#info-8 .bonus-grid div {
  padding: 22px;
  background: var(--secondary);
  border: 1px solid var(--border);
}

#info-8 .bonus-grid h3 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 8px;
}

#info-8 .bonus-grid p {
  font-size: 13px;
  margin: 0;
  max-width: none;
}

#info-9 {
  background: var(--surface);
}

#info-9 .layout-narrow {
  max-width: 640px;
  margin-left: 8%;
}

#info-9 .poker-table {
  margin-top: 24px;
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#info-9 .poker-table th,
#info-9 .poker-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: rgba(242, 242, 242, 0.85);
}

#info-9 .poker-table th {
  color: var(--primary);
  font-weight: 700;
}

#info-10 {
  background: var(--bg);
  position: relative;
}

#info-10::before {
  content: "";
  position: absolute;
  inset: 24px 0;
  background: linear-gradient(90deg, transparent, rgba(204, 255, 0, 0.04), transparent);
  pointer-events: none;
}

#info-10 .layout-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

#info-10 .check-list {
  list-style: none;
  margin-top: 20px;
}

#info-10 .check-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 14px;
  color: rgba(242, 242, 242, 0.85);
  border-bottom: 1px solid var(--border);
}

#info-10 .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.topic-hero {
  padding: 56px 20px 40px;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.topic-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.topic-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  max-width: 18ch;
}

.topic-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.topic-body p {
  font-size: 15px;
  color: rgba(242, 242, 242, 0.84);
  margin-bottom: 16px;
  max-width: 72ch;
}

.topic-body h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  color: var(--primary);
}

.topic-body h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  color: var(--text);
}

.topic-body ul {
  padding-left: 1.2rem;
  margin-bottom: 18px;
}

.topic-body li {
  font-size: 15px;
  color: rgba(242, 242, 242, 0.84);
  margin-bottom: 8px;
}

.topic-roulette .topic-hero-inner {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
}

.topic-roulette .stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 40px 0;
  border: 1px solid var(--border);
}

.topic-roulette .stat-band div {
  background: var(--surface);
  padding: 22px 18px;
  text-align: center;
}

.topic-roulette .stat-band strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.topic-roulette .stat-band span {
  font-size: 12px;
  color: var(--muted);
}

.topic-roulette .side-rail {
  overflow: hidden;
  max-width: 500px;
  max-height: 320px;
  border: 1px solid var(--border);
}

.topic-roulette .side-rail img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.topic-mobile .split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.topic-mobile .mosaic {
  height: 220px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)),
    url("/images/decorative/decor_6.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  margin: 32px 0;
}

.topic-live .quote-block {
  font-size: 1.3rem;
  line-height: 1.45;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  color: var(--text);
  max-width: 40ch;
}

.topic-live .img-inline {
  float: right;
  margin: 0 0 20px 28px;
  max-width: min(360px, 100%);
  overflow: hidden;
  border: 1px solid var(--border);
}

.topic-live .img-inline img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}

.topic-live .clear {
  clear: both;
}

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

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

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

@media (max-width: 900px) {
  .hero-head {
    height: 80px;
  }

  #info-1 .layout-split,
  #info-5 .layout-quote,
  #info-6 .layout-steps,
  #info-7 .layout-aside,
  #info-8 .bonus-grid,
  .topic-roulette .topic-hero-inner,
  .topic-mobile .split-cols {
    grid-template-columns: 1fr;
  }

  #info-2 .vip-list,
  #info-4 .game-row,
  .topic-roulette .stat-band {
    grid-template-columns: 1fr 1fr;
  }

  #info-3 .layout-rail {
    grid-template-columns: 1fr;
  }

  #info-3 .rail-label {
    writing-mode: horizontal-tb;
    transform: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 12px;
  }

  #info-9 .layout-narrow {
    margin-left: 0;
  }

  .topic-live .img-inline {
    float: none;
    margin: 0 0 20px;
  }
}

@media (max-width: 560px) {
  #info-2 .vip-list,
  #info-4 .game-row,
  .topic-roulette .stat-band {
    grid-template-columns: 1fr;
  }

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

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

  .offer-bonus {
    font-size: 0.92rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .decor-wrap,
  .decor-frame,
  .phone-panel,
  .side-rail,
  .img-inline,
  .mosaic,
  .decor-bg-panel {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img,
  .decor-frame img,
  .phone-panel img,
  .side-rail img,
  .img-inline img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 10vw, 2.4rem);
    white-space: normal;
    text-align: center;
  }

  .hero-strip {
    height: auto;
    min-height: 40px;
    padding: 8px 16px;
  }
}
