/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* THEME (CocaSpin teal/gold) */
:root {
  --bg-deep: #02151a;
  --bg-panel: #062029;
  --teal-main: #0f766e;
  --teal-light: #2dd4bf;
  --gold-soft: #d4af37;
  --coral: #fb7185;
  --ivory: #fdfbed;
  --text-main: #e5f4f4;
  --text-muted: #9ca3af;
}

/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #02232b 0%, #020b10 60%, #02070a 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(45,212,191,0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,0.18) 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: 72px;
  background: linear-gradient(90deg, #020b10, #02151a, #041f25);
  border-bottom: 1px solid rgba(212,175,55,0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: var(--text-main);
  box-shadow: 0 6px 30px rgba(0,0,0,0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--ivory);
  text-shadow:
    0 0 10px rgba(15,118,110,0.9),
    0 0 18px rgba(212,175,55,0.9);
}

.menu-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(45,212,191,0.9);
  background: rgba(3,37,46,0.95);
  color: var(--teal-light);
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(45,212,191,0.14);
  box-shadow: 0 0 20px rgba(45,212,191,0.9);
}

/* MAIN GRID (same as MaxPokies) */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 280px) minmax(0, 1.5fr) minmax(260px, 280px);
  gap: 20px;
  padding: 20px 12px 80px;
}

/* CARDS */
.card {
  margin-bottom: 15px;
  background: rgba(6,32,41,0.96);
  border-radius: 18px;
  border: 1px solid rgba(15,118,110,0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.7);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.9);
  border-color: rgba(212,175,55,0.85);
}

/* BANNER CARDS */
.card.banner {
  margin-bottom: 15px;
  min-height: 230px;
  background: radial-gradient(circle at top left,
    #0f766e 0%,
    #0f4c5c 30%,
    #062029 100%);
  color: var(--ivory);
  padding: 26px 20px;
  position: relative;
}

.card.banner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(45,212,191,0.9);
  margin-bottom: 8px;
}

.badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(2,15,19,0.9);
  border: 1px solid rgba(212,175,55,0.85);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.85rem;
}

/* COMING SOON HERO */
.coming-soon-hero {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 12px;
  padding: 12px 10px 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(15,118,110,0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(6,32,41,0.95), rgba(2,15,19,0.98));
  border: 1px solid rgba(15,118,110,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
}

.coming-soon-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow:
    0 0 6px rgba(15,118,110,0.8),
    0 0 14px 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.9rem;
  color: var(--text-muted);
}

/* TITLE ANIMATIONS */
@keyframes comingSoonGlow {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(15,118,110,0.8),
      0 0 18px rgba(212,175,55,0.9);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 10px rgba(45,212,191,1),
      0 0 26px rgba(212,175,55,1);
    transform: scale(1.03);
  }
}

@keyframes comingSoonSlide {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CATEGORY TABS (same pattern) */
.category-tabs {
  background: rgba(4,25,32,0.98);
  border-radius: 18px;
  border: 1px solid rgba(15,118,110,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: 120px;
  height: 90px;
  border-radius: 24px;
  background: rgba(2,15,19,0.92);
  border: 2px solid rgba(45,212,191,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tab:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--gold-soft);
  box-shadow: 0 0 30px rgba(45,212,191,0.8);
}

/* GAMES GRID */
.games-area {
  margin-top: 15px;
  background: rgba(4,25,32,0.98);
  border-radius: 20px;
  border: 1px solid rgba(15,118,110,0.65);
  padding: 22px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card {
  height: 220px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15,118,110,0.8);
  background: radial-gradient(circle at top, #0b2f36 0%, #020b10 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.04);
  box-shadow: 0 24px 70px rgba(0,0,0,0.95);
  border-color: var(--teal-light);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.18), 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(--coral), var(--gold-soft));
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  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;
}

/* INFO SECTION / BUTTONS */
.info-section {
  padding: 24px 12px 80px;
}

.info-panel {
  background: rgba(4,25,32,0.98);
  border-radius: 18px;
  border: 1px solid rgba(15,118,110,0.7);
  padding: 22px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.9);
}

.info-text {
  background: rgba(2,15,19,0.9);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pill-btn {
  margin: 10px !important;
  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(--teal-main), var(--teal-light));
  color: #021015;
}

.pill-btn.dark {
  background: linear-gradient(45deg, #020b10, #062029);
  color: var(--text-main);
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(15,118,110,0.7);
}

/* COPYRIGHT STRIP */
copyright-strip{
  margin-top: 10px;
  text-align: center;
  background: rgba(2,15,19,0.9);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* BOTTOM NAV (same behaviour) */
.bottom-nav {
  position: sticky;
  bottom: 0;
  height: 60px;
  background: linear-gradient(90deg, #020b10, #02151a, #041f25);
  border-top: 1px solid rgba(212,175,55,0.55);
  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(15,118,110,0.9);
}

.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, #020b10, #031820);
  color: var(--text-main);
  padding: 20px;
  border-left: 1px solid rgba(15,118,110,0.7);
  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(--ivory);
  text-shadow: 0 0 18px rgba(15,118,110,0.9);
}

.close-btn {
  background: none;
  border: none;
  color: var(--ivory);
  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:hover {
  background: rgba(6,32,41,0.9);
  box-shadow: 0 0 18px rgba(15,118,110,0.45);
}

.side-link.active {
  background: linear-gradient(90deg, var(--teal-main), var(--gold-soft));
  color: #021015;
}

/* RESPONSIVE (same pattern as MaxPokies)[web:163][web:183] */

/* <= 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(180px, 1fr));
  }
}

/* <= 768px: mobile with fixed bottom nav[web:175] */
@media (max-width: 768px) {
  .app-header {
    padding: 0 12px;
    height: 64px;
  }
  .logo {
    font-size: 1.6rem;
  }
  .menu-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .main {
    padding: 16px 10px 80px;
    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(150px, 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 */
@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;
  }
  .mobile-display{
    display: none;
  }
}
