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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --neon-blue: #00d4ff;
    --neon-cyan: #00ffff;
    --neon-purple: #bf00ff;
    --neon-orange: #ff6b00;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-accent: #00d4ff;
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #bf00ff 100%);
    --gradient-2: linear-gradient(135deg, #ff6b00 0%, #00ffff 100%);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.5);
}

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

/* Particle Background */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

/* App Logo Styles */
.app-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    z-index: 10;
}

.app-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(191, 0, 255, 0.4),
        0 0 90px rgba(0, 255, 255, 0.3);
    -webkit-animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
    -moz-animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
    animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    will-change: transform, box-shadow;
}

.app-logo:hover {
    -webkit-transform: scale(1.1) rotate(5deg);
    -moz-transform: scale(1.1) rotate(5deg);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.8),
        0 0 80px rgba(191, 0, 255, 0.6),
        0 0 120px rgba(0, 255, 255, 0.4);
}

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

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

@keyframes logoFloat {
    0%, 100% {
        -webkit-transform: translateY(0px) rotate(0deg);
        -moz-transform: translateY(0px) rotate(0deg);
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-20px) rotate(2deg);
        -moz-transform: translateY(-20px) rotate(2deg);
        transform: translateY(-20px) rotate(2deg);
    }
}

@-webkit-keyframes logoGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 60px rgba(191, 0, 255, 0.4),
            0 0 90px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(191, 0, 255, 0.6),
            0 0 120px rgba(255, 107, 0, 0.4);
    }
}

@-moz-keyframes logoGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 60px rgba(191, 0, 255, 0.4),
            0 0 90px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(191, 0, 255, 0.6),
            0 0 120px rgba(255, 107, 0, 0.4);
    }
}

@keyframes logoGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 60px rgba(191, 0, 255, 0.4),
            0 0 90px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(191, 0, 255, 0.6),
            0 0 120px rgba(255, 107, 0, 0.4);
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 50px;
    background: radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

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

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

.shape {
    position: absolute;
    background: var(--gradient-1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: var(--gradient-2);
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
    background: var(--gradient-2);
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-main {
    display: block;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.title-sub {
    display: block;
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--primary-bg);
    box-shadow: var(--shadow-neon);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Weapon Silhouette */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 400px;
    z-index: 1;
}

.weapon-silhouette {
    position: absolute;
    width: 200px;
    height: 300px;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    clip-path: polygon(40% 0%, 60% 0%, 70% 20%, 90% 40%, 95% 60%, 80% 80%, 60% 100%, 40% 100%, 20% 80%, 5% 60%, 10% 40%, 30% 20%);
    animation: pulse 3s ease-in-out infinite;
}

.character-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
}

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

@keyframes breathe {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.title-accent {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Features Section */
.features {
    background: var(--secondary-bg);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-1);
}

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

.feature-card {
    background: var(--accent-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: var(--neon-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    background: var(--primary-bg);
}

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

.screenshot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--accent-bg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
}

.screenshot-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* Download Section */
.download {
    background: var(--secondary-bg);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-2);
}

.download-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.download-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-bg);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 15px;
    border: 2px solid var(--neon-blue);
    transition: all 0.3s ease;
    font-weight: 600;
}

.download-btn:hover {
    background: var(--gradient-1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text small {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-text strong {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

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

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-gallery {
        grid-template-columns: 1fr;
    }
    
    .download-stats {
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 1rem 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }
}