/* Download page - premium, eye-catching design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.download-page {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    position: relative;
    overflow-x: hidden;
}

.download-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background - catchy gradient orbs + mesh */
.download-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 70%, #1a1a2e 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ff6b9d 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #c471ed 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -4s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f7971e 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation-delay: -8s;
}

.gradient-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(at 40% 20%, rgba(255, 107, 157, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(196, 113, 237, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(247, 151, 30, 0.1) 0px, transparent 50%);
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Header */
.download-header {
    padding: 20px 0;
}

.download-header .download-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.back-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Main hero */
.download-main {
    padding: 60px 0 80px;
}

.download-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.download-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.download-title-accent {
    background: linear-gradient(90deg, #ff6b9d, #f7971e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Download button - single APK */
.download-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    justify-content: center;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.download-btn-text small {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.download-btn-text strong {
    font-size: 1.3rem;
}

.download-btn-apk {
    background: #fff;
    color: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.download-btn-apk:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.download-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature cards */
.download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.download-feature {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.download-feature-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-feature-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
}

.download-feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 10px;
}

.download-feature p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* QR section */
.download-qr-section {
    text-align: center;
}

.download-qr-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
}

.download-qr-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.download-qr-placeholder {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.download-qr-placeholder small {
    font-size: 0.75rem;
    margin-top: 6px;
}

/* Footer */
.download-footer {
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.download-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .download-btn {
        width: 100%;
    }

    .download-features {
        grid-template-columns: 1fr;
    }
}
