/* ============================================
   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: 24px 0 0 0;
    margin: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d35 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.download-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 217, 255, 0.025) 0px,
        transparent 2px,
        transparent 4px,
        rgba(0, 217, 255, 0.025) 6px
    );
    pointer-events: none;
    z-index: 0;
}

.download-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section - Retro Gaming Style */
/* Slim header bar (always rendered -- no landing state). Mirrors the slim
   /pricing, /search and /console banners. */
.download-hero-section {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    position: relative;
    overflow: hidden;
    padding: 0.85rem 1.5rem;
    border-radius: 0;
    margin-bottom: 24px;
}

.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
        );
    /* Animated scanline removed -- distracting motion on a thin bar; the
       static texture above is enough to keep the retro feel. */
}

@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: 1.25rem;
    color: #00ff41;
    margin: 0;
    letter-spacing: 2px;
}

.hero-subtext {
    font-family: 'Electrolize', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #00d9ff;
    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; }
}



/* Main Content Card */
.download-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.download-content {
    padding: 22px 40px 28px;
}

/* Introduction Section */
.download-intro {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.intro-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #00d9ff;
    margin: 0 0 14px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.intro-text {
    color: #b8b8c8;
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

/* Download CTA Section */
.download-cta {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff41 100%);
    border: 1px solid transparent;
    border-radius: 6px;
    color: #0a0e27;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 16px rgba(0, 217, 255, 0.25);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Electrolize', sans-serif;
}

.download-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 22px rgba(0, 255, 65, 0.4);
    text-decoration: none;
    color: #0a0e27;
}

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

.download-version {
    color: rgba(184, 184, 200, 0.7);
    font-size: 0.75rem;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

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

.feature-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 0;
    padding: 20px;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(0, 217, 255, 0.5);
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 0;
}

.feature-card:hover .feature-icon {
    border-color: rgba(0, 217, 255, 0.5);
}

.feature-icon i {
    font-size: 1.25rem;
    color: #00d9ff;
}

.feature-card:hover .feature-icon i {
    color: #00d9ff;
}

.feature-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #00d9ff;
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-card:hover .feature-title {
    color: #00d9ff;
}

.feature-description {
    color: #b8b8c8;
    font-size: 0.88rem;
    line-height: 1.75;
    text-align: center;
}

/* Filter Showcase */
.filters-showcase {
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.showcase-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #00d9ff;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.showcase-description {
    color: #b8b8c8;
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

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

.filter-category {
    background: rgba(10, 10, 20, 0.65);
    border-left: 1px solid rgba(0, 217, 255, 0.25);
    padding: 14px 18px;
}

.category-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #00ff41;
    margin: 0 0 8px 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.category-list li {
    color: #b8b8c8;
    font-size: 0.88rem;
    line-height: 1.75;
    padding-left: 18px;
    position: relative;
}

.category-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00d9ff;
    font-size: 0.75rem;
}

/* System Requirements */
.system-requirements {
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.requirements-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #00d9ff;
    margin: 0 0 14px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.requirement-item {
    background: rgba(10, 10, 20, 0.65);
    padding: 10px 14px;
    border-left: 1px solid rgba(0, 217, 255, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

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

.req-value {
    color: #b8b8c8;
    font-size: 0.82rem;
    text-align: right;
}

/* Installation Guide */
.installation-guide {
    margin-bottom: 20px;
}

.guide-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #00d9ff;
    margin: 0 0 14px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.installation-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.install-step {
    display: flex;
    gap: 20px;
    padding: 14px 18px;
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    transition: border-color 0.2s ease;
}

.install-step:hover {
    border-color: rgba(0, 217, 255, 0.5);
}

.step-number {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    color: #00d9ff;
    font-weight: 700;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.install-step:hover .step-number {
    color: #00d9ff;
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #e8f6ff;
    margin: 0 0 4px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.step-description {
    color: #b8b8c8;
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

/* Bottom CTA */
.bottom-cta {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #e8f6ff;
    margin: 0;
    letter-spacing: 0.5px;
}

.cta-text {
    color: #b8b8c8;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.75;
}

.cta-button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff41 100%);
    border: 1px solid transparent;
    border-radius: 6px;
    color: #0a0e27;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 16px rgba(0, 217, 255, 0.25);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Electrolize', sans-serif;
}

.cta-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 22px rgba(0, 255, 65, 0.4);
    text-decoration: none;
    color: #0a0e27;
}

.cta-button i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .download-hero-section {
        padding: 0.7rem 1rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 0.35rem;
        align-items: flex-start;
    }

    .hero-headline {
        font-size: 1.05rem;
    }

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

    .download-content {
        padding: 22px;
    }

    .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;
        gap: 4px;
    }

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