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

:root {
  --primary-bg: #000000;
  --secondary-bg: rgba(255, 255, 255, 0.03);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --holographic-1: #00ff88;
  --holographic-2: #00ccff;
  --holographic-3: #8800ff;
  --holographic-4: #ff0088;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 2px, rgba(255, 255, 255, 0.03) 3px),
    radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 204, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(136, 0, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2), var(--holographic-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}

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

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--holographic-1), var(--holographic-2));
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--holographic-1);
}

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

main {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(0, 204, 255, 0.1) 0%, rgba(0, 0, 0, 0.95) 80%),
    #000000;
  background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
  background-position: center center;
  border: 3px solid rgba(0, 255, 136, 0.3);
  box-shadow: 
    inset 0 0 100px rgba(0, 255, 136, 0.05),
    inset 0 0 50px rgba(0, 204, 255, 0.05),
    0 0 20px rgba(0, 255, 136, 0.2);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 2px,
      rgba(0, 255, 136, 0.03) 2px,
      rgba(0, 255, 136, 0.03) 4px
    );
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  pointer-events: none;
  z-index: 1;
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--holographic-1);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--holographic-1);
  animation: float-particle 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-duration: 7s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-duration: 9s; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-duration: 6s; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-duration: 8s; animation-delay: 0.5s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-duration: 7.5s; animation-delay: 1.5s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-duration: 8.5s; animation-delay: 0.8s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-duration: 7s; animation-delay: 2.2s; }
.particle:nth-child(8) { left: 80%; top: 25%; animation-duration: 9s; animation-delay: 1.8s; }
.particle:nth-child(9) { left: 90%; top: 75%; animation-duration: 6.5s; animation-delay: 1.2s; }
.particle:nth-child(10) { left: 15%; top: 90%; animation-duration: 8s; animation-delay: 2.5s; }

@keyframes float-particle {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% { 
    transform: translate(15px, -20px) scale(1.2);
    opacity: 1;
  }
  50% { 
    transform: translate(-10px, -40px) scale(0.8);
    opacity: 0.5;
  }
  75% { 
    transform: translate(20px, -20px) scale(1.1);
    opacity: 0.9;
  }
}

.hero-matrix {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.matrix-line {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--holographic-2), transparent);
  box-shadow: 0 0 10px var(--holographic-2);
  animation: fall-matrix 4s linear infinite;
}

.matrix-line:nth-child(1) { left: 5%; animation-duration: 3s; animation-delay: 0s; }
.matrix-line:nth-child(2) { left: 15%; animation-duration: 4s; animation-delay: 0.5s; }
.matrix-line:nth-child(3) { left: 25%; animation-duration: 3.5s; animation-delay: 1s; }
.matrix-line:nth-child(4) { left: 35%; animation-duration: 4.5s; animation-delay: 0.3s; }
.matrix-line:nth-child(5) { left: 45%; animation-duration: 3.8s; animation-delay: 1.2s; }
.matrix-line:nth-child(6) { left: 55%; animation-duration: 4.2s; animation-delay: 0.7s; }
.matrix-line:nth-child(7) { left: 65%; animation-duration: 3.3s; animation-delay: 1.5s; }
.matrix-line:nth-child(8) { left: 75%; animation-duration: 4.8s; animation-delay: 0.2s; }
.matrix-line:nth-child(9) { left: 85%; animation-duration: 3.6s; animation-delay: 1.8s; }
.matrix-line:nth-child(10) { left: 95%; animation-duration: 4.1s; animation-delay: 0.9s; }

