/* Created: 2024-11-28 */
/* Tank War - Modern Game Website Styles */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Military/Tank Theme */
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #ff6b35;
    --accent: #ffd700;
    --danger: #ff3366;
    
    /* Dark Theme */
    --bg-dark: #0a0f1a;
    --bg-darker: #060a12;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #ff3366 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    --gradient-dark: linear-gradient(180deg, #0a0f1a 0%, #060a12 100%);
    --gradient-card: linear-gradient(145deg, rgba(17, 24, 39, 0.8) 0%, rgba(6, 10, 18, 0.9) 100%);
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --card-radius: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Background Animation ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.tank-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 26, 0.98);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    line-height: 1;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat i {
    font-size: 2rem;
    color: var(--primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

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

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #000;
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.game-preview {
    width: 100%;
    height: 100%;
    position: relative;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.05) 100%);
}

.preview-tank {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: linear-gradient(180deg, #00ff88 0%, #00aa55 100%);
    clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
    animation: tankIdle 1s ease-in-out infinite;
}

.preview-tank::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 30px;
    background: #00ff88;
    border-radius: 5px 5px 0 0;
}

@keyframes tankIdle {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.preview-enemies {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
}

.enemy {
    position: absolute;
    width: 35px;
    height: 40px;
    background: var(--danger);
    clip-path: polygon(50% 100%, 100% 70%, 100% 0%, 0% 0%, 0% 70%);
    animation: enemyMove 3s ease-in-out infinite;
}

.enemy.e1 { left: 20%; animation-delay: 0s; }
.enemy.e2 { left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.enemy.e3 { right: 20%; animation-delay: 1s; }

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

.preview-bullets {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
}

.bullet {
    position: absolute;
    width: 6px;
    height: 20px;
    background: var(--accent);
    border-radius: 3px;
    animation: bulletFire 0.8s linear infinite;
}

.bullet.b1 { left: -3px; }
.bullet.b2 { left: -3px; animation-delay: 0.4s; }

@keyframes bulletFire {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-300px); opacity: 0; }
}

.preview-explosion {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    border-radius: 50%;
    animation: explode 2s ease-out infinite;
    opacity: 0;
}

@keyframes explode {
    0% { transform: translateX(-50%) scale(0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateX(-50%) scale(2); opacity: 0; }
    100% { opacity: 0; }
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-card);
    animation: floatIcon 4s ease-in-out infinite;
}

.float-icon.icon-1 { top: 10%; left: -20px; color: #4ade80; animation-delay: 0s; }
.float-icon.icon-2 { top: 30%; right: -30px; color: #fbbf24; animation-delay: 1s; }
.float-icon.icon-3 { bottom: 30%; left: -40px; color: #f87171; animation-delay: 2s; }
.float-icon.icon-4 { bottom: 10%; right: -20px; color: #60a5fa; animation-delay: 3s; }

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

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===== Features Section ===== */
.features {
    background: var(--gradient-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== Gameplay Section ===== */
.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gameplay-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 25px;
    transition: var(--transition-normal);
}

.step:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateX(10px);
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.5;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Gameplay Visual */
.gameplay-visual {
    display: flex;
    justify-content: center;
}

.controls-demo {
    text-align: center;
}

.demo-phone {
    width: 200px;
    height: 380px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 30px;
    padding: 8px;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-card);
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
}

.demo-tank {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
    animation: demoTankMove 3s ease-in-out infinite;
}

@keyframes demoTankMove {
    0%, 100% { left: 30%; }
    50% { left: 70%; }
}

.demo-finger {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--text-secondary);
    animation: fingerSwipe 3s ease-in-out infinite;
}

@keyframes fingerSwipe {
    0%, 100% { left: 30%; }
    50% { left: 70%; }
}

.control-hints {
    margin-top: 20px;
}

.hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hint kbd {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

.hint span {
    color: var(--text-muted);
}

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

/* ===== Enemies Section ===== */
.enemies {
    background: var(--gradient-dark);
}

.enemies-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.enemies-carousel::-webkit-scrollbar {
    display: none;
}

.enemy-card {
    min-width: 200px;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition-normal);
}

.enemy-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
}

.enemy-card.boss-card {
    border-color: rgba(255, 51, 102, 0.3);
    background: linear-gradient(145deg, rgba(255, 51, 102, 0.1), rgba(17, 24, 39, 0.8));
}

.enemy-visual {
    width: 60px;
    height: 70px;
    margin: 0 auto 20px;
    clip-path: polygon(50% 100%, 100% 70%, 100% 0%, 0% 0%, 0% 70%);
}

.enemy-visual.scout { background: linear-gradient(180deg, #4ade80, #22c55e); }
.enemy-visual.soldier { background: linear-gradient(180deg, #a78bfa, #8b5cf6); }
.enemy-visual.sniper { background: linear-gradient(180deg, #60a5fa, #3b82f6); }
.enemy-visual.heavy { background: linear-gradient(180deg, #6b7280, #4b5563); }
.enemy-visual.boss { background: linear-gradient(180deg, #f87171, #ef4444); }

.enemy-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.enemy-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.enemy-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enemy-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.enemy-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 50px;
    text-align: left;
}

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition-slow);
}

.stat-bar.danger .stat-fill {
    background: var(--danger);
    animation: dangerPulse 1s infinite;
}

@keyframes dangerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===== Power-ups Section ===== */
.powerups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.powerup-item {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.powerup-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.powerup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.powerup-icon.health { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.powerup-icon.shield { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.powerup-icon.rapid { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.powerup-icon.spread { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.powerup-icon.freeze { background: rgba(34, 211, 238, 0.2); color: #22d3ee; }
.powerup-icon.side { background: rgba(244, 114, 182, 0.2); color: #f472b6; }
.powerup-icon.armor { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }
.powerup-icon.gold { background: rgba(255, 215, 0, 0.2); color: #ffd700; }
.powerup-icon.nuke { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.powerup-icon.turret { background: rgba(34, 197, 94, 0.2); color: #22c55e; }

.powerup-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== Download Section ===== */
.download {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0, 255, 136, 0.05) 100%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.download-info {
    max-width: 600px;
}

.download-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.download-info p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    transition: var(--transition-normal);
}

.store-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 2.5rem;
}

.store-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.store-info strong {
    font-size: 1.1rem;
}

.download-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.dl-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.dl-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* QR Code */
.download-visual {
    display: flex;
    justify-content: center;
}

.qr-code {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.qr-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
}

.qr-placeholder span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-badges .badge i {
    color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .gameplay-content {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-info {
        max-width: 100%;
    }
    
    .download-info .section-title {
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .download-features {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .floating-icons {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
    }
    
    .powerups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Legal Pages Styles ===== */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    padding: 60px 0;
    background: var(--gradient-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.legal-header p {
    color: var(--text-secondary);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.legal-content ul {
    margin: 15px 0 15px 30px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ===== Support Page Styles ===== */
.support-hero {
    text-align: center;
    padding: 80px 20px;
    background: var(--gradient-dark);
}

.support-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.support-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.support-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.2);
}

.support-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.support-card a.btn {
    width: 100%;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--bg-darker);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-section {
    padding: 60px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: var(--transition-normal);
}

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

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

