/* Base Styles */
:root {
  --color-dark: #0A0A0A;
  --color-red: #ef4444;
  --color-yellow: #eab308;
  --color-blue: #3b82f6;
  --color-green: #22c55e;
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--color-dark);
  color: white;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

.min-h-screen { min-height: 100vh; }
.h-screen { height: 100vh; }
.h-full { height: 100%; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-yellow { color: var(--color-yellow); }
.text-blue { color: var(--color-blue); }
.text-green { color: var(--color-green); }
.text-red { color: var(--color-red); }

/* Animations */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
  100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.1); }
}

@keyframes scalePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideBackground {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-gradient {
  background-size: 200% auto;
  animation: gradient 8s linear infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

.animate-scale-pulse {
  animation: scalePulse 4s ease-in-out infinite;
}

.animate-slide-bg {
  animation: slideBackground 20s linear infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hero Section */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--color-red), var(--color-yellow), var(--color-red));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 8s linear infinite;
}

.trophy-icon {
  position: absolute;
  top: -1rem;
  right: -1rem;
  animation: scalePulse 4s ease-in-out infinite;
}

.slide-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #f87171, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slide-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #9ca3af;
  margin-bottom: 2rem;
}

/* Slider */
.slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide > div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease-in-out;
}

.slide:not(.active) > div {
  transform: scale(1.1);
}

/* Navigation Buttons */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.nav-button.left { left: 2rem; }
.nav-button.right { right: 2rem; }

/* Buttons */
.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.download-btn, .tournament-btn {
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  color: white;
  padding: 0.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn {
  background: linear-gradient(to right, var(--color-red), var(--color-yellow));
}

.btn-inner {
  background: black;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: background 0.3s;
}

.download-btn:hover .btn-inner {
  background: transparent;
}

.tournament-btn {
  position: relative;
  padding: 1rem 2rem;
  overflow: hidden;
}

.tournament-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-red), var(--color-yellow));
  opacity: 0.5;
  transition: opacity 0.3s;
}

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

.btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 2px;
  height: 3rem;
  background: linear-gradient(to bottom, white, transparent);
  border-radius: 999px;
}

/* Anti-Cheat Section */
.anti-cheat-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  transition: all 0.5s ease;
  text-align: center;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.feature-card svg {
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #9ca3af;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #f87171, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: #9ca3af;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.features-image {
  position: relative;
  padding: 1rem;
}

.feature-img {
  width: 100%;
  border-radius: 1rem;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.feature-img:hover {
  transform: rotate(0);
}

.image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(239, 68, 68, 0.2), rgba(234, 179, 8, 0.2));
  border-radius: 1rem;
  transform: rotate(3deg);
}

/* Download Section */
.download-section {
  padding: 5rem 0;
  position: relative;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.store-btn {
  background: white;
  color: black;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.store-btn:hover {
  background: var(--color-yellow);
  transform: scale(1.05);
}

.store-btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-text {
  text-align: left;
}

.store-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

.store-name {
  font-weight: bold;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 0;
  text-align: center;
}

.copyright {
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .nav-button {
    padding: 0.75rem;
  }
  
  .nav-button.left { left: 1rem; }
  .nav-button.right { right: 1rem; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .store-buttons {
    flex-direction: column;
  }
  
  .nav-button {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
}