@keyframes fall-matrix {
  0% {
    top: -100px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

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

.shape {
  position: absolute;
  border: 2px solid var(--holographic-3);
  animation: morph-shape 6s ease-in-out infinite;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 15%;
  top: 25%;
  animation-delay: 0s;
  box-shadow: 0 0 20px var(--holographic-3);
}

.shape:nth-child(2) {
  width: 60px;
  height: 60px;
  right: 20%;
  top: 60%;
  animation-delay: 1s;
  box-shadow: 0 0 20px var(--holographic-1);
  border-color: var(--holographic-1);
}

.shape:nth-child(3) {
  width: 100px;
  height: 100px;
  left: 60%;
  top: 15%;
  animation-delay: 2s;
  box-shadow: 0 0 20px var(--holographic-2);
  border-color: var(--holographic-2);
}

@keyframes morph-shape {
  0%, 100% {
    border-radius: 30%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 50%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 10%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 40%;
    transform: rotate(270deg) scale(1.05);
  }
}

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

.wave {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid var(--holographic-1);
  border-radius: 50%;
  opacity: 0;
  animation: ripple-wave 4s ease-out infinite;
}

.wave:nth-child(1) {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.wave:nth-child(2) {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1.3s;
}

.wave:nth-child(3) {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 2.6s;
}

@keyframes ripple-wave {
  0% {
    width: 50px;
    height: 50px;
    opacity: 1;
  }
  100% {
    width: 500px;
    height: 500px;
    opacity: 0;
  }
}

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

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--holographic-1);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--holographic-1);
  animation: sparkle-twinkle 2s ease-in-out infinite;
}

.sparkle:nth-child(odd) {
  animation-duration: 1.5s;
}

.sparkle:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
.sparkle:nth-child(2) { left: 40%; top: 20%; animation-delay: 0.3s; background: var(--holographic-2); }
.sparkle:nth-child(3) { left: 60%; top: 40%; animation-delay: 0.6s; background: var(--holographic-3); }
.sparkle:nth-child(4) { left: 80%; top: 60%; animation-delay: 0.9s; }
.sparkle:nth-child(5) { left: 30%; top: 70%; animation-delay: 1.2s; background: var(--holographic-2); }
.sparkle:nth-child(6) { left: 70%; top: 80%; animation-delay: 1.5s; background: var(--holographic-3); }
.sparkle:nth-child(7) { left: 50%; top: 15%; animation-delay: 0.4s; }
.sparkle:nth-child(8) { left: 15%; top: 85%; animation-delay: 1.1s; background: var(--holographic-2); }

@keyframes sparkle-twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.stat-number {
  animation: count-up 2s ease-out forwards, number-glow 3s ease-in-out infinite;
}

