/* ============================================================
   page-home.css — стили главной страницы
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(143, 224, 102, 0.16), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(217, 151, 96, 0.12), transparent 55%),
    linear-gradient(160deg, #17301F 0%, #0E1B12 55%, #12240F 100%);
  border-bottom: 1px solid var(--line);
}
.hero__wrap {
  position: relative; z-index: 2;
  padding: 70px 54px 62px;
  min-height: 470px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__wrap > div:first-child { position: relative; z-index: 2; max-width: 54%; }
.hero h1 { background: linear-gradient(180deg, #FFFFFF 10%, #C7D4C1 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, var(--lime-2), var(--lime) 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lead { font-size: 17px; color: var(--text-2); max-width: 560px; margin-bottom: 24px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__cta .btn--big { position: relative; overflow: hidden; }
.hero__cta .btn--big::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: gpSweep 3.4s ease-in-out infinite;
}
@keyframes gpSweep { 0%, 55% { transform: translateX(-120%); } 75%, 100% { transform: translateX(130%); } }
.hero__stats { display: flex; gap: 26px; flex-wrap: wrap; }
.stat { min-width: 96px; }
.stat__num { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--lime); }
.stat__label { font-size: 12px; color: var(--text-3); letter-spacing: 0.4px; text-transform: uppercase; }

.hero__panel { position: absolute; inset: 0 0 0 auto; width: 60%; z-index: 0; }
.hero__frame { margin: 0; height: 100%; }
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero__star {
  position: absolute; width: 70px; top: 20px; right: 26px; z-index: 3;
  filter: drop-shadow(0 6px 16px rgba(217, 151, 96, 0.5)) hue-rotate(28deg);
  animation: gpSway 4.5s ease-in-out infinite;
}
@keyframes gpSway { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(5deg); } }

.strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-1); padding: 10px 0; }
.strip__track { display: flex; width: max-content; gap: 14px; animation: gpSlide 42s linear infinite; }
.strip__track:hover { animation-play-state: paused; }
.strip__track img { height: 108px; width: auto; border-radius: var(--radius-s); border: 1px solid var(--line); }
@keyframes gpSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.tile {
  background: linear-gradient(180deg, #1B331F, #14231A);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 12px;
  text-align: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}
.tile:hover { transform: translateY(-3px); border-color: var(--lime); color: var(--lime); }
.tile span { display: flex; justify-content: center; margin-bottom: 10px; }
.tile .icon { width: 34px; height: 34px; }

.win-card {
  background: linear-gradient(180deg, var(--bg-2), #14231A);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.win-card__game { font-weight: 700; font-size: 14.5px; }
.win-card__amount { font-family: var(--font-head); font-size: 21px; font-weight: 800; color: var(--lime); margin: 6px 0 2px; }
.win-card__note { font-size: 12px; color: var(--text-3); }

.badge-row { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; }
.badge-row img { height: 120px; width: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4)) hue-rotate(28deg) saturate(1.12); }
.badge-row figure { text-align: center; margin: 0; }
.badge-row figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }

.review-card {
  background: linear-gradient(180deg, var(--bg-2), #14231A);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.review-card__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--text); }
.review-card p { color: var(--text-2); font-size: 14px; margin-bottom: 0; }

.reading { position: relative; }
.reading__inner {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-3) transparent;
}
.reading__inner::-webkit-scrollbar { width: 8px; }
.reading__inner::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 8px; }
.reading::after {
  content: "";
  position: absolute; left: 0; right: 14px; bottom: 0; height: 74px;
  background: linear-gradient(180deg, transparent, var(--bg-0));
  pointer-events: none;
}
.section--panel .reading::after { background: linear-gradient(180deg, transparent, var(--bg-1)); }
.reading h2, .reading h3 { margin-top: 22px; }
.reading h4 { font-size: 16px; margin-top: 16px; margin-bottom: 8px; color: var(--text); }
.reading h2:first-child { margin-top: 0; }
.reading p, .reading li { color: var(--text-2); }

@media (max-width: 1024px) {
  .hero__wrap { padding: 54px 26px 50px; min-height: 400px; }
  .hero__wrap > div:first-child { max-width: 100%; }
  .hero__panel { width: 100%; opacity: 0.2; }
  .hero__frame img { -webkit-mask-image: none; mask-image: none; }
  .hero__star { display: none; }
}
@media (max-width: 760px) {
  .hero { padding: 42px 0 48px; }
}
@media (max-width: 640px) {
  .hero__stats { gap: 18px; }
}
