:root {
  --primary-bg: #0f1021;
  --aqua-glow: #42f5b9;
  --ancient-gold: #ffd966;
  --crystal-violet: #bc13fe;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.7);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1b3a 50%, var(--primary-bg) 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: relative;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(15, 16, 33, 0.8);
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px var(--crystal-violet));
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--aqua-glow), var(--crystal-violet));
  -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(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--aqua-glow);
  text-shadow: 0 0 10px var(--aqua-glow);
}

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

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

.crystal-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, var(--aqua-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--crystal-violet) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--ancient-gold) 0%, transparent 50%);
  opacity: 0.1;
  animation: crystalPulse 6s ease-in-out infinite;
}

.egyptian-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

@keyframes crystalPulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}

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

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--aqua-glow), var(--ancient-gold), var(--crystal-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(66, 245, 185, 0.3);
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-weight: 300;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--aqua-glow);
  color: var(--aqua-glow);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: var(--aqua-glow);
  color: var(--primary-bg);
  box-shadow: 0 0 20px var(--aqua-glow);
  transform: translateY(-2px);
}

/* Welcome Section */
.welcome-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-text h2 {
  margin-bottom: 2rem;
}

.welcome-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ancient-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 600;
}

.welcome-image {
  position: relative;
}

.feature-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--ancient-gold), var(--crystal-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Games Section */
.games-section {
  padding: 6rem 0;
}

.games-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-tag {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid var(--card-border);
  color: var(--text-muted);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.category-tag.active,
.category-tag:hover {
  border-color: var(--aqua-glow);
  color: var(--aqua-glow);
  box-shadow: 0 0 15px rgba(66, 245, 185, 0.2);
}

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

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

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(66, 245, 185, 0.2);
  border-color: var(--aqua-glow);
  animation: cardPulse 2s ease-in-out infinite;
}

@keyframes cardPulse {
  0%, 100% { border-color: var(--aqua-glow); }
  50% { border-color: var(--crystal-violet); }
}

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

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

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

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.game-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-badge {
  background: rgba(66, 245, 185, 0.2);
  color: var(--aqua-glow);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--aqua-glow);
}

.game-info {
  padding: 1.5rem;
}

.game-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ancient-gold);
}

.game-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.play-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid var(--crystal-violet);
  color: var(--crystal-violet);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-button:hover {
  background: var(--crystal-violet);
  color: white;
  box-shadow: 0 0 15px var(--crystal-violet);
}

/* Themes Section */
.themes-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.02);
}

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

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

.theme-card:hover {
  transform: translateY(-5px);
  border-color: var(--ancient-gold);
  box-shadow: 0 15px 30px rgba(255, 217, 102, 0.1);
}

.theme-image {
  height: 200px;
  overflow: hidden;
}

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

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

.theme-content {
  padding: 1.5rem;
}

.theme-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  color: var(--ancient-gold);
  margin-bottom: 1rem;
}

.theme-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.theme-games {
  color: var(--aqua-glow);
  font-weight: 600;
  font-size: 0.9rem;
}

/* About Section */
.about-section {
  padding: 6rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-extended {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-icon {
  font-size: 1.5rem;
}

.highlight-text {
  color: var(--text-light);
  font-weight: 600;
}

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

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

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

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--ancient-gold);
  box-shadow: 0 10px 30px rgba(255, 217, 102, 0.1);
}

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

.feature-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--ancient-gold);
}

.feature-text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Experience Section */
.experience-section {
  padding: 6rem 0;
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.experience-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.experience-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.experience-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.exp-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.exp-icon {
  font-size: 1.2rem;
}

.exp-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 4rem 0;
  background: rgba(188, 19, 254, 0.05);
}

.disclaimer-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 5px var(--crystal-violet));
}

.footer-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--aqua-glow);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--aqua-glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
}

/* Game Page Styles */
.game-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.game-header {
  text-align: center;
  margin-bottom: 2rem;
}

.game-page-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--aqua-glow), var(--ancient-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.back-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid var(--aqua-glow);
  color: var(--aqua-glow);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.back-button:hover {
  background: var(--aqua-glow);
  color: var(--primary-bg);
  box-shadow: 0 0 15px var(--aqua-glow);
}

.game-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ancient-gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-light);
  font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aqua-glow);
  box-shadow: 0 0 10px rgba(66, 245, 185, 0.2);
}

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

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--crystal-violet);
  color: var(--crystal-violet);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-button:hover {
  background: var(--crystal-violet);
  color: white;
  box-shadow: 0 0 20px var(--crystal-violet);
}

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

.content-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.content-container h2 {
  font-family: 'Orbitron', monospace;
  color: var(--ancient-gold);
  margin-bottom: 1rem;
}

.content-container p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .welcome-content,
  .about-content,
  .experience-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .themes-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-features {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .game-iframe {
    height: 400px;
  }
  
  .games-categories {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .game-iframe {
    height: 350px;
  }
  
  .contact-form,
  .content-container {
    padding: 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .game-card {
    min-width: unset;
  }
}