@keyframes count-up {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes number-glow {
  0%, 100% {
    text-shadow: 0 0 20px var(--holographic-1);
  }
  50% {
    text-shadow: 0 0 40px var(--holographic-1), 0 0 60px var(--holographic-2);
  }
}

.section-title {
  animation: title-reveal 1s ease-out;
}

@keyframes title-reveal {
  0% {
    opacity: 0;
    transform: translateY(-30px);
    letter-spacing: 10px;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: normal;
  }
}

.section-subtitle {
  animation: subtitle-fade 1s ease-out 0.3s backwards;
}

@keyframes subtitle-fade {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-card {
  animation: card-float 4s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:nth-child(1) { animation-delay: 0s; }
.glass-card:nth-child(2) { animation-delay: 0.5s; }
.glass-card:nth-child(3) { animation-delay: 1s; }
.glass-card:nth-child(4) { animation-delay: 1.5s; }

@keyframes card-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.glass-card:hover {
  transform: translateY(-15px) scale(1.05);
  border-color: var(--holographic-1);
  box-shadow: 
    0 0 40px rgba(0, 255, 136, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-card:hover .feature-icon {
  animation: icon-spin 1s ease-in-out;
}

@keyframes icon-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

.feature-icon::before {
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% {
    filter: blur(1px) brightness(1);
  }
  50% {
    filter: blur(2px) brightness(1.5);
  }
}

.cta-button {
  position: relative;
  animation: button-breathe 2s ease-in-out infinite;
  overflow: visible;
}

@keyframes button-breathe {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 204, 255, 0.4);
  }
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.6s;
}

.cta-button:hover::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 0;
  transition: all 0.8s;
}

.cta-button:active {
  transform: scale(0.95);
}

.course-image {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.course-image::before {
  content: '';
  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.7s;
}

.glass-card:hover .course-image::before {
  left: 100%;
}

.glass-card:hover .course-image {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.hero-content h1 {
  animation: hero-title-entry 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes hero-title-entry {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.hero-content p {
  animation: hero-text-entry 1s ease-out 0.4s backwards;
}

@keyframes hero-text-entry {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content .cta-button {
  animation: hero-button-entry 1s ease-out 0.8s backwards, button-breathe 2s ease-in-out 1.8s infinite;
}

@keyframes hero-button-entry {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.1) 50%, transparent 70%);
  animation: stat-shine 3s ease-in-out infinite;
}

@keyframes stat-shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.feature-text {
  animation: text-fade-in 0.8s ease-out 0.2s backwards;
}

@keyframes text-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.corner-bracket {
  animation: bracket-pulse 3s ease-in-out infinite;
}

.corner-bracket.top-left { animation-delay: 0s; }
.corner-bracket.top-right { animation-delay: 0.75s; }
.corner-bracket.bottom-left { animation-delay: 1.5s; }
.corner-bracket.bottom-right { animation-delay: 2.25s; }

@keyframes bracket-pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    border-color: var(--holographic-1);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 1), 0 0 50px rgba(0, 204, 255, 0.5);
    border-color: var(--holographic-2);
  }
}

.mini-game-section {
  max-width: 1100px;
  min-height: 80vh;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid var(--holographic-1);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1200px) {
  .mini-game-section {
    margin: 3rem 1rem;
    min-height: 75vh;
  }
}

.game-container {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.game-title {
  color: var(--holographic-1);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--holographic-1);
  font-weight: 800;
}

.game-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.game-instructions {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--holographic-1);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.game-instructions strong {
  color: var(--holographic-1);
  text-shadow: 0 0 10px var(--holographic-1);
}

.rotation-game-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.game-panel {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border: 2px solid var(--glass-border);
  border-radius: 16px;
}

.game-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.shape-viewport {
  width: 100%;
  height: 35vh;
  min-height: 250px;
  max-height: 400px;
  background: 
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    rgba(0, 0, 0, 0.8);
  background-size: 20px 20px, 20px 20px;
  border: 2px solid var(--holographic-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.shape-3d {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.shape-face {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--holographic-1);
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.shape-face.front {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.1));
  transform: translateZ(50px);
}

.shape-face.front::before {
  content: 'F';
}

.shape-face.back {
  background: linear-gradient(135deg, rgba(0, 204, 255, 0.3), rgba(0, 204, 255, 0.1));
  transform: translateZ(-50px) rotateY(180deg);
}

.shape-face.back::before {
  content: 'B';
}

.shape-face.left {
  background: linear-gradient(135deg, rgba(136, 0, 255, 0.3), rgba(136, 0, 255, 0.1));
  transform: translateX(-50px) rotateY(-90deg);
}

.shape-face.left::before {
  content: 'L';
}

.shape-face.right {
  background: linear-gradient(135deg, rgba(255, 0, 136, 0.3), rgba(255, 0, 136, 0.1));
  transform: translateX(50px) rotateY(90deg);
}

.shape-face.right::before {
  content: 'R';
}

.shape-face.top {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1));
  transform: translateY(-50px) rotateX(90deg);
}

.shape-face.top::before {
  content: 'T';
}

.shape-face.bottom {
  background: linear-gradient(135deg, rgba(255, 100, 0, 0.3), rgba(255, 100, 0, 0.1));
  transform: translateY(50px) rotateX(-90deg);
}

.shape-face.bottom::before {
  content: 'Bo';
  font-size: 1.5rem;
}

.rotation-controls {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.rotate-btn {
  flex: 1;
  min-height: 50px;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 204, 255, 0.2));
  border: 3px solid var(--holographic-1);
  color: var(--text-primary);
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
}

.rotate-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.rotate-btn:hover::before {
  width: 200px;
  height: 200px;
}

.rotate-btn:hover {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.5), rgba(0, 204, 255, 0.4));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.7);
}

