* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #8b5cf6; --primary-light: #a78bfa; --secondary: #06b6d4;
  --accent: #f472b6; --dark: #0a0a0f; --dark-light: #12121a;
  --dark-card: #1a1a2e; --text: #e5e7eb; --text-light: #9ca3af;
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --gradient-2: linear-gradient(135deg, #f472b6 0%, #8b5cf6 100%);
}
body { font-family: 'Rajdhani', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; line-height: 1.6; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; background: transparent; transition: all 0.3s ease; }
.navbar.scrolled { background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(139, 92, 246, 0.1); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 50px; height: 50px; border-radius: 12px; background: var(--gradient-1); }
.logo span { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; position: relative; }
.nav-links a:hover { color: var(--primary-light); }
.download-btn { background: var(--gradient-1); color: white; padding: 12px 28px; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 5% 60px; position: relative; overflow: hidden; }

/* Stars Background */
.stars { position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow: hidden; z-index: -1; }
.star { position: absolute; width: 2px; height: 2px; background: white; border-radius: 50%; animation: twinkle 3s infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Floating Orbs */
.orbs { position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow: hidden; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: float 20s infinite ease-in-out; }
.orb-1 { width: 400px; height: 400px; background: rgba(139, 92, 246, 0.3); top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(6, 182, 212, 0.3); bottom: -50px; left: -50px; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: rgba(244, 114, 182, 0.3); top: 50%; left: 50%; animation-delay: -10s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(50px, -50px); } 66% { transform: translate(-30px, 30px); } }

.hero-content { max-width: 1200px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.hero-text h1 span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text .subtitle { font-size: 1.4rem; color: var(--text-light); margin-bottom: 30px; }
.hero-text .tagline { font-size: 1.1rem; color: var(--primary-light); margin-bottom: 40px; font-weight: 500; }
.cta-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.cta-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px; border-radius: 50px; font-size: 1.1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; }
.cta-btn.primary { background: var(--gradient-1); color: white; }
.cta-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5); }
.cta-btn.secondary { background: transparent; color: white; border: 2px solid var(--primary); }
.cta-btn.secondary:hover { background: rgba(139, 92, 246, 0.1); border-color: var(--primary-light); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-mockup { position: relative; width: 280px; height: 560px; background: var(--dark-card); border-radius: 40px; padding: 12px; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), 0 25px 80px rgba(0, 0, 0, 0.5); }
.phone-screen { width: 100%; height: 100%; background: var(--dark-light); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.phone-screen::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent); }

.game-ball { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-2); box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), inset 0 -10px 20px rgba(0, 0, 0, 0.3); animation: bounce 2s infinite ease-in-out; }
@keyframes bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.1); } }
.trajectory { position: absolute; width: 200px; height: 200px; border: 2px dashed rgba(139, 92, 246, 0.3); border-radius: 50%; animation: rotate 10s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Features Section */
.features { padding: 100px 5%; background: var(--dark-light); position: relative; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }
.section-header h2 span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { color: var(--text-light); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.feature-card { background: var(--dark-card); padding: 40px 30px; border-radius: 20px; border: 1px solid rgba(139, 92, 246, 0.1); transition: all 0.3s ease; text-align: center; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2); }
.feature-icon { width: 80px; height: 80px; margin: 0 auto 25px; background: var(--gradient-1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; }
.feature-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; margin-bottom: 15px; }
.feature-card p { color: var(--text-light); font-size: 1rem; line-height: 1.7; }

/* Screenshots Section */
.screenshots { padding: 100px 5%; background: var(--dark-light); position: relative; }
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.screenshot-item { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; }
.screenshot-item:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3); }
.screenshot-item img { width: 100%; height: auto; display: block; }

/* Download Section */
.download-section { padding: 100px 5%; text-align: center; position: relative; }
.download-section h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 30px; }
.download-section h2 span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.download-section p { color: var(--text-light); font-size: 1.2rem; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.download-buttons { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 15px; padding: 18px 40px; background: var(--dark-card); border: 2px solid rgba(139, 92, 246, 0.3); border-radius: 15px; color: white; text-decoration: none; transition: all 0.3s ease; min-width: 220px; }
.store-btn:hover { border-color: var(--primary); background: rgba(139, 92, 246, 0.1); transform: translateY(-5px); }
.store-btn i { font-size: 2.5rem; }
.store-text { text-align: left; }
.store-text small { display: block; font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; }
.store-text strong { font-size: 1.2rem; display: block; }

/* Footer */
footer { background: var(--dark-light); padding: 60px 5% 30px; border-top: 1px solid rgba(139, 92, 246, 0.1); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 12px; margin-bottom: 20px; }
.footer-brand h3 { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; margin-bottom: 15px; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-brand p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.footer-social { display: flex; gap: 15px; margin-top: 20px; }
.footer-social a { width: 45px; height: 45px; background: var(--dark-card); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.3s ease; }
.footer-social a:hover { background: var(--gradient-1); color: white; border-color: transparent; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--primary-light); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-light); text-decoration: none; transition: color 0.3s ease; font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-light); font-size: 0.9rem; }
.footer-bottom a { color: var(--primary-light); text-decoration: none; }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); }
.modal-content { background: var(--dark-card); margin: 15% auto; padding: 40px; border-radius: 20px; width: 90%; max-width: 450px; text-align: center; border: 1px solid rgba(139, 92, 246, 0.3); box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5); }
.modal-content h3 { font-family: 'Orbitron', sans-serif; font-size: 2rem; margin-bottom: 15px; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.modal-content p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 30px; }
.modal-close { float: right; font-size: 32px; font-weight: bold; color: var(--text-light); cursor: pointer; transition: color 0.3s ease; }
.modal-close:hover { color: var(--primary-light); }

/* Responsive */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.5rem; }
  .cta-buttons { justify-content: center; }
  .phone-mockup { margin: 40px auto; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10, 10, 15, 0.98); flex-direction: column; padding: 30px; gap: 20px; text-align: center; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .download-btn { display: none; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-text .subtitle { font-size: 1.1rem; }
  .cta-btn { padding: 14px 24px; font-size: 1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .download-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 280px; }
}
