/* Base Styles */
:root {
  /* Primary Colors */
  --color-primary: #ff36a2; /* Electric Pink */
  --color-secondary: #00a6a6; /* Deep Teal */
  --color-accent: #ff8f1c; /* Fiery Orange */
  --color-contrast: #7a2cff; /* Cool Violet */
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark: #111111;
  --color-light: #f9f9f9;
  
  /* Status Colors */
  --color-success: #38b000;
  --color-warning: #ffad05;
  --color-error: #e63946;
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Other */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 12px 24px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Background Elements */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.shape-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--color-primary);
}

.shape-2 {
  top: 30%;
  right: -150px;
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
}

.shape-3 {
  bottom: -150px;
  left: 10%;
  width: 350px;
  height: 350px;
  background: var(--color-accent);
}

.shape-4 {
  top: 20%;
  left: 30%;
  width: 200px;
  height: 200px;
  background: var(--color-contrast);
}

.shape-5 {
  bottom: 15%;
  right: 20%;
  width: 250px;
  height: 250px;
  background: var(--color-primary);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background-color var(--transition-medium);
}

header.scrolled {
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-shape {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-contrast));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotateLogo 10s linear infinite;
}

.logo span {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, var(--color-primary), var(--color-contrast));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  position: relative;
  font-weight: 600;
  letter-spacing: 1px;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  transition: width var(--transition-medium);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

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

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-white);
  transition: var(--transition-fast);
}

/* Main Section Styles */
main {
  padding-top: 80px;
}

section {
  padding: var(--space-xxl) var(--space-lg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xl);
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  border-radius: var(--border-radius-sm);
}

/* Banner Section */
.banner {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), 
              url('https://images.pexels.com/photos/3165335/pexels-photo-3165335.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: grayscale(30%) contrast(120%);
}

.banner-content {
  max-width: 800px;
  padding: var(--space-md);
  z-index: 1;
}

.banner h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.banner p {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
  background-color: rgba(17, 17, 17, 0.8);
  position: relative;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-dark);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.feature p {
  color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: var(--space-xl);
}

.about-text {
  flex: 1;
}

.about-text .section-title {
  text-align: left;
  left: 0;
  transform: none;
}

.manifesto {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-art {
  flex: 1;
  min-height: 400px;
  position: relative;
}

.art-piece {
  width: 100%;
  height: 100%;
  background: url('https://images.pexels.com/photos/3109807/pexels-photo-3109807.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.art-piece::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 54, 162, 0.3), rgba(122, 44, 255, 0.3));
  mix-blend-mode: color;
}

/* Games Section */
.games {
  background-color: rgba(17, 17, 17, 0.9);
  position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.game-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.game-info {
  padding: var(--space-md);
  text-align: center;
}

.game-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: var(--space-md);
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  font-family: var(--font-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 54, 162, 0.2);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.form-group textarea + label {
  top: 16px;
  transform: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background-color: var(--color-dark);
  padding: 0 4px;
  color: var(--color-primary);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item p {
  font-size: 1.2rem;
  color: var(--color-white);
}

/* Disclaimer Section */
.disclaimer {
  background-color: rgba(0, 0, 0, 0.7);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
}

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

.disclaimer h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.disclaimer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: var(--color-black);
  padding: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-fast);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-contrast));
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(255, 54, 162, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 166, 166, 0.3);
}

.btn-play {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(255, 143, 28, 0.3);
}

.btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 143, 28, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .banner h1 {
    font-size: 3.2rem;
  }
  
  .banner p {
    font-size: 1.3rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-art {
    width: 100%;
  }
}

@media (max-width: 768px) {
  header {
    padding: var(--space-sm);
  }
  
  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transition: left var(--transition-medium);
    z-index: 1000;
  }
  
  nav.active ul {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  nav.active .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  nav.active .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  nav.active .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .banner h1 {
    font-size: 2.5rem;
  }
  
  .banner p {
    font-size: 1.1rem;
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
}