.rotate-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 40px rgba(0, 255, 136, 1);
}

.shape-3d.target {
  pointer-events: none;
}

.rotation-match-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.rotation-match-indicator.matched {
  background: #00ff88;
  border-color: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: indicator-pulse 1s ease-in-out infinite;
}

@keyframes indicator-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}


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

.game-stat {
  padding: 1.5rem 1rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--holographic-1);
  border-radius: 10px;
  text-align: center;
}

.game-stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.game-stat-value {
  color: var(--holographic-1);
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 0 20px var(--holographic-1);
  display: block;
}

@media (max-width: 600px) {
  .game-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


.game-button {
  margin-top: 1.5rem;
  min-height: 55px;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, var(--holographic-2), var(--holographic-3));
  color: #fff;
  border: 3px solid var(--holographic-2);
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0, 204, 255, 0.6);
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
}

.game-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.game-button:hover::before {
  width: 300px;
  height: 300px;
}

.game-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(0, 204, 255, 1);
}

.game-button:active {
  transform: scale(0.95);
}

.game-over-message {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(136, 0, 255, 0.2);
  border: 1px solid var(--holographic-3);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}


@media (max-width: 992px) {
  .mini-game-section {
    min-height: auto;
    padding: 2.5rem 2rem;
  }
  
  .rotation-game-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .game-panel {
    padding: 2rem;
  }
  
  .shape-viewport {
    height: 32vh;
    min-height: 280px;
    max-height: 350px;
  }
}

