:root {
  --arctic-navy: #0b1f33;
  --candy-rose: #e9446a;
  --frost-white: #ffffff;
  --glow-cyan: #00f0ff;
  --dark-blue: #1a2438;
  --light-blue: #2a3f5f;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--arctic-navy) 0%, var(--dark-blue) 100%);
  color: var(--frost-white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Snowfall Animation */
.snowfall-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  color: var(--frost-white);
  opacity: 0.8;
  animation: snowfall linear infinite;
  font-size: 0.8rem;
}

@keyframes snowfall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Header */
.header {
  background: rgba(11, 31, 51, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: var(--frost-white);
}

.logo-snowflake {
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

.logo-text {
  background: linear-gradient(45deg, var(--candy-rose), var(--glow-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.nav-link:hover,
.nav-link.active {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--frost-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--frost-white), var(--glow-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--frost-white);
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--frost-white);
  opacity: 0.8;
  line-height: 1.6;
}

.cta-button {
  position: relative;
  background: linear-gradient(45deg, var(--candy-rose), #ff6b9d);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: var(--frost-white);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(233, 68, 106, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(233, 68, 106, 0.5);
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover .button-glow {
  left: 100%;
}

/* Stats Section */
.stats-section {
  padding: 3rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.stat-number {
  font-family: 'Press Start 2P', cursive;
  font-size: 2.5rem;
  color: var(--glow-cyan);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--frost-white);
  opacity: 0.9;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Titles */
.section-title {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--frost-white), var(--glow-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--frost-white);
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Games Section */
.games-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

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

.game-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
  border-color: var(--glow-cyan);
}

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

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

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

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.play-button {
  background: linear-gradient(45deg, var(--candy-rose), #ff6b9d);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: var(--frost-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.game-card:hover .play-button {
  transform: translateY(0);
}

.play-button:hover {
  background: linear-gradient(45deg, #ff6b9d, var(--candy-rose));
  box-shadow: 0 5px 15px rgba(233, 68, 106, 0.4);
}

.game-title {
  padding: 1rem 1rem 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--frost-white);
  text-align: center;
}

.game-description {
  padding: 0 1rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--frost-white);
  opacity: 0.8;
  text-align: center;
  line-height: 1.4;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

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

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--frost-white);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Why Choose Section */
.why-choose-section {
  padding: 5rem 0;
}

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

.reason-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

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

.reason-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--frost-white);
}

.reason-card p {
  color: var(--frost-white);
  opacity: 0.8;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.1);
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

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

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--frost-white);
}

.feature-card p {
  color: var(--frost-white);
  opacity: 0.8;
  line-height: 1.6;
}

/* Game Types Section */
.game-types-section {
  padding: 5rem 0;
}

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

.game-type-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(233, 68, 106, 0.1);
  border-color: var(--candy-rose);
}

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

.game-type-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--frost-white);
}

.game-type-card p {
  color: var(--frost-white);
  opacity: 0.8;
  line-height: 1.6;
}

/* How to Play Section */
.how-to-play-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.1);
}

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

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, var(--candy-rose), #ff6b9d);
  color: var(--frost-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: var(--frost-white);
}

.step-card p {
  color: var(--frost-white);
  opacity: 0.8;
  line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 3rem 0;
  background: rgba(233, 68, 106, 0.1);
}

.disclaimer-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--candy-rose);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer-card h3 {
  color: var(--candy-rose);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.disclaimer-card p {
  color: var(--frost-white);
  opacity: 0.9;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: rgba(11, 31, 51, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
}

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

.footer-nav a {
  color: var(--frost-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--glow-cyan);
}

.footer-copyright p {
  color: var(--frost-white);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Game Page Styles */
.game-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.game-container {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.game-frame {
  width: 100%;
  max-width: 1200px;
  height: 70vh;
  min-height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
  border: 2px solid var(--glass-border);
}

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

.back-button {
  background: linear-gradient(45deg, var(--glow-cyan), #00bcd4);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: var(--frost-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--frost-white);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--frost-white);
  font-family: inherit;
  transition: all 0.3s ease;
}

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

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-button {
  background: linear-gradient(45deg, var(--candy-rose), #ff6b9d);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  color: var(--frost-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(233, 68, 106, 0.3);
}

/* Content Pages */
.content-page {
  padding: 5rem 0;
  min-height: 100vh;
}

.content-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 2rem;
}

.content-card h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--frost-white);
  text-align: center;
}

.content-card h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--glow-cyan);
}

.content-card p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--frost-white);
  opacity: 0.9;
}

.content-card ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.content-card li {
  margin-bottom: 0.5rem;
  color: var(--frost-white);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .game-types-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .game-frame {
    height: 60vh;
    min-height: 400px;
  }
  
  .content-card {
    padding: 2rem;
  }
  
  .nav {
    padding: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .content-card h1 {
    font-size: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}