/* Custom CSS for Moje Streaming Website */

/* Root variables for consistent theming */
:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --hero-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

/* Hero Section Styling */
.hero-section {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bs-body-bg);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Category Items */
.category-item {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* App Showcase */
.app-showcase {
    position: relative;
}

.phone-mockup {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Screenshot Placeholders */
.screenshot-placeholder .card {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.screenshot-placeholder:hover .card {
    transform: scale(1.05);
}

/* Safety Features */
.safety-feature {
    padding: 0.75rem;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.safety-feature:hover {
    background: rgba(25, 135, 84, 0.2);
}

/* Policy Content Styling */
.policy-content .card {
    transition: transform 0.2s ease;
}

.policy-content .card:hover {
    transform: translateX(5px);
}

/* Custom button styles */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: var(--primary-gradient);
    border: none;
}

/* App Stats */
.app-stats .stat-item {
    display: flex;
    align-items: center;
    color: var(--bs-secondary);
    font-size: 0.9rem;
}

/* Navigation improvements */
.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Footer styling */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .app-stats {
        justify-content: center;
        text-align: center;
    }
    
    .app-stats .stat-item {
        margin: 0.25rem 0;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

/* Custom scrollbar for policy pages */
.policy-content {
    max-height: none;
}

/* Pink color for heart icon */
.text-pink {
    color: #e91e63 !important;
}

/* Border color utilities */
.border-pink {
    border-color: #e91e63 !important;
}

/* Download CTA Section */
.download-cta {
    background: var(--primary-gradient) !important;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}
