/* CSS extracted from DownloadView.vue */
@import url('https://fonts.geekzu.org/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;700;900&display=swap');

.game-download {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px;
    user-select: none;
}

.mmo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Original image restored via path */
    /* background-image: url('@/assets/bg_green.png'); */
    /* Using served path */
    background-image: url('/assets/bg_green.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.mmo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(200, 230, 201, 0.4) 100%);
    z-index: -1;
}

.download-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    transform: translateY(10px);
    width: 100%;
    max-width: 1100px;
}


/* Header Style */
.mmo-header {
    text-align: center;
    margin-bottom: 30px;
}

.mmo-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 5.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow:
        4px 4px 0 #4CAF50,
        -4px -4px 0 #4CAF50,
        4px -4px 0 #4CAF50,
        -4px 4px 0 #4CAF50,
        0 8px 15px rgba(76, 175, 80, 0.4);
    margin-bottom: 10px;
    letter-spacing: 4px;
    position: relative;
}

.version-badge {
    display: inline-block;
    background: #fff;
    border: 3px solid #8BC34A;
    color: #4CAF50;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Cards Style */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mmo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid #C8E6C9;
    border-radius: 30px;
    padding: 5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mmo-card:hover {
    border-color: #8BC34A;
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.15);
}

.card-inner {
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.platform-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.win-color {
    color: #00a4ef;
}

.mac-color {
    color: #555;
}

.ios-color {
    color: #ff3b30;
}

.android-color {
    color: #3ddc84;
}

.platform-name {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 10px;
}

.platform-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Cartoon Buttons */
.mmo-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 15px;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mmo-btn:active {
    transform: translateY(3px);
    border-bottom-width: 2px;
}

.btn-green {
    background: #4CAF50;
}

.btn-blue {
    background: #2196F3;
}

.btn-orange {
    background: #FF9800;
}

.btn-primary {
    background: #8BC34A;
}

.btn-glare {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-30deg);
    transition: left 0.5s ease;
}

.mmo-btn:hover {
    box-shadow: 0 0 0 4px #2e7d32, 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.mmo-btn.is-disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.mmo-btn:hover .btn-glare {
    left: 150%;
}

.meta {
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

/* Footer Style */
.mmo-footer {
    margin-top: 40px;
    text-align: center;
}

.footer-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 25px;
    border-radius: 30px;
    display: inline-block;
    min-width: 400px;
    border: 3px solid #C8E6C9;
}

.social-links {
    font-size: 1.1rem;
    color: #4CAF50;
    font-weight: bold;
}

.social-links a {
    color: #2e7d32;
    background: #E8F5E9;
    padding: 2px 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: #C8E6C9;
    border-color: #8BC34A;
    color: #1b5e20;
}

.divider {
    height: 2px;
    background: #C8E6C9;
    margin: 15px auto;
    width: 60%;
}

.sync-status {
    font-size: 1rem;
    color: #2e7d32;
    font-weight: bold;
}

.mirror-section {
    margin-bottom: 10px;
}

.baidu-btn {
    display: inline-block;
    background: #2b579a;
    color: white;
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none !important;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 4px solid rgba(0, 0, 0, 0.2);
}

.baidu-btn:hover {
    background: #3b6fb6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 87, 154, 0.3);
}

.baidu-btn:active {
    transform: translateY(1px);
    border-bottom-width: 2px;
}


.animate-fade-down {
    animation: fadeDown 0.6s ease-out;
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 1000px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mmo-title {
        font-size: 4rem;
    }
}

@media (max-width: 600px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .mmo-title {
        font-size: 3rem;
    }

    .footer-info {
        min-width: 100%;
    }
}
