/* Modern Mobile Download Page - Clean White Theme */
:root {
    --primary-blue: #2555d4;
    --primary-gradient: linear-gradient(135deg, #2c7ef8 0%, #3a15b3 100%);
    --primary-gradient-hover: linear-gradient(135deg, #236fe4 0%, #31109a 100%);
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --btn-border: #cbd5e1;
    --radius-pill: 9999px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: var(--card-bg);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Header Navigation */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Button */
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:active {
    background: #e2e8f0;
    transform: scale(0.97);
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-btn:active {
    background: #f1f5f9;
}

/* Main Content Area */
.main-content {
    width: 100%;
    max-width: 480px;
    padding: 36px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Download Card */
.download-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Centered Hero Logo */
.hero-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Title & Version Info */
.download-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.version-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

/* Button Group */
.button-group {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Primary Button (Gradient) */
.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(44, 126, 248, 0.28);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(44, 126, 248, 0.2);
}

/* Secondary Button (Outline) */
.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1.5px solid var(--btn-border);
}

.btn-secondary:active {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(1px) scale(0.98);
}

/* Checksum SHA256SUMS */
.sha-wrapper {
    margin-top: 4px;
    margin-bottom: 36px;
}

.sha-link {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.sha-link:hover, .sha-link:active {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Banner Section (No Border) */
.banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.banner-card {
    width: 100%;
    max-width: 360px;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Responsive Tweaks */
@media (max-width: 360px) {
    .main-content {
        padding: 24px 16px 32px;
    }
    
    .download-title {
        font-size: 20px;
    }
    
    .btn {
        height: 48px;
        font-size: 15px;
    }
}