@media (max-width: 768px) {
  .mini-game-section {
    padding: 2rem 1.5rem;
    margin: 3rem 1rem;
    min-height: 85vh;
  }
  
  .game-title {
    font-size: 1.8rem;
  }
  
  .game-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .rotation-game-layout {
    gap: 2rem;
  }
  
  .game-panel {
    padding: 1.5rem;
  }
  
  .shape-viewport {
    height: 28vh;
    min-height: 240px;
    max-height: 300px;
  }
  
  .rotation-controls {
    gap: 0.5rem;
  }
  
  .rotate-btn {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
  
  .game-stats {
    gap: 1rem;
  }
  
  .game-stat {
    padding: 1.2rem;
  }
  
  .game-stat-value {
    font-size: 1.8rem;
  }
  
  .game-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .mini-game-section {
    padding: 1.5rem 1rem;
    margin: 2rem 0.5rem;
    min-height: 90vh;
  }
  
  .game-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .game-description {
    font-size: 0.9rem;
  }
  
  .game-instructions {
    padding: 0.8rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .shape-viewport {
    height: 25vh;
    min-height: 200px;
    max-height: 280px;
  }
  
  .shape-3d {
    width: 80px;
    height: 80px;
  }
  
  .shape-face {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
  }
  
  .shape-face.front { transform: translateZ(40px); }
  .shape-face.back { transform: translateZ(-40px) rotateY(180deg); }
  .shape-face.left { transform: translateX(-40px) rotateY(-90deg); }
  .shape-face.right { transform: translateX(40px) rotateY(90deg); }
  .shape-face.top { transform: translateY(-40px) rotateX(90deg); }
  .shape-face.bottom { transform: translateY(40px) rotateX(-90deg); }
  
  .rotation-controls {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .rotate-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
  }
  
  .game-stats {
    gap: 0.8rem;
  }
  
  .game-stat {
    padding: 1rem;
  }
  
  .game-button {
    width: 100%;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .mini-game-section {
    padding: 1.5rem 0.8rem;
    border-width: 2px;
    min-height: 92vh;
  }
  
  .game-title {
    font-size: 1.3rem;
  }
  
  .game-description {
    font-size: 0.85rem;
  }
  
  .game-panel {
    padding: 1rem;
  }
  
  .game-panel h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .shape-viewport {
    height: 22vh;
    min-height: 180px;
    max-height: 240px;
  }
  
  .shape-3d {
    width: 70px;
    height: 70px;
  }
  
  .shape-face {
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
    border-width: 1.5px;
  }
  
  .shape-face.front { transform: translateZ(35px); }
  .shape-face.back { transform: translateZ(-35px) rotateY(180deg); }
  .shape-face.left { transform: translateX(-35px) rotateY(-90deg); }
  .shape-face.right { transform: translateX(35px) rotateY(90deg); }
  .shape-face.top { transform: translateY(-35px) rotateX(90deg); }
  .shape-face.bottom { transform: translateY(35px) rotateX(-90deg); }
  
  .rotate-btn {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .game-stat-value {
    font-size: 1.5rem;
  }
  
  .game-stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .mini-game-section {
    min-height: 95vh;
  }
  
  .game-title {
    font-size: 1.2rem;
  }
  
  .game-description {
    font-size: 0.8rem;
  }
  
  .game-panel {
    padding: 0.8rem;
  }
  
  .shape-viewport {
    height: 20vh;
    min-height: 160px;
    max-height: 200px;
  }
  
  .shape-3d {
    width: 60px;
    height: 60px;
  }
  
  .shape-face {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .shape-face.front { transform: translateZ(30px); }
  .shape-face.back { transform: translateZ(-30px) rotateY(180deg); }
  .shape-face.left { transform: translateX(-30px) rotateY(-90deg); }
  .shape-face.right { transform: translateX(30px) rotateY(90deg); }
  .shape-face.top { transform: translateY(-30px) rotateX(90deg); }
  .shape-face.bottom { transform: translateY(30px) rotateX(-90deg); }
  
  .rotate-btn {
    padding: 0.9rem;
    font-size: 0.95rem;
  }
  
  .game-button {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  .mini-game-section {
    padding: 1rem 0.5rem;
    margin: 2rem 0.3rem;
    min-height: 98vh;
  }
  
  .game-title {
    font-size: 1.1rem;
  }
  
  .game-description {
    font-size: 0.75rem;
  }
  
  .game-instructions {
    font-size: 0.7rem;
    padding: 0.6rem;
    line-height: 1.4;
  }
  
  .game-panel {
    padding: 0.6rem;
  }
  
  .game-panel h3 {
    font-size: 0.9rem;
  }
  
  .shape-viewport {
    height: 18vh;
    min-height: 140px;
    max-height: 180px;
  }
  
  .shape-3d {
    width: 50px;
    height: 50px;
  }
  
  .shape-face {
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
    border-width: 1px;
  }
  
  .shape-face.front { transform: translateZ(25px); }
  .shape-face.back { transform: translateZ(-25px) rotateY(180deg); }
  .shape-face.left { transform: translateX(-25px) rotateY(-90deg); }
  .shape-face.right { transform: translateX(25px) rotateY(90deg); }
  .shape-face.top { transform: translateY(-25px) rotateX(90deg); }
  .shape-face.bottom { transform: translateY(25px) rotateX(-90deg); }
  
  .rotate-btn {
    padding: 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
  }
  
  .game-stat {
    padding: 0.8rem;
  }
  
  .game-stat-value {
    font-size: 1.3rem;
  }
  
  .game-stat-label {
    font-size: 0.7rem;
  }
  
  .game-button {
    padding: 0.9rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .rotation-match-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.screen-ui {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.corner-bracket {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--holographic-1);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.corner-bracket.top-left {
  top: 30px;
  left: 30px;
  border-right: none;
  border-bottom: none;
}

.corner-bracket.top-right {
  top: 30px;
  right: 30px;
  border-left: none;
  border-bottom: none;
}

.corner-bracket.bottom-left {
  bottom: 30px;
  left: 30px;
  border-right: none;
  border-top: none;
}

.corner-bracket.bottom-right {
  bottom: 30px;
  right: 30px;
  border-left: none;
  border-top: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 3rem;
  border: 1px solid rgba(0, 255, 136, 0.3);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 0 30px rgba(0, 255, 136, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-content::before,
.hero-content::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--holographic-2);
}

.hero-content::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.hero-content::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--holographic-1) 50%, var(--holographic-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  min-height: 50px;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  touch-action: manipulation;
  user-select: none;
  text-align: center;
  white-space: nowrap;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .button-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .button-group .cta-button {
    width: 100%;
    margin: 0;
  }
}

.cta-button:hover {
  transform: scale(1.05);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
}

.glass-card > *:last-child {
  margin-top: auto;
}

.button-wrapper {
  margin-top: auto;
  padding-top: 1.5rem;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  transition: left 0.5s;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--holographic-1);
}

.glass-card:hover::before {
  left: 100%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, var(--holographic-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 320px) {
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--holographic-1);
  border-radius: 12px;
  position: relative;
  box-shadow: 
    0 0 20px rgba(0, 255, 136, 0.5),
    inset 0 0 20px rgba(0, 255, 136, 0.2);
}

.feature-icon::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
  box-shadow: 0 0 15px currentColor;
  filter: blur(1px);
}

.feature-icon.icon-creative::before {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--holographic-1);
}

.feature-icon.icon-tools::before {
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
  background: var(--holographic-2);
}

.feature-icon.icon-career::before {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: var(--holographic-3);
}

.feature-icon.icon-team::before {
  clip-path: circle(40%);
  background: var(--holographic-1);
}

.feature-icon.icon-practice::before {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: var(--holographic-2);
}

.feature-icon.icon-flexible::before {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--holographic-1);
}

.feature-icon.icon-community::before {
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: var(--holographic-3);
}

.feature-icon.icon-education::before {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--holographic-1);
}

.feature-icon.icon-innovation::before {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: var(--holographic-2);
}

.feature-icon.icon-handshake::before {
  clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
  background: var(--holographic-1);
}

.feature-icon.icon-corporate::before {
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
  background: var(--holographic-3);
}

.feature-icon.icon-person::before {
  clip-path: circle(35%);
  background: var(--holographic-2);
}

.feature-icon.icon-mentor1::before,
.feature-icon.icon-mentor2::before,
.feature-icon.icon-mentor3::before,
.feature-icon.icon-mentor4::before {
  clip-path: polygon(50% 15%, 65% 35%, 85% 35%, 70% 50%, 75% 75%, 50% 65%, 25% 75%, 30% 50%, 15% 35%, 35% 35%);
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
}

.feature-icon.icon-mentor2::before {
  background: linear-gradient(135deg, var(--holographic-2), var(--holographic-3));
}

.feature-icon.icon-mentor3::before {
  background: linear-gradient(135deg, var(--holographic-3), var(--holographic-1));
}

.feature-icon.icon-mentor4::before {
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-4));
}

.interactive-timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--holographic-1), var(--holographic-2), var(--holographic-3));
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--holographic-1);
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }
.timeline-item:nth-child(5) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--holographic-1);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s;
}

