/* Base Styles */
:root {
  /* Color System */
  --primary: #ff00aa;
  --primary-light: #ff4dcb;
  --primary-dark: #b3007b;
  
  --secondary: #00c2c7;
  --secondary-light: #4deff3;
  --secondary-dark: #00898c;
  
  --accent: #ff6b00;
  --accent-light: #ff944d;
  --accent-dark: #b34a00;
  
  --purple: #9900ff;
  --purple-light: #b84dff;
  --purple-dark: #6b00b3;
  
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-300: #cccccc;
  --gray-400: #999999;
  --gray-500: #666666;
  --gray-600: #444444;
  --gray-700: #333333;
  --gray-800: #222222;
  --gray-900: #111111;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  
  /* Spacing (based on 8px system) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  
  /* Animations */
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition-slow: 0.8s;
  
  /* Layout */
  --container-width: 1200px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

/* Typography Imports */
@import url('https://cdnb.artstation.com/p/assets/images/images/071/003/129/large/christos-zabaras-zabaras-slot-games-art-01.jpg?1704221594');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  color: var(--white);
  background-color: var(--black);
  overflow-x: hidden;
}

body {
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: 1.5px;
}

h3 {
  font-size: 1.75rem;
  letter-spacing: 1px;
}

p {
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
}

a:hover {
  color: var(--primary-light);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Cursor Follower */
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 0, 170, 0.2);
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  display: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

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

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

.logo-shape {
  position: absolute;
  opacity: 0.7;
  transition: all var(--transition-medium) ease;
}

.shape1 {
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  border-radius: 50%;
  left: -15px;
  top: -5px;
  animation: float 4s ease-in-out infinite;
}

.shape2 {
  width: 20px;
  height: 20px;
  background-color: var(--secondary);
  transform: rotate(45deg);
  right: -10px;
  bottom: 0;
  animation: float 5s ease-in-out infinite 1s;
}

.shape3 {
  width: 15px;
  height: 15px;
  background-color: var(--accent);
  border-radius: 50%;
  left: 50%;
  bottom: -10px;
  animation: float 3s ease-in-out infinite 0.5s;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: var(--space-4);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  color: var(--white);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  transition: color var(--transition-fast) ease;
  overflow: hidden;
}

.nav-link:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  transform: translateX(-100%);
  transition: transform var(--transition-medium) ease;
}

.nav-link:hover:before,
.nav-link.active:before {
  transform: translateX(0);
}

.nav-link span {
  position: relative;
  z-index: 1;
}

.nav-link:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 0, 170, 0.1), rgba(0, 194, 199, 0.1));
  transform: translateY(100%);
  transition: transform var(--transition-medium) ease;
  z-index: 0;
}

.nav-link:hover:after,
.nav-link.active:after {
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 10px;
  transition: all var(--transition-fast) ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('https://images-rsg.storage.googleapis.com/wp-content/uploads/2023/08/Slot-Game-Backgrounds-Seoul-Vienne-Copenhagen-Characters-Tiger-Viking-Professor.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black overlay */
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2; /* Ensure content appears above overlay */
}


.abstract-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.7;
}

.circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  top: 20%;
  left: 10%;
  filter: blur(30px);
  animation: pulse 10s infinite alternate;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid var(--secondary);
  top: 30%;
  right: 15%;
  opacity: 0.5;
  filter: blur(20px);
  animation: float 15s ease-in-out infinite;
  transform-origin: center;
}

.square {
  width: 200px;
  height: 200px;
  background-color: var(--accent);
  bottom: 20%;
  left: 20%;
  transform: rotate(45deg);
  opacity: 0.4;
  filter: blur(40px);
  animation: rotate 20s linear infinite;
}

.rectangle {
  width: 400px;
  height: 100px;
  background-color: var(--purple);
  bottom: 15%;
  right: 10%;
  transform: skew(-20deg);
  opacity: 0.3;
  filter: blur(30px);
  animation: pulse 12s infinite alternate-reverse;
}

.line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--accent), transparent);
  height: 2px;
}

.line1 {
  width: 80%;
  top: 25%;
  left: 10%;
  animation: lineMove 15s linear infinite;
}

.line2 {
  width: 60%;
  top: 55%;
  right: 5%;
  animation: lineMove 12s linear infinite reverse;
}

