:root {
  --deep-black: #101820;
  --electric-cyan: #00FFFF;
  --vibrant-magenta: #FF007F;
  --radiant-silver: #C0C0C0;
  --dark-gray: #1a1a1a;
  --light-gray: #333;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--electric-cyan), var(--vibrant-magenta));
  --gradient-secondary: linear-gradient(135deg, var(--vibrant-magenta), var(--electric-cyan));
  --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.3);
  --shadow-magenta: 0 0 20px rgba(255, 0, 127, 0.3);
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--deep-black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--deep-black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.loader-text {
  font-size: 2rem;
  font-weight: bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--dark-gray);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: loadProgress 3s ease-in-out infinite;
}

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

@keyframes loadProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(16, 24, 32, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(16, 24, 32, 0.95);
  box-shadow: var(--shadow-glow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-icon {
  font-size: 2rem;
  animation: rotate 3s linear infinite;
}

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

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

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--electric-cyan);
  text-shadow: 0 0 10px var(--electric-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 0, 127, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20% 30%, var(--electric-cyan), transparent),
                    radial-gradient(2px 2px at 40% 70%, var(--vibrant-magenta), transparent),
                    radial-gradient(1px 1px at 90% 40%, var(--radiant-silver), transparent);
  background-repeat: repeat;
  background-size: 300px 300px;
  animation: float 20s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--radiant-silver);
  animation: slideInUp 1s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: slideInUp 1s ease 0.6s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--electric-cyan);
  border: 2px solid var(--electric-cyan);
}

.btn-secondary:hover {
  background: var(--electric-cyan);
  color: var(--deep-black);
  transform: translateY(-3px);
}

.btn-play {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-magenta);
}

/* Sections */
.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(16, 24, 32, 0.8), rgba(26, 26, 26, 0.8));
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--radiant-silver);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--electric-cyan);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h3 {
  color: var(--electric-cyan);
  margin-bottom: 1rem;
}

/* Games Section */
.games {
  padding: 5rem 0;
}

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

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: var(--electric-cyan);
}

.game-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.game-content {
  padding: 1.5rem;
  text-align: center;
}

.game-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--electric-cyan);
}

.game-tagline {
  color: var(--radiant-silver);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Disclaimer Section */
.disclaimer {
  padding: 3rem 0;
  background: rgba(255, 0, 127, 0.1);
}

.disclaimer-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

.footer-section h3 {
  color: var(--electric-cyan);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--radiant-silver);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--electric-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-credit {
  margin-top: 0.5rem;
  color: var(--electric-cyan);
  font-weight: bold;
}

/* Game Page Styles */
.game-page {
  min-height: 100vh;
  padding-top: 80px;
}

.game-header {
  text-align: center;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
}

.game-player {
  padding: 2rem 0;
}

.game-iframe-container {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 2px solid var(--electric-cyan);
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.back-button {
  margin: 2rem 0;
  text-align: center;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--electric-cyan);
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--deep-black);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .game-iframe-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  .game-iframe-container {
    height: 300px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease;
}

.slide-in-left {
  animation: slideInLeft 1s ease;
}

.slide-in-right {
  animation: slideInRight 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}