.timeline-content:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
  transform: scale(1.02);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 55%;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--holographic-1);
  border: 3px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--holographic-1);
  z-index: 2;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 20px var(--holographic-1); }
  50% { box-shadow: 0 0 40px var(--holographic-1), 0 0 60px var(--holographic-1); }
}

.timeline-year {
  color: var(--holographic-1);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.skills-radar {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--holographic-1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.skills-radar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: radar-sweep 4s linear infinite;
}

@keyframes radar-sweep {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.skill-bar-container {
  margin: 2rem 0;
  position: relative;
  z-index: 1;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.skill-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--holographic-1), var(--holographic-2));
  border-radius: 10px;
  box-shadow: 0 0 15px var(--holographic-1);
  transition: width 2s ease-out;
  width: 0;
}

.skill-bar-container:hover .skill-bar-fill {
  filter: brightness(1.3);
}

.interactive-grid-bg {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 4rem 2rem;
  background: 
    linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  border: 2px solid var(--holographic-1);
  border-radius: 20px;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--holographic-2);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-element:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 2s; }
.floating-element:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.text-glow {
  color: var(--holographic-1);
  text-shadow: 0 0 20px var(--holographic-1);
  animation: text-glow-pulse 3s ease-in-out infinite;
}

@keyframes text-glow-pulse {
  0%, 100% { text-shadow: 0 0 20px var(--holographic-1); }
  50% { text-shadow: 0 0 40px var(--holographic-1), 0 0 60px var(--holographic-2); }
}

