/* Download Page Styles */

/* Animations */
@keyframes snowfall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(180deg);
        opacity: 0;
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-15px);
    }
    75% {
        transform: translateX(15px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.snowflake {
    position: fixed;
    top: -20px;
    color: rgba(255, 255, 255, 0.6);
    user-select: none;
    pointer-events: none;
    z-index: 10;
    animation: snowfall linear infinite, sway var(--sway-duration, 3s) ease-in-out infinite;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Download Hero Section */
.download-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F5F1E8 0%, #E8DCC6 50%, #F0E6D2 100%);
}

.download-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.download-hero .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(244, 162, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(231, 111, 81, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.download-hero .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.download-hero .orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.4) 0%, rgba(231, 111, 81, 0.3) 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.download-hero .orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.3) 0%, rgba(244, 162, 97, 0.2) 100%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.download-hero .orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.2) 0%, rgba(231, 111, 81, 0.15) 100%);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.download-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.download-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #5D4E37;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(93, 78, 55, 0.1);
    animation: fadeInUp 1s ease-out;
}

.download-hero .highlight {
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.download-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(93, 78, 55, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.platform-badges .badge {
    background: rgba(93, 78, 55, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(93, 78, 55, 0.2);
    color: #5D4E37;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(93, 78, 55, 0.1);
}

.platform-badges .badge:hover {
    background: rgba(93, 78, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 78, 55, 0.2);
}

/* Download Platforms Section */
.download-platforms {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0E6D2 0%, #E8DCC6 50%, #F5F1E8 100%);
    position: relative;
}

.download-platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(244, 162, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(231, 111, 81, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.download-platforms .container {
    position: relative;
    z-index: 1;
}

.download-platforms h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5D4E37;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(93, 78, 55, 0.1);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(93, 78, 55, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(93, 78, 55, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A574 0%, #B8956A 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: rgba(93, 78, 55, 0.25);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px rgba(93, 78, 55, 0.15);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card.featured {
    border: 2px solid #D4A574;
    background: rgba(212, 165, 116, 0.1);
    box-shadow: 0 6px 25px rgba(212, 165, 116, 0.2);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(93, 78, 55, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(93, 78, 55, 0.1);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(93, 78, 55, 0.15);
    box-shadow: 0 4px 15px rgba(93, 78, 55, 0.2);
}

.platform-icon img {
    width: 50px;
    height: 50px;
    filter: sepia(20%) saturate(80%) hue-rotate(15deg);
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5D4E37;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(93, 78, 55, 0.1);
}

.platform-desc {
    color: rgba(93, 78, 55, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn.primary {
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.download-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    background: linear-gradient(135deg, #E0B285 0%, #C4A175 100%);
}

.download-btn.secondary {
    background: rgba(93, 78, 55, 0.1);
    color: #5D4E37;
    border: 1px solid rgba(93, 78, 55, 0.2);
    box-shadow: 0 2px 8px rgba(93, 78, 55, 0.1);
}

.download-btn.secondary:hover {
    background: rgba(93, 78, 55, 0.15);
    border-color: rgba(93, 78, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 78, 55, 0.2);
}

.btn-icon {
    font-size: 1.1rem;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(93, 78, 55, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    color: #5D4E37;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    filter: sepia(30%) saturate(80%) hue-rotate(15deg);
}

/* Installation Guide Section */
.installation-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8DCC6 0%, #F0E6D2 50%, #F5F1E8 100%);
    position: relative;
}

.installation-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(244, 162, 97, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(231, 111, 81, 0.04) 0%, transparent 50%);
    z-index: 0;
}

.installation-guide .container {
    position: relative;
    z-index: 1;
}

.installation-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5D4E37;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(93, 78, 55, 0.1);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(93, 78, 55, 0.1);
    border: 1px solid rgba(93, 78, 55, 0.2);
    color: rgba(93, 78, 55, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(93, 78, 55, 0.1);
}

.tab-btn:hover {
    background: rgba(93, 78, 55, 0.15);
    color: #5D4E37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 78, 55, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

.step-content h4 {
    color: #5D4E37;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(93, 78, 55, 0.1);
}

.step-content p {
    color: rgba(93, 78, 55, 0.8);
    line-height: 1.6;
}

/* System Requirements Section */
.system-requirements {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F1E8 0%, #E8DCC6 50%, #F0E6D2 100%);
    position: relative;
}

.system-requirements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(244, 162, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(231, 111, 81, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.system-requirements .container {
    position: relative;
    z-index: 1;
}

.system-requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5D4E37;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(93, 78, 55, 0.1);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.requirement-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(93, 78, 55, 0.15);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(93, 78, 55, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.requirement-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(93, 78, 55, 0.25);
    box-shadow: 0 8px 30px rgba(93, 78, 55, 0.15);
}

.req-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: sepia(30%) saturate(80%) hue-rotate(15deg);
    transition: all 0.3s ease;
}

.requirement-card:hover .req-icon {
    transform: scale(1.1) rotate(5deg);
}

.requirement-card h3 {
    color: #5D4E37;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(93, 78, 55, 0.1);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    color: rgba(93, 78, 55, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(93, 78, 55, 0.1);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.requirement-card li:hover {
    color: #5D4E37;
    transform: translateX(5px);
}

.requirement-card li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }
    
    .download-hero h1 {
        font-size: 2.5rem;
    }
    
    .download-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .guide-tabs {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .step {
        gap: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .requirement-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .download-hero h1 {
        font-size: 2rem;
    }
    
    .platform-badges {
        gap: 0.5rem;
    }
    
    .platform-badges .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}