/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* THEME */
:root {
  --bg-deep: #020617;
  --bg-panel: #050816;
  --accent-blue: #3b82f6;
  --accent-gold: #facc15;
  --accent-orange: #f97316;
  --accent-cyan: #22d3ee;
  --text-main: #e5e7eb;
}

/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, var(--bg-deep) 0%, #000 70%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(250,204,21,0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: -2;
}

.app {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.app-header {
  height: 70px;
  background: linear-gradient(120deg, #020617 0%, #020617 40%, #030712 100%);
  border-bottom: 1px solid rgba(148,163,184,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent-gold);
  text-shadow:
    0 0 10px rgba(59,130,246,0.9),
    0 0 18px rgba(250,204,21,0.9);
}

.menu-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent-cyan);
  background: rgba(15,23,42,0.9);
  color: var(--accent-cyan);
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  transition: all 0.25s ease;
}

.menu-btn:hover {
  background: rgba(34,211,238,0.12);
  box-shadow: 0 0 18px rgba(34,211,238,0.8);
  transform: translateY(-1px);
}

/* MAIN GRID */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 280px) minmax(0, 1.5fr) minmax(260px, 280px);
  gap: 20px;
  padding: 20px 12px 80px;
}

/* GENERIC CARD */
.card {
  background: radial-gradient(circle at top, #020617 0%, #020617 50%, #000 100%);
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 14px 40px rgba(0,0,0,0.8);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.95);
  border-color: var(--accent-blue);
}

/* HERO “COMING SOON” */
.coming-soon-hero {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 10px;
  padding: 12px 10px 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(15,23,42,0.95), rgba(2,6,23,0.98));
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  
}

.coming-soon-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow:
    0 0 6px rgba(15,118,110,0.9),
    0 0 18px rgba(212,175,55,0.9);
  animation: comingSoonGlow 2.8s ease-in-out infinite,
             comingSoonSlide 0.9s ease-out 1;
}



.coming-soon-subtitle {
  font-size: 0.88rem;
  opacity: 0.9;
}

/* BANNER CARDS (LEFT/RIGHT) */
.card.banner {
  margin-bottom: 15px;
  min-height: 220px;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.3) 0%, transparent 50%),
    linear-gradient(135deg, #020617, #020617 55%, #020617 100%);
  padding: 22px 18px;
  position: relative;
}

.card.banner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 0 16px rgba(59,130,246,0.9);
}

.card.banner p {
  font-size: 0.88rem;
  opacity: 0.9;
}

/* GAMES AREA */
.games-area {
  background: radial-gradient(circle at top, #020617 0%, #020617 60%, #000 100%);
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.55);
  padding: 20px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 15px;
}

.game-card {
  height: 220px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.7);
  background: radial-gradient(circle at top, #1e293b 0%, #020617 60%);
  box-shadow: 0 10px 36px rgba(0,0,0,0.85);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 70px rgba(0,0,0,0.95);
  border-color: var(--accent-blue);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover::before {
  opacity: 1;
}

.free-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, var(--accent-orange), var(--accent-gold));
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #111827;
  box-shadow: 0 4px 16px rgba(0,0,0,0.8);
}

.provider {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 800;
  text-shadow: 0 4px 14px #000;
}

/* CATEGORY TABS */
.category-tabs {
  background: rgba(15,23,42,0.98);
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 14px 40px rgba(0,0,0,0.85);
}

.category-tab {
  min-width: 110px;
  height: 80px;
  border-radius: 22px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(59,130,246,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.category-tab:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: var(--accent-gold);
  box-shadow: 0 0 30px rgba(59,130,246,0.75);
}

/* INFO SECTION */
.info-section {
  padding: 22px 12px 50px;
}

.info-panel {
  background: rgba(15,23,42,0.98);
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.8);
  padding: 22px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.9);
}

.info-text {
  background: rgba(15,23,42,0.96);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* BUTTONS */
.pill-btn {
  margin: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(0,0,0,0.55);
  font-size: 0.85rem;
}

.pill-btn.green {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
  color: #020617;
}

.pill-btn.dark {
  background: linear-gradient(45deg, #020617, #1f2937);
  color: #e5e7eb;
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59,130,246,0.7);
}

/* BOTTOM NAV */
.bottom-nav {
  position: sticky;
  bottom: 0;
  height: 60px;
  background: linear-gradient(90deg, #020617, #020617, #0b1220);
  border-top: 1px solid rgba(148,163,184,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--text-main);
  font-size: 0.85rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.9);
}

.bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bottom-item:hover {
  transform: translateY(-3px);
  text-shadow: 0 0 16px rgba(59,130,246,0.85);
}

.bottom-item a {
  color: inherit;
  text-decoration: none;
}

/* SIDE MENU */
.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: flex-end;
  z-index: 999;
}

.side-menu-overlay.show {
  display: flex;
}

.side-menu {
  width: 320px;
  max-width: 90vw;
  height: 100%;
  background: linear-gradient(135deg, #020617, #0b1220);
  color: var(--text-main);
  padding: 20px;
  border-left: 1px solid rgba(148,163,184,0.8);
  box-shadow: -10px 0 40px rgba(0,0,0,0.95);
  overflow-y: auto;
}

.side-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 18px rgba(59,130,246,0.9);
}

.close-btn {
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 1.6rem;
  cursor: pointer;
}

.side-nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.side-link a{
  text-decoration: none;
  color: #fff;
}

.side-link:hover {
  background: rgba(59,130,246,0.14);
  box-shadow: 0 0 18px rgba(59,130,246,0.5);
}

.side-link.active {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
  color: #020617;
}

/* RESPONSIVE */

/* <= 1024px: stack columns */
@media (max-width: 1024px) {
  .main {
    grid-template-columns: 1fr;
  }
  .left-col, .right-col { order: 2; }
  .center-col           { order: 1; }

  .games-area {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* <= 768px: mobile */
@media (max-width: 768px) {
  .app-header {
    padding: 0 12px;
    height: 64px;
  }
  .logo {
    font-size: 1.5rem;
  }
  .menu-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .main {
    padding: 16px 10px 50px;
    gap: 16px;
  }

  .category-tabs {
    gap: 8px;
    padding: 10px;
  }
  .category-tab {
    flex: 1 1 calc(50% - 8px);
    height: 70px;
    font-size: 0.85rem;
  }

  .games-area {
    padding: 16px 12px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .game-card {
    height: 200px;
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 10px;
    font-size: 0.7rem;
    padding: 0 6px;
  }
  .bottom-item {
    flex: 1;
  }

  .info-section {
    padding: 18px 10px 80px;
  }
  .side-menu {
    width: 80vw;
  }
}

/* <= 480px: small devices */
@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }
  .coming-soon-title {
    font-size: 1.15rem;
  }
  .games-area {
    grid-template-columns: 1fr;
  }
  .card.banner {
    padding: 18px 14px;
  }
  .moblie-display{
display: none;
  }
}