.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 3rem auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
  opacity: 0;
  animation: slideIn 0.8s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideIn {
  to {
    opacity: 1;
  }
}

.process-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 3px solid var(--holographic-1);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.process-arrow {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--holographic-1);
  font-size: 2rem;
  animation: arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.7; }
  50% { transform: translateY(-50%) translateX(5px); opacity: 1; }
}

.process-step:last-child .process-arrow {
  display: none;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
  display: block;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

.form-container {
  max-width: 600px;
  margin: 3rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--holographic-1);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-label a {
  color: var(--holographic-1);
  text-decoration: none;
}

.submit-button {
  width: 100%;
  min-height: 55px;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
  width: 300px;
  height: 300px;
}

.submit-button:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.submit-button:active {
  transform: scale(0.98);
}

.contact-decoration {
  text-align: center;
  margin: 4rem 0;
  position: relative;
}

.contact-decoration::before,
.contact-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--holographic-1), transparent);
}

.contact-decoration::before {
  left: 0;
}

.contact-decoration::after {
  right: 0;
}

.contact-decoration-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 2px solid var(--holographic-1);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  animation: rotate-decoration 10s linear infinite;
}

@keyframes rotate-decoration {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contact-decoration-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--holographic-1);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 0 10px var(--holographic-1);
}

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--holographic-1);
  box-shadow: 
    0 0 30px rgba(0, 255, 136, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(0, 255, 136, 0.1) 50%, transparent 52%);
  pointer-events: none;
  z-index: 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) saturate(0.8);
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--holographic-1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.map-overlay h4 {
  color: var(--holographic-1);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.map-overlay p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .map-container {
    height: 350px;
    border-radius: 16px;
  }
  
  .map-overlay {
    position: static;
    margin-bottom: 1rem;
    border-radius: 12px;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
}

.contact-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  transform: rotate(0deg);
  transition: transform 0.6s;
}

.contact-item:hover::before {
  transform: rotate(180deg);
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--holographic-1);
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

.contact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--holographic-1);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  z-index: 1;
}

.contact-icon::before {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  background: var(--holographic-1);
  box-shadow: 0 0 15px var(--holographic-1);
  filter: blur(1px);
}

.contact-icon.icon-location::before {
  clip-path: polygon(50% 0%, 80% 30%, 80% 60%, 50% 100%, 20% 60%, 20% 30%);
}

.contact-icon.icon-phone::before {
  clip-path: polygon(20% 10%, 40% 10%, 50% 20%, 60% 10%, 80% 10%, 90% 20%, 90% 80%, 80% 90%, 20% 90%, 10% 80%, 10% 20%);
  border-radius: 30%;
}

.contact-icon.icon-email::before {
  clip-path: polygon(0% 20%, 50% 60%, 100% 20%, 100% 80%, 0% 80%);
}

.contact-icon.icon-time::before {
  clip-path: circle(50%);
}

.contact-item h3 {
  color: var(--holographic-1);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.form-section {
  position: relative;
}

.contact-form {
  position: sticky;
  top: 90px;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    position: relative;
    top: 0;
  }
  
  .contact-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--holographic-1);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.privacy-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  z-index: 10000;
  display: none;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-popup.active {
  display: block;
}

.privacy-popup h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.privacy-popup p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-buttons {
  display: flex;
  gap: 1rem;
}

.privacy-button {
  flex: 1;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s;
  touch-action: manipulation;
  user-select: none;
}

.privacy-accept {
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
  color: #000;
}

.privacy-decline {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.privacy-button:hover {
  transform: scale(1.02);
}

.thank-you-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  position: relative;
  z-index: 10;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--holographic-1), var(--holographic-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
}

.policy-content h1 {
  margin-bottom: 1rem;
}

