:root {
    --bg-color: #0f0f13;
    --card-bg: rgba(25, 25, 35, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --glow-1: rgba(99, 102, 241, 0.35);
    --glow-2: rgba(168, 85, 247, 0.35);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite alternate ease-in-out;
}

.glow-1 {
    width: 40vw;
    height: 40vw;
    background: var(--glow-1);
    top: -10vw;
    left: -10vw;
}

.glow-2 {
    width: 35vw;
    height: 35vw;
    background: var(--glow-2);
    bottom: -10vw;
    right: -10vw;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 520px;
    padding: 20px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 44px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.channel-selector {
    position: relative;
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 32px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.selector-bg {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.channel-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    outline: none;
}

.channel-btn.active {
    color: var(--text-primary);
}

.icon-container {
    margin-bottom: 24px;
}

.app-icon {
    width: 110px;
    height: 110px;
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover .app-icon {
    transform: scale(1.08) rotate(-3deg);
}

.title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.release-info {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.info-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 160px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.info-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 20px -8px rgba(0,0,0,0.5);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.badge-blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

.badge-purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.15);
}

.badge-green {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
    font-weight: 700;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px -10px var(--accent-color);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px var(--accent-hover);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn:active {
    transform: translateY(2px);
}

.download-icon {
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}

.footer-links {
    margin-top: 32px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.separator {
    color: rgba(255, 255, 255, 0.1);
    margin: 0 14px;
}

@media (max-width: 480px) {
    .glass-card {
        padding: 30px 20px;
        border-radius: 24px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .release-info {
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-badge {
        padding: 12px 16px;
        justify-content: flex-start;
    }
}
