@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Orbitron:wght@500;700;900&family=Poppins:wght@400;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070711;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  
  --neon-pink: #ff4d6d;
  --glow-magenta: #f72585;
  --electric-purple: #7209b7;
  --deep-indigo: #3a0ca3;
  
  --gradient-main: linear-gradient(135deg, var(--neon-pink), var(--glow-magenta), var(--electric-purple), var(--deep-indigo));
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.15);
  
  /* Layout */
  --sidebar-collapsed: 80px;
  --sidebar-expanded: 240px;
  --nav-mobile-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(114, 9, 183, 0.15), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(247, 37, 133, 0.1), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.title-orbitron {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Fluid Typography & Spacing */
.fluid-section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  width: 100%;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Left Sidebar Navigation */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-collapsed);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 5px 0 25px rgba(0,0,0,0.5);
}

.sidebar:hover {
  width: var(--sidebar-expanded);
}

.sidebar-brand {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 25px;
  border-bottom: 1px solid var(--glass-border);
  min-width: var(--sidebar-expanded);
}

.sidebar-brand .logo-icon {
  width: 30px;
  height: 30px;
  fill: url(#neon-grad);
  flex-shrink: 0;
}

.sidebar-brand .logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.sidebar:hover .sidebar-brand .logo-text {
  opacity: 1;
}

.nav-menu {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 1rem 25px;
  min-width: var(--sidebar-expanded);
  position: relative;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: 0.3s;
}

.nav-item:hover::before, .nav-item.active::before {
  opacity: 1;
  box-shadow: 0 0 10px var(--neon-pink);
}

.nav-item .nav-icon {
  width: 26px;
  height: 26px;
  fill: var(--text-muted);
  flex-shrink: 0;
  transition: 0.3s;
}

.nav-item:hover .nav-icon, .nav-item.active .nav-icon {
  fill: var(--neon-pink);
  filter: drop-shadow(0 0 5px var(--neon-pink));
}

.nav-item .nav-label {
  margin-left: 20px;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.3s ease, color 0.3s;
  white-space: nowrap;
}

.sidebar:hover .nav-item .nav-label {
  opacity: 1;
}

.nav-item:hover .nav-label, .nav-item.active .nav-label {
  color: var(--text-main);
}

.sidebar-footer {
  padding: 20px 25px;
  min-width: var(--sidebar-expanded);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar:hover .sidebar-footer {
  opacity: 1;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}
.social-icon:hover {
  fill: var(--glow-magenta);
}

/* Main Content Area */
.main-wrapper {
  margin-left: var(--sidebar-collapsed);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.4s;
}

/* Global Notice Bar */
.global-notice {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.global-notice strong {
  color: var(--neon-pink);
}

/* UI Elements */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.glass-card:hover::before {
  left: 200%;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(114, 9, 183, 0.2);
  border-color: rgba(247, 37, 133, 0.3);
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--gradient-main);
  background-size: 200% auto;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  background: inherit;
  filter: blur(15px);
  opacity: 0.5;
  z-index: -1;
  transition: 0.5s;
}

.btn-glow:hover {
  background-position: right center;
  transform: scale(1.05);
}

.btn-glow:hover::after {
  opacity: 0.8;
  filter: blur(20px);
}

.btn-outline {
  display: inline-flex;
  padding: 12px 28px;
  border: 1px solid var(--neon-pink);
  border-radius: 50px;
  color: var(--neon-pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-outline:hover {
  background: rgba(255, 77, 109, 0.1);
  box-shadow: 0 0 15px rgba(255, 77, 109, 0.3);
}

/* Sections */
.hero {
  position: relative;
  min-height: calc(100vh - 45px); /* Minus notice bar */
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(7,7,17,0.7) 50%, transparent 100%);
}

.hero-content {
  max-width: 800px;
  z-index: 10;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(247, 37, 133, 0.5);
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Fluid Grids */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 400px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

/* Section specific */
.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.section-title p {
  color: var(--neon-pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* Featured Game & Games Page */
.game-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card-img img {
  transform: scale(1.1);
}
.game-card-content {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

/* Iframe Game Container */
.game-play-area {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(114, 9, 183, 0.4);
  background: #000;
}
.iframe-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* How It Works Steps */
.step-item {
  text-align: center;
  padding: 2rem;
}
.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(255, 77, 109, 0.2);
  position: relative;
}
.step-icon::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 2px dashed var(--electric-purple);
  animation: spin 10s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-control {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: 0 0 15px rgba(255, 77, 109, 0.2);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--neon-pink);
  padding-left: 5px;
}
.footer-disclaimer {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-disclaimer p {
  margin-bottom: 1rem;
}
.compliance-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 1.5rem;
}
.compliance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.play-responsibly {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Mobile System */
@media (max-width: 768px) {
  .sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--nav-mobile-height);
    flex-direction: row;
    border-right: none;
    border-top: 1px solid var(--glass-border);
    padding: 0;
    overflow: visible;
  }
  
  .sidebar:hover {
    width: 100%;
  }

  .sidebar-brand {
    display: none; /* Hide brand on mobile bottom nav */
  }

  .nav-menu {
    flex-direction: row;
    padding: 0;
    width: 100%;
    justify-content: space-around;
    align-items: center;
  }

  .nav-item {
    padding: 0;
    min-width: auto;
    width: 100%;
    height: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }
  
  .nav-item::before {
    height: 3px;
    width: 100%;
    top: 0;
    left: 0;
  }

  .nav-item .nav-icon {
    width: 22px;
    height: 22px;
  }

  .nav-item .nav-label {
    margin-left: 0;
    font-size: 0.65rem;
    opacity: 1;
    white-space: normal;
  }

  .sidebar-footer {
    display: none;
  }

  .main-wrapper {
    margin-left: 0;
    margin-bottom: var(--nav-mobile-height);
  }
  
  .hero-bg::after {
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(7,7,17,0.5) 50%, transparent 100%);
  }
}

/* SVG Definitions hiding container */
.svg-defs {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}