/* Base Styles */
:root {
  /* Color System */
  --primary: #ff3d89; /* Electric Pink */
  --primary-light: #ff72a9;
  --primary-dark: #cc3070;
  
  --secondary: #00a4a7; /* Deep Teal */
  --secondary-light: #33c2c4;
  --secondary-dark: #007f81;
  
  --accent: #ff7b00; /* Fiery Orange */
  --accent-light: #ff9933;
  --accent-dark: #cc6200;
  
  --contrast: #8c52ff; /* Cool Violet */
  --contrast-light: #aa7fff;
  --contrast-dark: #6b3fcf;
  
  --success: #00cc8e;
  --warning: #ffcc00;
  --error: #ff3b5c;
  
  --black: #0f0f1a;
  --white: #ffffff;
  --grey-100: #f8f9fa;
  --grey-200: #e9ecef;
  --grey-300: #dee2e6;
  --grey-400: #ced4da;
  --grey-500: #adb5bd;
  --grey-600: #6c757d;
  --grey-700: #495057;
  --grey-800: #343a40;
  --grey-900: #212529;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  
  /* Typography */
  --font-family: 'Montserrat', sans-serif;
  --line-height-body: 1.5;
  --line-height-heading: 1.2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--black);
  color: var(--white);
  line-height: var(--line-height-body);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 61, 137, 0.5);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
  z-index: 9999;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-heading);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

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

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-primary:hover:before {
  left: 0;
}

.btn-play {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: linear-gradient(135deg, var(--secondary), var(--contrast));
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-play:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--contrast), var(--secondary));
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-play:hover:before {
  left: 0;
}

/* Section Styles */
section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: var(--space-xl);
}

.section-title span {
  color: var(--primary);
  position: relative;
}

.section-title span:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Header */
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: all 0.4s ease;
}

header.scrolled {
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  z-index: 1;
}

.logo-shape {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  left: -10px;
  top: -5px;
  opacity: 0.6;
  filter: blur(5px);
  animation: pulse 4s infinite alternate;
}

.logo-shape-2 {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  left: 20px;
  top: 10px;
  opacity: 0.6;
  filter: blur(5px);
  animation: pulse 5s 1s infinite alternate;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: var(--space-md);
}

.menu-item {
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
  padding: var(--space-xs);
  display: inline-block;
}

.menu-item:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.menu-item:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: all 0.3s ease;
}

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

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

.banner h1 {
  margin-bottom: var(--space-md);
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -50px;
  right: -50px;
  animation: float 18s ease-in-out 2s infinite;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  top: 40%;
  left: 60%;
  animation: float 20s ease-in-out 1s infinite;
}

/* Features Section */
.features {
  background-color: var(--grey-900);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: var(--space-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  position: relative;
}

.feature-icon:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  animation: pulse 3s infinite;
}

.icon-1:before {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.icon-2:before {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-dark));
}

.icon-3:before {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
}

.icon-4:before {
  background: linear-gradient(135deg, var(--contrast-light), var(--contrast-dark));
}

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

.about:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(140, 82, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text p {
  margin-bottom: var(--space-md);
}

.art-piece {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary), var(--accent));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.art-piece:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 Q25,0 50,50 T100,50" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
  background-size: 100px 100px;
  animation: movePattern 30s linear infinite;
}

/* Games Section */
.games {
  background-color: var(--grey-900);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

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

.game-image {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 75%;
}

.game-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.game-card h3 {
  padding: var(--space-sm) var(--space-md);
  font-size: 1.3rem;
  color: var(--white);
}

.game-card .btn-play {
  margin: 0 var(--space-md) var(--space-md);
  display: block;
  text-align: center;
}

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

.contact:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(255, 61, 137, 0.15), transparent 60%);
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

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

input, textarea {
  width: 100%;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-family);
  resize: none;
}

textarea {
  min-height: 150px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.input-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

input:focus + .input-animation, textarea:focus + .input-animation {
  width: 100%;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.info-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
}

.info-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-sm);
  position: relative;
}

.info-icon:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Age Disclaimer */
.age-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-md) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.age-disclaimer p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--grey-400);
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--grey-900);
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  align-items: center;
}

.footer-links a {
  color: var(--grey-400);
  transition: color 0.3s ease;
}

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

.divider {
  width: 1px;
  height: 20px;
  background-color: var(--grey-700);
  margin: 0 var(--space-sm);
}

.copyright {
  text-align: center;
  color: var(--grey-600);
  font-size: 0.9rem;
}