/* ============================================
   SOLID MEDIA PRO - DOWNLOAD PAGE STYLES
   Modern, Premium Design - Gold & White Theme
============================================ */

:root {
    /* Color Palette - Based on Solid Medya Logo */
    --primary: #FFC107;
    /* Altın/Sarı */
    --primary-dark: #E5A800;
    /* Koyu Altın */
    --primary-light: #FFD54F;
    /* Açık Altın */
    --accent: #FFFFFF;
    /* Beyaz */
    --accent-glow: rgba(255, 193, 7, 0.3);

    /* Background Colors */
    --bg-dark: #111111;
    --bg-card: rgba(30, 30, 30, 0.9);
    --bg-card-hover: rgba(40, 40, 40, 0.95);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFC107 0%, #FFD54F 50%, #FFEB3B 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 193, 7, 0.4) 0%, rgba(255, 213, 79, 0.4) 100%);

    /* Shadows */
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 60px rgba(255, 193, 7, 0.25);

    /* Border */
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Download Card */
.download-card {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: var(--border-glass);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.8s ease-out;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Logo Section */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    animation: logoPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.3));
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Typography */
.title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 20px;
}

/* Version Badge */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 32px;
}

.version-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 1.5rem;
    opacity: 0.9;
}

.feature-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Download Button */
.download-btn {
    position: relative;
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.5);
}

.download-btn:active {
    transform: translateY(-1px);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.download-icon {
    width: 24px;
    height: 24px;
    color: #111111;
    transition: transform var(--transition-fast);
}

.download-btn:hover .download-icon {
    animation: bounceDown 0.6s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.btn-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.02em;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* File Info */
.file-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.info-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Download Progress */
.download-progress {
    display: none;
    margin-top: 24px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

.download-progress.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-text {
    font-size: 0.9rem;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.progress-text::before {
    content: '✓';
    font-size: 1.1rem;
}

/* OS Warning */
.os-warning {
    display: none;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: left;
    animation: fadeIn 0.4s ease;
}

.os-warning.active {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.warning-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f87171;
    margin-bottom: 6px;
}

.warning-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Disabled Button State */
.download-btn.disabled {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.download-btn.disabled .btn-shimmer {
    display: none;
}

/* Footer */
.footer {
    margin-top: 32px;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 480px) {
    .download-card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .title {
        font-size: 1.6rem;
    }

    .features {
        gap: 16px;
    }

    .feature-item span {
        font-size: 0.7rem;
    }

    .file-info {
        gap: 16px;
    }

    .info-label {
        font-size: 0.7rem;
    }

    .info-value {
        font-size: 0.85rem;
    }
}

/* Hover States for Touch Devices */
@media (hover: none) {
    .download-btn:hover {
        transform: none;
    }

    .download-btn:active {
        transform: scale(0.98);
    }
}