/**
 * Download Page Specific Styles (Compact & Futuristic Modern)
 * สไตล์เฉพาะสำหรับหน้าดาวน์โหลด (ปรับขนาดให้กระชับ สมดุล ลงตัว)
 */

/* ========== Page Layout ========== */

.download-page-wrapper {
    min-height: calc(100vh - 120px);
    padding: 135px 0 50px;
    background: radial-gradient(circle at 50% 15%, rgba(255, 60, 60, 0.04), transparent 70%);
}

.download-header {
    text-align: center;
    margin-bottom: 20px;
}

.download-header .page-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 0 15px rgba(255, 60, 60, 0.35);
    letter-spacing: 1.5px;
    color: var(--text-primary, #fff);
    text-transform: uppercase;
}

.download-header .page-subtitle {
    font-size: 13px;
    color: var(--text-muted, #888);
    margin: 0;
}

/* ========== Download Grid ========== */

.download-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 16px;
    align-items: stretch;
    max-width: 1020px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* ========== Main Download Card ========== */

.download-card {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.85), rgba(14, 14, 14, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-card:hover {
    border-color: rgba(255, 60, 60, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 60, 60, 0.15);
}

.version-badge {
    display: inline-block;
    background: rgba(255, 60, 60, 0.12);
    color: #ff3c3c;
    border: 1px solid rgba(255, 60, 60, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
}

.download-card h2 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.25;
    color: #fff;
    letter-spacing: 0.5px;
}

.download-card p {
    color: #888;
    margin-bottom: 14px;
    font-size: 12.5px;
}

/* ========== Download Details ========== */

.download-details {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-item .label {
    font-size: 9.5px;
    color: #666;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.detail-item .value {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

/* ========== Download Button ========== */

.download-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff3c3c, #cc0000);
    padding: 12px 20px;
    border-radius: 9px;
    color: #fff;
    font-weight: 800;
    font-size: 13.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(255, 60, 60, 0.3);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.download-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 60, 60, 0.45);
    color: #fff;
}

.download-btn-large i {
    font-size: 16px;
}

/* ========== Mirrors Section ========== */

.mirrors-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mirrors-title {
    font-size: 11px;
    color: #777;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (max-width: 576px) {
    .mirrors-grid {
        grid-template-columns: 1fr;
    }
}

.mirror-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 8px 12px;
    border-radius: 7px;
    color: #ccc;
    font-size: 11.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mirror-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ff3c3c;
    transform: translateY(-1px);
    color: #fff;
}

.mirror-btn i {
    font-size: 11px;
    color: #ff3c3c;
}

/* ========== Background Visual ========== */

.card-visual {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 110px;
    color: rgba(255, 255, 255, 0.02);
    transform: rotate(15deg);
    pointer-events: none;
}

/* ========== Requirements Section ========== */

.req-section {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.75), rgba(14, 14, 14, 0.85));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.req-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bbb;
    letter-spacing: 0.5px;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.req-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.35);
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.req-card:hover {
    border-color: rgba(255, 60, 60, 0.4);
    background: rgba(255, 255, 255, 0.025);
    transform: translateX(3px);
}

.req-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3c3c;
    font-size: 13px;
    flex-shrink: 0;
}

.req-info h4 {
    font-size: 9.5px;
    color: #777;
    margin-bottom: 1px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 700;
}

.req-info p {
    font-size: 11.5px;
    font-weight: 600;
    color: #ddd;
    margin: 0;
    line-height: 1.25;
}