* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 20px;
}

.card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.app-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

.version {
    font-size: 0.875rem;
    color: #94a3b8;
}

.upload-time {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 16px;
    min-height: 1.2em;
}

/* Release sections */
.release-section {
    margin-top: 16px;
}

.release-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.release-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
}

.label-latest {
    background: #3b82f6;
    color: #fff;
}

.label-stable {
    background: #334155;
    color: #94a3b8;
}

.stable-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
    cursor: pointer;
    border: none;
    flex: 1;
}

.btn:active { transform: scale(0.98); }

.btn-windows {
    background: #3b82f6;
    color: #fff;
}

.btn-windows:hover { background: #2563eb; }

.btn-android {
    background: #10b981;
    color: #fff;
}

.btn-android:hover { background: #059669; }

.btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Secondary buttons (stable version) */
.btn-secondary.btn-windows {
    background: transparent;
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.btn-secondary.btn-windows:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-secondary.btn-android {
    background: transparent;
    border: 1px solid #10b981;
    color: #10b981;
}

.btn-secondary.btn-android:hover {
    background: rgba(16, 185, 129, 0.1);
}

.footer {
    font-size: 0.75rem;
    color: #475569;
    margin-top: 24px;
}

@media (max-width: 480px) {
    .card { padding: 28px 20px; }
    .app-name { font-size: 1.5rem; }
    .buttons { flex-direction: column; }
}