.policy-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--holographic-1);
  font-size: 1.8rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.policy-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1rem;
}

.policy-content ul {
  margin: 1.5rem 0 1.5rem 2.5rem;
  color: var(--text-secondary);
  list-style-type: disc;
}

.policy-content li {
  margin-bottom: 0.75rem;
  line-height: 1.9;
  padding-left: 0.5rem;
}

.policy-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.policy-content a {
  color: var(--holographic-1);
  text-decoration: underline;
  transition: color 0.3s;
}

.policy-content a:hover {
  color: var(--holographic-2);
}

@media (max-width: 768px) {
  .policy-content {
    padding: 2rem 1.5rem;
  }
  
  .policy-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
  }
  
  .policy-content h3 {
    font-size: 1.2rem;
  }
  
  .policy-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }
  
  .policy-content ul {
    margin-left: 1.5rem;
  }
  
  .policy-content li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .policy-content {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  
  .policy-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .policy-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
  
  .policy-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }
  
  .policy-content ul {
    margin-left: 1.2rem;
  }
  
  .policy-content li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
}

@media (max-width: 320px) {
  .policy-content {
    padding: 1rem 0.75rem;
  }
  
  .policy-content h2 {
    font-size: 1.2rem;
    word-wrap: break-word;
  }
  
  .policy-content h3 {
    font-size: 1rem;
  }
  
  .policy-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  .policy-content ul {
    margin-left: 1rem;
  }
  
  .policy-content li {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 2px solid var(--holographic-1);
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu li {
    padding: 0.5rem 2rem;
  }

  .hero {
    border-width: 2px;
  }

  .timeline-line {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 30px;
  }

  .process-flow {
    flex-direction: column;
  }

  .process-arrow {
    display: none;
  }

  .hero::after {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .corner-bracket {
    width: 40px;
    height: 40px;
  }

  .corner-bracket.top-left {
    top: 20px;
    left: 20px;
  }

  .corner-bracket.top-right {
    top: 20px;
    right: 20px;
  }

  .corner-bracket.bottom-left {
    bottom: 20px;
    left: 20px;
  }

  .corner-bracket.bottom-right {
    bottom: 20px;
    right: 20px;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .privacy-popup {
    left: 10px;
    right: 10px;
  }
  
  .cta-button[style*="margin-right"] {
    margin-right: 0 !important;
    margin-bottom: 1rem;
    display: block;
    width: 100%;
  }
  
  .cta-button + .cta-button {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .corner-bracket {
    width: 30px;
    height: 30px;
  }

  .corner-bracket.top-left,
  .corner-bracket.top-right {
    top: 15px;
  }

  .corner-bracket.bottom-left,
  .corner-bracket.bottom-right {
    bottom: 15px;
  }

  .corner-bracket.top-left,
  .corner-bracket.bottom-left {
    left: 15px;
  }

  .corner-bracket.top-right,
  .corner-bracket.bottom-right {
    right: 15px;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    min-height: 48px;
  }
  
  .submit-button {
    padding: 1.1rem;
    font-size: 1rem;
    min-height: 52px;
  }
  
  .privacy-button {
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    min-height: 46px;
  }
  
  .game-button {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    min-height: 50px;
  }

  section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .glass-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 320px) {
  .corner-bracket {
    width: 25px;
    height: 25px;
  }

  .corner-bracket.top-left,
  .corner-bracket.top-right {
    top: 10px;
  }

  .corner-bracket.bottom-left,
  .corner-bracket.bottom-right {
    bottom: 10px;
  }

  .corner-bracket.top-left,
  .corner-bracket.bottom-left {
    left: 10px;
  }

  .corner-bracket.top-right,
  .corner-bracket.bottom-right {
    right: 10px;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    min-height: 44px;
    white-space: normal;
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .submit-button {
    padding: 1rem;
    font-size: 0.9rem;
    min-height: 48px;
  }
  
  .privacy-button {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
    min-height: 42px;
  }
  
  .game-button {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    min-height: 46px;
  }
}

