@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;600;700&display=swap');

.download-scene {
    position: relative;
    min-height: 100vh;
    padding: 140px 40px 80px;
    background: 
        radial-gradient(ellipse at 50% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        url('../images/Black_Space.png') center / cover no-repeat fixed;
    color: #f5f5f5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 0;
}

.download-scene::before {
    content:"";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255, 215, 0, 0.03) 49px, rgba(255, 215, 0, 0.03) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255, 215, 0, 0.03) 49px, rgba(255, 215, 0, 0.03) 50px);
    opacity: 0.4;
}

.download-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

/* Authentication Required Sections */
.auth-required-section,
.verification-required-section {
    background: linear-gradient(135deg, rgba(8, 10, 14, 0.95), rgba(16, 20, 32, 0.9));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.2);
}

.lock-icon,
.warning-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.auth-required-section h2,
.verification-required-section h2 {
    font-size: 2.5rem;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.auth-required-section p,
.verification-required-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.user-email {
    background: rgba(255, 215, 0, 0.05);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #ffd700;
    margin: 20px 0;
}

.user-email strong {
    color: #ffd700;
}

.auth-benefits {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.auth-benefits h3 {
    font-size: 1.3rem;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    text-align: center;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
}

.auth-benefits ul li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    padding-left: 10px;
}

.auth-actions,
.verification-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: #000;
    border: 2px solid #ffd700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffe14d, #ffa726);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.verification-note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.verification-note p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-header {
    text-align: center;
    margin-bottom: 50px;
}

.header-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6));
    animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.header-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.15em;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    margin-bottom: 10px;
}

.header-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50px;
    padding: 8px 24px;
    font-family: 'Orbitron', sans-serif;
}

.version-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.version-number {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
}

.platforms-section {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.platform-card-single {
    background: rgba(8, 10, 14, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 20px;
    padding: 50px 60px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.platform-card-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.platform-card-single:hover {
    border-color: rgba(255, 215, 0, 0.8);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.platform-cards {
    display: grid;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.platform-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
}

.platform-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
}

.platform-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-download {
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #ff9800);
    border: none;
    border-radius: 8px;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
}

.btn-download:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.btn-text {
    line-height: 1;
    display: flex;
    align-items: center;
}

.platform-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.requirements-section {
    margin-bottom: 60px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.requirements-card {
    background: rgba(8, 10, 14, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
}

.requirements-card.recommended {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.05);
}

.requirements-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.req-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
}

.req-list {
    list-style: none;
    padding: 0;
    font-family: 'Rajdhani', sans-serif;
}

.req-list li {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.req-list li:last-child {
    border-bottom: none;
}

.req-list li strong {
    color: #ffd700;
}

.guide-section {
    margin-bottom: 60px;
}

.guide-steps {
    display: grid;
    gap: 25px;
}

.guide-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: rgba(8, 10, 14, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.guide-step:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(10px);
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.step-content h3 {
    font-size: 1.3rem;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-family: 'Rajdhani', sans-serif;
}

.release-notes {
    background: rgba(8, 10, 14, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.notes-content h3 {
    font-size: 1.3rem;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin: 25px 0 15px 0;
}

.notes-content h3:first-child {
    margin-top: 0;
}

.notes-content ul {
    list-style: none;
    padding: 0;
}

.notes-content li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0 8px 25px;
    position: relative;
    font-family: 'Rajdhani', sans-serif;
}

.notes-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ffd700;
}

.download-footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-family: 'Rajdhani', sans-serif;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .download-scene {
        padding: 120px 20px 60px;
    }

    .header-title {
        font-size: 2rem;
    }

    .header-icon {
        font-size: 3.5rem;
    }

    .download-stats {
        grid-template-columns: 1fr;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}
