/* ============================================
   8bitedge Download - Retro Gaming Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Electrolize&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

.download-main,
.download-container,
.download-card,
.feature-card,
.filter-category {
    --neon-cyan: #00d9ff;
    --neon-green: #00ff41;
    --neon-magenta: #ff00ff;
    
    --bg-card: #0f0f1e;
    --bg-darker: #1a1a2e;
    
    --border-cyan: #00d9ff;
    
    --text-primary: #ffffff;
    --text-secondary: #a5b4fc;
    
    --success: #00ff41;
    
    font-family: 'Electrolize', sans-serif;
}

/* Main Container */
.download-main {
    width: 100%;
    padding: 20px 0 0 0;
    margin: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d35 100%);
    min-height: 100vh;
}

.download-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px 40px 20px;
}

/* Hero Section - Retro Gaming Style */
.download-hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 4px solid #00ff41;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 60px rgba(0, 255, 65, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 40px;
}

.hero-gradient {
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 65, 0.03) 0px,
        transparent 2px,
        transparent 4px,
        rgba(0, 255, 65, 0.03) 6px
    );
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.05) 50%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 0, 255, 0.02) 0px,
            transparent 2px,
            transparent 4px,
            rgba(255, 0, 255, 0.02) 6px
        );
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.hero-headline {
    font-family: 'Electrolize', 'Courier New', monospace;
    font-size: 2rem;
    color: #00ff41;
    text-shadow: 
        2px 2px 0px #ff00ff,
        4px 4px 0px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 255, 65, 0.5);
    margin: 0;
    letter-spacing: 2px;
}

.hero-subtext {
    font-family: 'Electrolize', 'Courier New', monospace;
    font-size: 1rem;
    color: #00d9ff;
    text-shadow: 
        1px 1px 0px #ff00ff,
        0 0 8px rgba(0, 217, 255, 0.6);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-subtext::before {
    content: '> ';
    color: #ff00ff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Pixel corner decorations */
.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #ff00ff;
}

.hero-content::before {
    top: -1rem;
    left: -1rem;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.hero-content::after {
    bottom: -1rem;
    right: -1rem;
    border-left: none;
    border-top: none;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Main Content Card */
.download-card {
    background: var(--bg-card);
    border: 2px solid var(--border-cyan);
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    overflow: hidden;
    margin-bottom: 40px;
}

.download-content {
    padding: 3rem 2.5rem;
}

/* Introduction Section */
.download-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #00d9ff;
}

.intro-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 2rem;
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    margin: 0 0 1.5rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.intro-text {
    color: var(--text-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Download CTA Section */
.download-cta {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: #00ff41;
    border: 3px solid #00ff41;
    border-radius: 0;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
    font-family: 'Electrolize', sans-serif;
}

.download-button:hover {
    background: #00d9ff;
    border-color: #00d9ff;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.8);
    transform: translateY(-3px);
}

.download-button i {
    font-size: 1.5rem;
}

.download-version {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    letter-spacing: 1px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00d9ff;
    border-radius: 0;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.feature-card:hover {
    border-color: #00ff41;
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.4);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid #00d9ff;
    border-radius: 0;
}

.feature-card:hover .feature-icon {
    border-color: #00ff41;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #00d9ff;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.6));
}

.feature-card:hover .feature-icon i {
    color: #00ff41;
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.6));
}

.feature-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.25rem;
    color: #00d9ff;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
    margin: 0 0 1rem 0;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-card:hover .feature-title {
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
}

.feature-description {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Filter Showcase */
.filters-showcase {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00d9ff;
}

.showcase-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.75rem;
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    margin: 0 0 1rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

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

.filter-category {
    background: var(--bg-card);
    border-left: 4px solid #00ff41;
    padding: 1.5rem;
}

.category-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.15rem;
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    margin: 0 0 1rem 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.category-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00d9ff;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.6);
}

/* System Requirements */
.system-requirements {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00d9ff;
}

.requirements-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.75rem;
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    margin: 0 0 2rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.requirement-item {
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-left: 3px solid #00ff41;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.req-label {
    color: #00d9ff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.req-value {
    color: var(--text-primary);
    font-size: 1rem;
    text-align: right;
}

/* Installation Guide */
.installation-guide {
    margin-bottom: 4rem;
}

.guide-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.75rem;
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    margin: 0 0 2rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.installation-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.install-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00d9ff;
    transition: all 0.3s ease;
}

.install-step:hover {
    border-color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.step-number {
    font-family: 'Electrolize', sans-serif;
    font-size: 2.5rem;
    color: #00d9ff;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
    font-weight: 700;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.install-step:hover .step-number {
    color: #00ff41;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.25rem;
    color: #00d9ff;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.install-step:hover .step-title {
    color: #00ff41;
}

.step-description {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Bottom CTA */
.bottom-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid #00ff41;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 10px,
        rgba(0, 255, 65, 0.02) 10px,
        rgba(0, 255, 65, 0.02) 20px
    );
    pointer-events: none;
}

.cta-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 2rem;
    color: #00ff41;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
    margin: 0 0 1rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.cta-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: #00d9ff;
    border: 3px solid #00d9ff;
    border-radius: 0;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    font-family: 'Electrolize', sans-serif;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background: #00ff41;
    border-color: #00ff41;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
    transform: translateY(-3px);
}

.cta-button i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .requirements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .download-hero-section {
        min-height: 140px;
        padding: 1.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .hero-headline {
        font-size: 1.25rem;
    }
    
    .hero-subtext {
        font-size: 0.875rem;
    }

    .download-content {
        padding: 2rem 1.5rem;
    }

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

    .intro-text {
        font-size: 1rem;
    }

    .download-button {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }

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

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

    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .requirement-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .req-value {
        text-align: left;
    }

    .install-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 100%;
    }

    .bottom-cta {
        padding: 2rem 1.5rem;
    }

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

    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .hero-subtext {
        font-size: 0.875rem;
    }

    .intro-title {
        font-size: 1.25rem;
    }

    .download-button {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }

    .showcase-title,
    .requirements-title,
    .guide-title {
        font-size: 1.25rem;
    }

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

    .cta-title {
        font-size: 1.25rem;
    }
}