.line3 {
  width: 70%;
  bottom: 15%;
  left: 15%;
  animation: lineMove 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-4);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
  color: var(--gray-200);
}

.btn-explore {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  transition: all var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-explore:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: all var(--transition-medium) ease;
  z-index: -1;
}

.btn-explore:hover {
  color: var(--white);
}

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

/* Features Section */
.features {
  padding: var(--space-8) var(--space-4);
  background-color: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.features h2 {
  text-align: center;
  margin-bottom: var(--space-6);
  position: relative;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.feature-item {
  background-color: rgba(17, 17, 17, 0.7);
  padding: var(--space-4);
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 170, 0.1), rgba(0, 194, 199, 0.1));
  opacity: 0;
  transition: opacity var(--transition-medium) ease;
  z-index: -1;
}

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

.feature-item:hover:before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: var(--space-3);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-icon {
  width: 60px;
  height: 60px;
  position: relative;
}

.icon1 {
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulse 3s infinite alternate;
}

.icon2 {
  background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s infinite;
}

.icon3 {
  background: linear-gradient(45deg, var(--accent), var(--accent-light));
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  animation: rotate 10s linear infinite;
}

.icon4 {
  background: linear-gradient(45deg, var(--purple), var(--purple-light));
  clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  animation: pulse 5s infinite alternate-reverse;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.feature-item p {
  color: var(--gray-300);
}

/* About Preview Section */
.about-preview {
  padding: var(--space-8) var(--space-4);
  background-color: var(--black);
  position: relative;
  overflow: hidden;
}

.about-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-content h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.art-piece {
  width: 100%;
  height: 300px;
  margin-bottom: var(--space-6);
  background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark), var(--accent-dark));
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  
}

.art-piece:before {
  content: '';
  position: absolute;
  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg"><path d="M216.5 101.9c33.9-27.4 74.8-44.8 118.3-50.5 44.4-5.5 90 2.1 128.5 22.8 38.5 20.6 70 53.1 90.7 92 20.7 38.9 31.1 83.5 25.4 126.9-5.6 43.4-26.4 84.2-55 117.1-28.7 32.9-64.8 58.1-104.5 74.5-39.7 16.4-82.8 24.3-124.7 16.6-41.7-7.5-81.5-29.5-110-61.5-28.5-32-46-73.2-51.5-116.7-5.5-43.5 1.1-88.3 19.5-128.3C171.1 155 195.2 118.9 216.5 101.9" fill="none" stroke="%23FF00AA" stroke-width="1.5"/></svg>') center/cover;
  animation: artMorph 20s linear infinite alternate;
}

.art-piece:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
}

.manifesto {
  max-width: 800px;
  text-align: center;
  padding: var(--space-4);
}

.manifesto p {
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  color: var(--gray-200);
}

.btn-more {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  transition: all var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: var(--space-3);
}

.btn-more:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary);
  transition: all var(--transition-medium) ease;
  z-index: -1;
}

.btn-more:hover {
  color: var(--white);
}

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

/* Games Preview Section */
.games-preview {
  padding: var(--space-8) var(--space-4);
  background-color: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.games-preview h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

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

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-medium) ease;
}

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

.game-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
  opacity: 0;
  transition: opacity var(--transition-medium) ease;
}

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

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

.game-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.btn-play {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all var(--transition-fast) ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.btn-play:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity var(--transition-fast) ease;
  z-index: -1;
}

.btn-play:hover:before {
  opacity: 1;
}

.btn-view-all {
  display: block;
  margin: var(--space-6) auto 0;
  padding: var(--space-2) var(--space-4);
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  transition: all var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: fit-content;
}

.btn-view-all:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: all var(--transition-medium) ease;
  z-index: -1;
}

.btn-view-all:hover {
  color: var(--white);
}

.btn-view-all:hover:before {
  width: 100%;
}

/* Footer */
footer {
  padding: var(--space-6) var(--space-4) var(--space-4);
  background-color: var(--gray-900);
  color: var(--gray-300);
  position: relative;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto var(--space-4);
}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
}

.footer-column {
  margin-right: var(--space-6);
  margin-bottom: var(--space-4);
}

.footer-column:last-child {
  margin-right: 0;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: var(--space-1);
}

.footer-column h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

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

