/* ========================================================================
   MARKETSNAP DOWNLOADS PAGE - CLEAN & PROFESSIONAL DESIGN
   ======================================================================== */

.marketsnap-downloads-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #0F0F23;
    color: #E2E8F0;
}

/* Hero Section */
.downloads-hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-bottom: 3rem;
}

.hero-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.downloads-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #94A3B8;
    margin: 0;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* App Card */
.app-card {
    background: #1A1F2E;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #2D3748;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '\f17b';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 120px;
    color: rgba(61, 220, 132, 0.08);
    transition: all 0.4s ease;
    transform: rotate(-15deg);
    opacity: 0;
}

.app-card:hover::before {
    opacity: 1;
    top: -20px;
    right: -20px;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: #3DDC84;
    box-shadow: 0 8px 24px rgba(61, 220, 132, 0.2);
}

/* App Icon */
.app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    background: #0F0F23;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center;
}

/* App Info */
.app-info {
    flex: 1;
    margin-bottom: 1rem;
}

.app-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F59E0B;
    margin: 0 0 0.5rem 0;
}

.app-info p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

/* App Meta */
.app-meta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-meta span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: #0F0F23;
    border-radius: 12px;
    color: #94A3B8;
    border: 1px solid #2D3748;
}

/* Download Button - Orange to Android Green on Hover */
.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #F59E0B;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    justify-content: center;
}

.app-download-btn:hover {
    background: #3DDC84;
    color: #000000;
    transform: scale(1.05);
}

.app-download-btn i {
    font-size: 1.1rem;
}

/* Google Play Store Button */
.app-download-btn.play-store-btn {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    color: #ffffff;
    border: none;
}

.app-download-btn.play-store-btn:hover {
    background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

/* Play Store Badge */
.play-store-badge {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.play-store-badge i {
    font-size: 1rem;
}

/* Installation Instructions */
.install-instructions {
    background: #1A1F2E;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.install-instructions h2 {
    text-align: center;
    color: #F59E0B;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.instructions-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: #F59E0B;
    color: #0F0F23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: #E2E8F0;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Info Section */
.downloads-info {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1A1F2E 0%, #0F0F23 100%);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.downloads-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #94A3B8;
    font-size: 0.9rem;
}

.downloads-info i {
    color: #F59E0B;
    font-size: 1.1rem;
}

/* Admin Video Downloads Section */
.admin-video-downloads {
    margin: 3rem 0;
    padding: 2rem;
    background: #1A1F2E;
    border-radius: 16px;
    border: 2px solid #F59E0B;
    position: relative;
    overflow: hidden;
}

.admin-video-downloads::before {
    content: '\f3cd';
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    color: rgba(245, 158, 11, 0.1);
    font-weight: 900;
}

.admin-video-downloads h2 {
    color: #F59E0B;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-video-downloads h2 i {
    font-size: 1.5rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.video-card {
    background: #0F0F23;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #2D3748;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.video-icon {
    width: 60px;
    height: 60px;
    background: #F59E0B;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-icon i {
    font-size: 1.5rem;
    color: #0F0F23;
}

.video-info {
    flex: 1;
    min-width: 0;
}

.video-info h4 {
    color: #E2E8F0;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94A3B8;
}

.video-meta .size {
    color: #3DDC84;
    font-weight: 600;
}

.video-meta .date {
    color: #94A3B8;
}

.video-download-btn {
    background: #F59E0B;
    color: #0F0F23;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.video-download-btn:hover {
    background: #D97706;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.video-download-btn i {
    font-size: 0.9rem;
}

.no-videos {
    color: #94A3B8;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .downloads-hero h1 {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .instructions-content {
        grid-template-columns: 1fr;
    }
    
    .downloads-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .app-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .marketsnap-downloads-page {
        padding: 1rem 0.5rem;
    }
    
    .downloads-hero {
        padding: 2rem 0.5rem 1rem;
    }
    
    .downloads-hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-logo {
        height: 50px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: fadeIn 0.5s ease-out;
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.app-card:nth-child(4) { animation-delay: 0.4s; }


