/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  padding: 20px 0 20px;
  margin-bottom: 24px;
}

.hero-content {
  display: grid;
  grid-template-columns: 0.37fr 1fr;
  gap: 20px;
  min-height: 340px;
}

/* LEFT — Promo Form */
.hero-promo {
  background: radial-gradient(130% 100% at 100% 0%, rgba(253,186,56,0.18) 0%, transparent 55%), radial-gradient(110% 90% at 0% 100%, rgba(230,160,32,0.14) 0%, transparent 50%), linear-gradient(155deg, #1d1710 0%, #14171f 45%, #191410 100%);
  border: 1px solid rgba(253, 186, 56, 0.32);
  box-shadow: 0 14px 44px rgba(0,0,0,0.45), inset 0 1px 0 rgba(253,186,56,0.22);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  overflow: hidden;
  text-align: left;
  align-self: stretch;
  height: 100%;
}

.hero-promo::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-promo::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -30%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 192, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.promo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: promo-pulse 3s ease-in-out infinite;
}

@keyframes promo-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-promo-label {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff 0%, #ffd166 55%, #fdba38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin: 0;
  position: relative;
  z-index: 1;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 1;
}

.promo-form input {
  height: 50px;
  padding: 0 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font-main);
  outline: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  background: rgba(0, 0, 0, 0.4);
}

.promo-form input::placeholder {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.promo-activate-btn {
  height: 50px;
  padding: 0 28px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 12px;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.promo-activate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.promo-activate-btn:hover {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
  transform: translateY(-1px);
  color: #000;
}

.promo-activate-btn:hover::before {
  left: 100%;
}

.promo-activate-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-stats-inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-inline span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-stats-inline strong {
  color: var(--gold);
  font-weight: 700;
}

/* RIGHT — Banner Slider */
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 340px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: block;
  text-decoration: none;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.hero-slide-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.hero-slide-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== VIDEO SLIDE ===== */
.hero-slide-video {
  background: #0a0d14;
}
.hero-slide-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== SLIDE ACTIONS (CTA + copy code) ===== */
.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-slide-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed rgba(253, 186, 56, 0.7);
  border-radius: 10px;
  color: #fdba38;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-main);
}
.hero-slide-code:hover {
  background: rgba(253, 186, 56, 0.14);
  box-shadow: 0 0 18px rgba(253, 186, 56, 0.3);
  transform: translateY(-1px);
}
.hero-slide-code.copied {
  border-style: solid;
  border-color: #22c55e;
  color: #22c55e;
}
.hero-slide-code i { font-size: 13px; }
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: linear-gradient(135deg, #fdba38, #e6a020);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(253, 186, 56, 0.3);
  white-space: nowrap;
}
.hero-slide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253, 186, 56, 0.45);
}
@media (max-width: 768px) {
  .hero-slide-code { font-size: 12px; padding: 6px 11px; letter-spacing: 1px; }
  .hero-slide-cta { padding: 7px 15px; font-size: 13px; }
  .hero-slide-actions { gap: 8px; }
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 4px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

/* ===== APK Banner ===== */
.apk-banner {
  background: linear-gradient(135deg, rgba(225, 163, 55, 0.05), rgba(7, 8, 10, 0.8));
  border: 1px solid rgba(225, 163, 55, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.apk-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(225, 163, 55, 0.06), transparent);
  pointer-events: none;
}

.apk-banner:hover {
  border-color: rgba(225, 163, 55, 0.2);
  background: linear-gradient(135deg, rgba(225, 163, 55, 0.08), rgba(7, 8, 10, 0.8));
}

.apk-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225, 163, 55, 0.15), rgba(7, 8, 10, 0.5));
  border: 1px solid rgba(225, 163, 55, 0.15);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.apk-info {
  flex: 1;
  min-width: 0;
}

.apk-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.apk-title span {
  font-size: 11px;
  color: var(--gold);
  background: rgba(225, 163, 55, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.apk-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.apk-btn {
  height: 44px;
  padding: 0 24px;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-main);
}

.apk-btn:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ===== Games Section ===== */
.games-section {
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.game-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 100px;
  padding: 4px;
}

.game-tab {
  padding: 7px 16px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}

.game-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.game-tab.active {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 600;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

/* Wide desktop — more game columns */
@media (min-width: 1281px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1601px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 163, 55, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(225, 163, 55, 0.05);
}

.game-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.08);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.game-card-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gold-gradient);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(225, 163, 55, 0.4);
}

.game-card-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.game-card-name {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-card-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.game-card-soon {
  cursor: default;
  opacity: 0.6;
}

.game-card-soon:hover {
  transform: none;
  border-color: var(--border-color);
  box-shadow: none;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero-content {
    min-height: 280px;
  }
  .hero-slider {
    min-height: 280px;
  }
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr 2fr;
    min-height: 260px;
  }
  .hero-slider {
    min-height: 260px;
  }
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }
  .hero-promo {
    padding: 28px 16px;
    gap: 20px;
  }
  .hero-promo-label {
    font-size: 26px;
  }
  .hero-slider {
    min-height: 220px;
  }
  .hero-promo .hero-text h1 {
    font-size: 24px;
  }
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 16px 0 10px;
  }
  .hero-promo {
    padding: 24px 14px;
    gap: 18px;
  }
  .hero-promo-label {
    font-size: 24px;
  }
  .hero-slider {
    min-height: 200px;
  }
  .hero-slide-title {
    font-size: 18px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .game-tabs {
    width: 100%;
  }
  .game-tab {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 6px 12px;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .game-card-info {
    padding: 10px 12px;
  }
  .game-card-label {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero-promo {
    padding: 20px 12px;
    gap: 16px;
  }
  .hero-promo-label {
    font-size: 22px;
  }
  .promo-form input {
    height: 44px;
    font-size: 14px;
  }
  .promo-activate-btn {
    height: 44px;
    font-size: 15px;
  }
  .hero-slider {
    min-height: 180px;
  }
  .hero-stats-inline {
    gap: 10px;
  }
  .hero-stats-inline span {
    font-size: 11px;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ===== Promo Banner ===== */
.promo-banner {
  display: block;
  width: 100%;
  height: 90px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.2s;
  border: 1px solid var(--border-color);
}

.promo-banner:hover {
  opacity: 0.92;
  border-color: rgba(225, 163, 55, 0.2);
}

@media (max-width: 768px) {
  .promo-banner {
    height: 45px;
    border-radius: 8px;
    background-position: center center;
    background-size: cover;
  }
}