.footer-column ul li {
  margin-bottom: var(--space-1);
}

.footer-column ul li a {
  color: var(--gray-300);
  transition: color var(--transition-fast) ease;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.disclaimer {
  max-width: var(--container-width);
  margin: 0 auto var(--space-4);
  padding: var(--space-3);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--primary);
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-500);
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--gray-800);
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  overflow: hidden;
  background-color: var(--black);
}

.page-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 3rem;
  text-transform: uppercase;
}

/* Legal Content */
.legal-content {
  padding: var(--space-6) var(--space-4);
  background-color: var(--gray-900);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background-color: rgba(17, 17, 17, 0.7);
  padding: var(--space-4);
  border-radius: var(--border-radius-lg);
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-top: var(--space-4);
  margin-bottom: var(--space-3);
  color: var(--white);
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section p {
  margin-bottom: var(--space-2);
  color: var(--gray-300);
}

.last-updated {
  margin-top: var(--space-4);
  font-style: italic;
  color: var(--gray-400);
}

/* Glitch Effect for Hero Text */
.glitch {
  position: relative;
  color: var(--white);
}

.glitch:before, .glitch:after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch:before {
  left: 2px;
  text-shadow: -1px 0 var(--primary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch:after {
  left: -2px;
  text-shadow: -1px 0 var(--secondary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(31px, 9999px, 94px, 0);
  }
  10% {
    clip: rect(112px, 9999px, 76px, 0);
  }
  20% {
    clip: rect(85px, 9999px, 77px, 0);
  }
  30% {
    clip: rect(137px, 9999px, 61px, 0);
  }
  40% {
    clip: rect(34px, 9999px, 14px, 0);
  }
  50% {
    clip: rect(8px, 9999px, 135px, 0);
  }
  60% {
    clip: rect(38px, 9999px, 122px, 0);
  }
  70% {
    clip: rect(69px, 9999px, 54px, 0);
  }
  80% {
    clip: rect(65px, 9999px, 115px, 0);
  }
  90% {
    clip: rect(43px, 9999px, 164px, 0);
  }
  100% {
    clip: rect(16px, 9999px, 178px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(129px, 9999px, 36px, 0);
  }
  10% {
    clip: rect(36px, 9999px, 57px, 0);
  }
  20% {
    clip: rect(6px, 9999px, 60px, 0);
  }
  30% {
    clip: rect(130px, 9999px, 166px, 0);
  }
  40% {
    clip: rect(36px, 9999px, 176px, 0);
  }
  50% {
    clip: rect(62px, 9999px, 87px, 0);
  }
  60% {
    clip: rect(24px, 9999px, 58px, 0);
  }
  70% {
    clip: rect(67px, 9999px, 122px, 0);
  }
  80% {
    clip: rect(137px, 9999px, 73px, 0);
  }
  90% {
    clip: rect(41px, 9999px, 60px, 0);
  }
  100% {
    clip: rect(51px, 9999px, 59px, 0);
  }
}

/* Keyframes Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

@keyframes lineMove {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  50% {
    border-radius: 30% 30% 70% 70% / 70% 30% 30% 70%;
  }
  75% {
    border-radius: 70% 70% 30% 30% / 30% 70% 70% 30%;
  }
}

@keyframes artMorph {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(5deg) scale(1.05);
  }
  50% {
    transform: rotate(0deg) scale(1.1);
  }
  75% {
    transform: rotate(-5deg) scale(1.05);
  }
}

/* Contact Page Styles */
.contact-section {
  padding: var(--space-6) var(--space-4);
  background-color: var(--gray-900);
}

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

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

.contact-info h2 {
  margin-bottom: var(--space-4);
}

.contact-info > p {
  margin-bottom: var(--space-4);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.info-icon {
  width: 40px;
  height: 40px;
  margin-right: var(--space-2);
  position: relative;
}

.email-icon:before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 8px;
  background-color: var(--primary);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>') no-repeat center center;
}

.support-icon:before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 8px;
  background-color: var(--secondary);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"/></svg>') no-repeat center center;
}

.hours-icon:before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 8px;
  background-color: var(--accent);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>') no-repeat center center;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-1);
}

.info-text p {
  color: var(--gray-300);
  margin-bottom: 0;
}

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

.form-abstract-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.form-shape {
  position: absolute;
  opacity: 0.1;
}

.form-shape.shape1 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary);
  top: -50px;
  right: -50px;
}

