html, body { overflow-x: hidden; max-width: 100vw; }

.games-page {
  --c1: #ff2e63;
  --c2: #ffd23f;
  --c3: #08d9d6;
  --c4: #0f0a1e;
  --c5: #1a1333;
  --c6: #f4f1ff;
  --rad: 18px;
  --sp1: 1rem;
  --sp2: 2rem;
  --sp3: 3rem;
  color: var(--c6);
  padding: var(--sp3) 0;
}

.games-hero {
  position: relative;
  padding: var(--sp3) var(--sp2);
  margin-bottom: var(--sp3);
  background: linear-gradient(135deg, var(--c5) 0%, var(--c4) 60%, #2a0d3d 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(255, 46, 99, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

.games-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--c1) 0%, transparent 65%);
  opacity: 0.4;
  filter: blur(30px);
}

.games-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--c3) 0%, transparent 65%);
  opacity: 0.35;
  filter: blur(30px);
}

.games-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.games-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 210, 63, 0.12);
  border: 1px solid rgba(255, 210, 63, 0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c2);
}

.games-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--c2);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.games-hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
}

.games-hero__title-accent {
  background: linear-gradient(90deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.games-hero__text {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  color: rgba(244, 241, 255, 0.85);
}

.games-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.games-hero__stat {
  padding: 1.2rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.games-hero__stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c2);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.games-hero__stat-label {
  font-size: 0.8rem;
  color: rgba(244, 241, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.games-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2.4rem;
  background: linear-gradient(135deg, var(--c1), #ff4d80);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 15px 40px rgba(255, 46, 99, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}

.games-hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 46, 99, 0.6);
}

.games-hero__cta-arrow {
  transition: transform 0.3s;
}

.games-hero__cta:hover .games-hero__cta-arrow {
  transform: translateX(5px);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: var(--c6);
  letter-spacing: -0.01em;
}

.section-title__line {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  border-radius: 2px;
  margin-top: 0.8rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: var(--sp3);
}

.cat-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  background: linear-gradient(150deg, var(--c5), var(--c4));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--rad);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--c1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.cat-card:hover::before {
  transform: scaleX(1);
}

.cat-card--live { --accent: var(--c1); }
.cat-card--mega { --accent: var(--c2); }
.cat-card--table { --accent: var(--c3); }
.cat-card--all { --accent: #b66dff; }

.cat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.cat-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--c6);
}

.cat-card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 241, 255, 0.7);
  margin: 0;
}

.slots-block {
  padding: var(--sp2);
  margin-bottom: var(--sp3);
  background: linear-gradient(160deg, var(--c5) 0%, #221645 100%);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.table-responsive {
  overflow-x: auto;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
}

.slots-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.slots-table thead {
  background: linear-gradient(90deg, var(--c1), #c2185b);
}

.slots-table th {
  padding: 1rem 1.3rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.slots-table td {
  padding: 1rem 1.3rem;
  font-size: 0.98rem;
  color: rgba(244, 241, 255, 0.9);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.slots-table tr:last-child td { border-bottom: none; }

.slots-table tbody tr {
  transition: background 0.25s;
}

.slots-table tbody tr:hover {
  background: rgba(255, 210, 63, 0.06);
}

.slots-table td:last-child {
  color: var(--c2);
  font-weight: 600;
}

.live-block {
  position: relative;
  padding: var(--sp2);
  margin-bottom: var(--sp3);
  background: linear-gradient(135deg, #2a0d3d 0%, var(--c4) 100%);
  border-radius: 24px;
  border: 1px solid rgba(8, 217, 214, 0.2);
  overflow: hidden;
}

.live-block::before {
  content: '24/7';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--c3);
  color: var(--c4);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
}

.live-block__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(244, 241, 255, 0.85);
  max-width: 720px;
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-bottom: var(--sp3);
}

.why-card {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  background: var(--c6);
  color: var(--c4);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  transition: transform 0.35s;
}

.why-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
}

.why-card__num {
  position: absolute;
  top: -18px;
  left: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(255, 46, 99, 0.4);
}

.why-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0.5rem 0 0.7rem;
  color: var(--c4);
}

.why-card__text {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #4a4258;
  margin: 0;
}

.steps-timeline {
  position: relative;
  padding: var(--sp2) 0;
  margin-bottom: var(--sp3);
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--c1), var(--c2), var(--c3));
}

.step-item {
  position: relative;
  padding-left: 75px;
  margin-bottom: 1.8rem;
}

.step-item:last-child { margin-bottom: 0; }

.step-item__num {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c4), var(--c5));
  border: 2px solid var(--c2);
  color: var(--c2);
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.step-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0 0.4rem;
  color: var(--c6);
}

.step-item__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(244, 241, 255, 0.75);
  margin: 0;
}

.step-item__text a {
  color: var(--c2);
  text-decoration: none;
  border-bottom: 1px dashed var(--c2);
}

.faq-block {
  margin-bottom: var(--sp3);
}

.faq-item {
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--c5), var(--c4));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(255, 210, 63, 0.3);
}

.faq-item__q {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c6);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c1);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  transition: transform 0.3s, background 0.3s;
}

.faq-item[open] .faq-item__q::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--c2);
  color: var(--c4);
}

.faq-item__a {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(244, 241, 255, 0.78);
  margin: 0;
}

.final-cta {
  padding: var(--sp3) var(--sp2);
  text-align: center;
  background: linear-gradient(135deg, var(--c1) 0%, #c2185b 50%, var(--c4) 100%);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(255, 46, 99, 0.35);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,210,63,0.2) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

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

.final-cta__inner {
  position: relative;
  z-index: 2;
}

.final-cta__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #fff;
}

.final-cta__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.8rem;
}

.final-cta__btn {
  display: inline-block;
  padding: 1.1rem 2.6rem;
  background: var(--c2);
  color: var(--c4);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.final-cta__btn:hover {
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 768px) {
  .games-hero { padding: 2rem 1.3rem; }
  .slots-block, .live-block { padding: 1.3rem; }
  .live-block::before { top: 1rem; right: 1rem; }
  .step-item { padding-left: 65px; }
  .steps-timeline::before { left: 23px; }
  .step-item__num { width: 48px; height: 48px; font-size: 1.1rem; }
}