* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', system-ui, sans-serif; }

body {
    background: #1a1b26;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #16161e;
    padding: 14px 28px;
    border-bottom: 1px solid #2a2b38;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.admin-link {
    text-decoration: none;
    font-size: 20px;
    opacity: .5;
    transition: opacity .2s;
}
.admin-link:hover { opacity: 1; }

/* Main */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.card {
    background: #20212c;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    border: 1px solid #2a2b38;
}

h1 { font-size: 24px; margin-bottom: 10px; text-align: center; }

.version-info {
    color: #8b8e9e;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
}
.version-info span { color: #ff6b81; font-weight: 600; }

/* Download grid */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.download-btn {
    background: #2a2b38;
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
    border: 1px solid #363747;
}

.download-btn:hover {
    background: #ff6b81;
    border-color: #ff6b81;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,129,.3);
}

.platform-icon { font-size: 20px; flex-shrink: 0; }
.platform-label { flex: 1; text-align: left; }
.platform-arrow { opacity: .6; font-size: 14px; }

.empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #8b8e9e;
    padding: 30px;
    font-size: 14px;
}

/* Skeleton loader */
.skeleton-loader {
    display: contents;
}
.skeleton-btn {
    height: 52px;
    background: linear-gradient(90deg, #2a2b38 0%, #363747 50%, #2a2b38 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile */
@media (max-width: 640px) {
    .header { padding: 12px 16px; }
    .logo { font-size: 17px; }
    .admin-link { font-size: 18px; }

    .main-container { padding: 20px 12px; }

    .card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    h1 { font-size: 20px; margin-bottom: 8px; }
    .version-info { font-size: 13px; margin-bottom: 22px; }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .download-btn {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 54px;
    }
    .platform-icon { font-size: 22px; }
}

@media (max-width: 380px) {
    .card { padding: 20px 14px; }
    h1 { font-size: 18px; }
    .download-btn { font-size: 13px; padding: 12px 14px; }
}