.form-shape.shape2 {
  width: 80px;
  height: 80px;
  background-color: var(--secondary);
  transform: rotate(45deg);
  bottom: 30%;
  left: -40px;
}

.form-shape.shape3 {
  width: 120px;
  height: 60px;
  background-color: var(--accent);
  border-radius: 50%;
  bottom: -30px;
  right: 20%;
}

form {
  position: relative;
  z-index: 1;
  background-color: rgba(17, 17, 17, 0.7);
  padding: var(--space-4);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}

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

label {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--gray-200);
  font-size: 0.9rem;
  transition: color var(--transition-fast) ease;
}

input, textarea {
  width: 100%;
  padding: var(--space-2);
  background-color: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: var(--border-radius-md);
  color: var(--white);
  font-family: var(--font-primary);
  resize: none;
}

input:focus, textarea:focus {
  outline: none;
}

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

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

.btn-submit {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: var(--space-2);
}

.btn-submit:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition-medium) ease;
  z-index: -1;
}

.btn-submit:hover:before {
  opacity: 1;
}

/* About Page */
.about-full {
  padding: var(--space-6) var(--space-4);
  background-color: var(--gray-900);
}

.about-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.art-manifesto {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.art-piece.large {
  flex: 1;
  min-width: 300px;
  height: auto;
  min-height: 400px;
}

.art-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manifesto-content {
  flex: 2;
  min-width: 300px;
}

.manifesto-content h2 {
  margin-bottom: var(--space-4);
}

.manifesto-content h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  font-size: 1.3rem;
}

.team-abstract {
  display: flex;
  justify-content: space-around;
  margin: var(--space-4) 0;
}

.team-abstract .abstract-shape {
  width: 80px;
  height: 80px;
  position: relative;
}

.team-abstract .abstract-shape:nth-child(1) {
  background-color: var(--primary);
  border-radius: 50% 50% 50% 0;
  animation: float 5s ease-in-out infinite;
}

.team-abstract .abstract-shape:nth-child(2) {
  background-color: var(--secondary);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate 20s linear infinite;
}

.team-abstract .abstract-shape:nth-child(3) {
  background-color: var(--accent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s infinite;
}

/* Values Section */
.values {
  padding: var(--space-8) var(--space-4);
  background-color: var(--black);
  position: relative;
  overflow: hidden;
}

.values h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

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

.value-item {
  background-color: rgba(17, 17, 17, 0.7);
  padding: var(--space-4);
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.value-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 170, 0.1), rgba(0, 194, 199, 0.1));
  opacity: 0;
  transition: opacity var(--transition-medium) ease;
  z-index: -1;
}

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

.value-item:hover:before {
  opacity: 1;
}

.value-icon {
  margin: 0 auto var(--space-3);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-icon.innovation {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary), var(--purple));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: pulse 3s infinite alternate;
}

.abstract-icon.community {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  border-radius: 50%;
  position: relative;
}

.abstract-icon.community:before, .abstract-icon.community:after {
  content: '';
  position: absolute;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  border-radius: 50%;
  animation: pulse 3s infinite alternate;
}

.abstract-icon.community:before {
  width: 20px;
  height: 20px;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.abstract-icon.community:after {
  width: 20px;
  height: 20px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.abstract-icon.integrity {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--accent), var(--secondary));
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
  animation: float 5s ease-in-out infinite;
}

.abstract-icon.inclusion {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--purple), var(--accent));
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  animation: rotate 15s linear infinite;
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.value-item p {
  color: var(--gray-300);
}

/* Age Verification Section */
.games-age-verification {
  padding: var(--space-6) var(--space-4);
  background-color: var(--black);
}

.age-verification-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4);
  background-color: rgba(17, 17, 17, 0.7);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.age-icon {
  width: 60px;
  height: 60px;
  position: relative;
}

.age-icon:before {
  content: '18+';
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
  border-radius: 50%;
}

.age-content h2 {
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
}

.age-content p {
  color: var(--gray-300);
  margin-bottom: 0;
}

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

html, body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  color: var(--white);
  background-color: var(--black);
  overflow-x: hidden;
}

body {
  position: relative;
}