﻿/* RESET */
footer {
    display: none !important;
}

body,
html {
    overflow: hidden;
    height: 100%;
    background: #050505;
}

.dl-stage {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 80px;
    font-family: 'Prompt', sans-serif;
    color: #fff;
}

/* LAYERS */
.dl-bg-fixed {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url('../images/download/bg-download.png') no-repeat center center;
    background-size: cover;
    /* filter: brightness(0.5); Removed to show the character art clearly */
}

.dl-fog {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, transparent 30%, #000 100%);
    opacity: 0.8;
}

.dl-back-title {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}

.dl-char-hero {
    position: fixed;
    bottom: 80px;
    right: 10%;
    height: 85vh;
    width: auto;
    max-width: 65vw;
    z-index: 5;
    object-fit: contain;
    filter: drop-shadow(-30px 0 60px rgba(0, 0, 0, 0.8));
}

/* CORE INTERACTION CARD */
.dl-core-wrap {
    position: fixed;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    z-index: 20;
    width: 550px;
}

.dl-super-card {
    background: rgba(12, 12, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

    .dl-super-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-gold), transparent);
    }

/* Typography */
.dl-hero-head {
    font-size: 40px;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

    .dl-hero-head span {
        color: var(--accent-gold);
        display: block;
    }

/* NEW SERVER STATUS (Before Button) */
.dl-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 15px;
    border-radius: 50px;
    margin-bottom: 1px;
    font-size: 12px;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Main Button */
.btn-launch-pad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #b45309, var(--accent-gold));
    padding: 0 30px;
    height: 90px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
    color: #000;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
    margin-bottom: 25px;
}

    .btn-launch-pad:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 50px rgba(251, 191, 36, 0.6);
        filter: brightness(1.1);
    }

.lp-content h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}

.lp-content p {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lp-icon {
    font-size: 28px;
    background: rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Tools */
.dl-tools-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none !important;
    color: #94a3b8;
    transition: 0.2s;
    border: 1px solid transparent;
}

    .tool-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.1);
    }

.tool-icon {
    font-size: 18px;
    color: var(--accent-gold);
}

.tool-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gpu-icons {
    display: flex;
    gap: 5px;
    font-size: 14px;
    margin-top: 2px;
}

/* DECOR RING (Desktop) */
.dl-tech-ring {
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin 30s linear infinite;
    pointer-events: none;
}

@keyframes spin {
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* --- GRAND FOOTER (DESKTOP DEFAULT) --- */
.dl-grand-footer {
    margin-top: auto;
    height: 80px;
    width: 100%;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 50;
    border-bottom: 2px solid var(--accent-gold);
    position: relative;
}

    .dl-grand-footer::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    }

.footer-left-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.5px;
}

    .footer-left-info strong {
        color: #94a3b8;
        font-size: 12px;
        margin-bottom: 2px;
        display: block;
    }

.social-orbs {
    display: flex;
    gap: 20px;
    align-items: center;
}

.orb-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

    .orb-btn:hover {
        background: var(--accent-gold);
        color: #000;
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
        transform: translateY(-5px) scale(1.1);
        border-color: var(--accent-gold);
    }

/* MOBILE: PC ONLY WARNING MODE (WITH NAV & FOOTER) */
.dl-mobile-warning {
    display: none;
}

/* Hidden on Desktop */

@media (max-width: 992px) {
    body, html {
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 100%;
        background: #050505;
    }

    .dl-stage {
        position: relative;
        min-height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-top: 80px;
    }

    .dl-char-hero,
    .dl-tech-ring,
    .dl-core-wrap,
    .dl-back-title {
        display: none !important;
    }

    .dl-mobile-warning {
        display: flex !important;
        flex: 0 1 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.85);
        border: 2px solid #ffc107;
        border-radius: 8px;
        padding: 40px 20px;
        margin: 40px 20px;
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
        backdrop-filter: blur(5px);
        text-align: center;
        z-index: 20;
        animation: pulse-border 2s ease-in-out infinite;
    }

    .warn-icon-box {
        width: 90px;
        height: 90px;
        background: rgba(255, 193, 7, 0.2);
        border: 1px solid #ffc107;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        padding: 10px;
        animation: pulse-warn 3s infinite;
    }

    .warn-icon {
        font-size: 36px;
        color: var(--accent-gold);
    }

    .dl-mobile-warning h2 {
        font-size: 24px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .dl-mobile-warning p {
        font-size: 14px;
        color: #94a3b8;
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
    }

    .warn-divider {
        width: 40px;
        height: 2px;
        background: var(--accent-gold);
        border-top: 1px solid rgba(255, 193, 7, 0.5);
        margin: 20px auto;
        opacity: 0.5;
    }

    .pc-badge {
        margin-top: 20px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 4px;
        color: #4ade80;
        font-size: 11px;
        font-weight: 600;
    }

    @keyframes pulse-warn {
        0% {
            box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.2);
        }

        70% {
            box-shadow: 0 0 0 20px rgba(251, 191, 36, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
        }
    }

    @keyframes pulse-border {
        0%, 100% {
            border-color: #ffc107;
            box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
        }

        50% {
            border-color: #ff9800;
            box-shadow: 0 4px 25px rgba(255, 152, 0, 0.5);
        }
    }

    .dl-grand-footer {
        display: flex;
        height: 70px;
        padding: 0 20px;
        background: #080808;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 50;
        margin-top: auto;
        flex-shrink: 0;
    }

    .footer-left-info {
        font-size: 10px;
        opacity: 0.6;
        text-align: left;
    }

    .social-orbs {
        gap: 10px;
    }

    .orb-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

