/**
 * Neizlesem.com Homepage Styles
 * Modern film öneri sistemi tasarımı
 * 
 * @package Neizlesem_Theme
 * @version 1.0.0
 */

/* ===================================
   HOMEPAGE VARIABLES
   =================================== */
:root {
    /* Homepage Colors - Light Theme Default */
    --homepage-bg: #ffffff;
    --homepage-text: #333333;
    --homepage-text-light: #666666;
    --form-bg: rgba(255, 255, 255, 0.95);
    --form-border: rgba(0, 0, 0, 0.1);
    --form-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Interactive Elements */
    --option-bg: #f8f9fa;
    --option-hover: #e9ecef;
    --option-selected: #e50914;
    --option-selected-bg: rgba(229, 9, 20, 0.1);
    
    /* Button Colors */
    --button-primary: #e50914;
    --button-primary-hover: #d00813;
    --button-secondary: #6c757d;
    --button-secondary-hover: #545b62;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --homepage-bg: #1a1a1a;
    --homepage-bg-dark: #1a1a1a;
    --homepage-text: #ffffff;
    --homepage-text-dark: #ffffff;
    --homepage-text-light: #cccccc;
    --form-bg: rgba(45, 45, 45, 0.95);
    --form-border: rgba(255, 255, 255, 0.1);
    --form-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --card-bg-dark: #2d2d2d;
    
    --option-bg: #1a1a1a;
    --option-hover: #2a2a2a;
    --option-selected: #e50914;
    --option-selected-bg: rgba(229, 9, 20, 0.2);
}

/* Light Theme */
[data-theme="light"] {
    --homepage-bg: #ffffff;
    --homepage-text: #333333;
    --homepage-text-light: #666666;
    --form-bg: rgba(255, 255, 255, 0.95);
    --form-border: rgba(0, 0, 0, 0.1);
    --form-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    --option-bg: #f8f9fa;
    --option-hover: #e9ecef;
    --option-selected: #e50914;
    --option-selected-bg: rgba(229, 9, 20, 0.1);
}

/* ===================================
   HOMEPAGE STRUCTURE
   =================================== */

.homepage-hero {
    min-height: calc(100vh - 80px);
    background: var(--homepage-bg);
    color: var(--homepage-text);
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Dark theme global body override */
[data-theme="dark"] body,
[data-theme="dark"] html {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

[data-theme="dark"] .homepage-hero {
    background: #1a1a1a !important;
}

.homepage-hero .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ===================================
   AD CONTAINER
   =================================== */

.ad-container {
    width: 100%;
    max-width: 728px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

/* Basit İçerik Bulunamadı Uyarısı */
.no-content-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.2);
    position: relative !important;
    z-index: 100 !important;
    width: 100% !important;
    display: block !important;
}

.no-content-warning .warning-icon {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.no-content-warning .warning-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #856404;
    margin: 0 0 1rem 0;
}

.no-content-warning .warning-message {
    font-size: 1.1rem;
    color: #856404;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.no-content-warning .warning-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-content-warning .clear-filters-btn,
.no-content-warning .random-suggestion-btn {
    background: #f39c12;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.no-content-warning .clear-filters-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.no-content-warning .random-suggestion-btn {
    background: #27ae60;
}

.no-content-warning .random-suggestion-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .no-content-warning {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .no-content-warning .warning-title {
        font-size: 1.5rem;
    }
    
    .no-content-warning .warning-message {
        font-size: 1rem;
    }
    
    .no-content-warning .warning-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .no-content-warning .clear-filters-btn,
    .no-content-warning .random-suggestion-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    /* Middle banner mobile */
    .middle-ad-container {
        margin: 1rem auto;
        padding: 0 1rem;
    }
    
    .middle-ad-banner {
        min-height: 60px;
        max-height: 150px;
    }
}

.ad-banner {
    width: 100%;
    min-height: 90px;
    max-height: 250px;
    background: var(--form-bg);
    border: 1px solid var(--form-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Middle Banner (Seçim Sonrası) */
.middle-ad-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.middle-ad-banner {
    width: 100%;
    min-height: 90px;
    max-height: 250px;
    background: var(--form-bg);
    border: 1px solid var(--form-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.middle-ad-banner:hover {
    border-color: var(--form-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ad-placeholder {
    padding: 1rem;
    text-align: center;
    color: var(--homepage-text-light);
}

.ad-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--homepage-text-light);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.5rem;
}

.ad-text {
    font-size: 14px;
    color: var(--homepage-text-light);
    margin: 0;
    opacity: 0.8;
}

/* Gerçek reklam yüklendiğinde placeholder'ı gizle */
.ad-banner:has(> :not(.ad-placeholder)) .ad-placeholder {
    display: none;
}

/* Responsive ad sizing */
@media (max-width: 768px) {
    .ad-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .ad-banner {
        min-height: 90px;
        max-height: 150px;
    }
    
    .ad-text {
        font-size: 14px;
    }
    
    .ad-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ad-container {
        padding: 0 0.5rem;
    }
    
    .ad-banner {
        min-height: 80px;
        max-height: 120px;
    }
    
    .ad-placeholder {
        padding: 1rem 0.5rem;
    }
    
    .ad-text {
        font-size: 13px;
    }
}



/* ===================================
   HERO TITLE
   =================================== */

.hero-title {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--homepage-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--homepage-text-light);
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* ===================================
   FORM WITH ADS LAYOUT
   =================================== */

.form-with-ads {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Side Ad Containers - Form hemen yanında sabit */
.side-ad-container {
    position: absolute;
    width: 160px;
    top: 0;
    z-index: 1;
    transition: all var(--transition-normal);
}

.left-ad {
    left: -200px;
}

.right-ad {
    right: -200px;
}

/* Yan reklam alanları için hover efektleri */
.side-ad-container:hover {
    transform: scale(1.02);
    z-index: 2;
}

/* Form container orijinal genişliğinde kalıyor */

.side-ad-banner {
    width: 160px;
    height: 600px;
    background: linear-gradient(135deg, var(--form-bg) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid var(--form-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Yan reklam alanları için gradient overlay */
.side-ad-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(229, 9, 20, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.side-ad-banner:hover::before {
    opacity: 1;
}

.side-ad-banner:hover {
    border-color: var(--homepage-accent);
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.2);
    transform: translateY(-2px);
}

.side-ad-banner .ad-placeholder {
    padding: 1rem 0.5rem;
    text-align: center;
    color: var(--homepage-text-light);
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

/* Yan reklam placeholder için ikon */
.side-ad-banner .ad-placeholder::before {
    content: '📱';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.side-ad-banner:hover .ad-placeholder::before {
    opacity: 1;
    transform: scale(1.1);
}

.side-ad-banner:hover .ad-placeholder {
    color: var(--homepage-accent);
}

.side-ad-banner .ad-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--homepage-text-light);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.5rem;
    transition: all var(--transition-normal);
}

.side-ad-banner:hover .ad-label {
    color: var(--homepage-accent);
    opacity: 1;
}

.side-ad-banner .ad-text {
    font-size: 12px;
    color: var(--homepage-text-light);
    margin: 0;
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.side-ad-banner:hover .ad-text {
    color: var(--homepage-accent);
    opacity: 1;
}

/* Yan reklam alanları için loading animasyonu */
@keyframes adPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.side-ad-banner .ad-placeholder {
    animation: adPulse 3s ease-in-out infinite;
}

.side-ad-banner:hover .ad-placeholder {
    animation: none;
}

/* Alt Banner Reklam Alanı */
.bottom-ad-container {
    width: 100%;
    max-width: 728px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.bottom-ad-banner {
    width: 100%;
    min-height: 90px;
    max-height: 250px;
    background: var(--form-bg);
    border: 1px solid var(--form-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.bottom-ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--form-shadow);
}

.bottom-ad-banner .ad-placeholder {
    text-align: center;
    color: var(--homepage-text-light);
}

.bottom-ad-banner .ad-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--homepage-accent);
    display: block;
    margin-bottom: 0.25rem;
}

.bottom-ad-banner .ad-text {
    font-size: 0.8rem;
    color: var(--homepage-text-light);
    margin: 0;
    opacity: 0.8;
}

/* Responsive ad sizing */
@media (max-width: 768px) {
    .bottom-ad-container {
        max-width: 320px;
    }
    
    .bottom-ad-banner {
        min-height: 50px;
        max-height: 100px;
    }
    
    .bottom-ad-banner .ad-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .bottom-ad-container {
        max-width: 300px;
        margin-bottom: 1.5rem;
    }
    
    .bottom-ad-banner {
        min-height: 50px;
        border-radius: 6px;
    }
    
    .bottom-ad-banner .ad-placeholder {
        padding: 0.75rem;
    }
}

/* Yan reklamlar için responsive davranış */
@media (max-width: 1400px) {
    .side-ad-container {
        position: relative;
        width: 100%;
        max-width: 160px;
        margin: 0 auto 1rem auto;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .left-ad {
        left: auto;
    }
    
    .right-ad {
        right: auto;
    }
    
    .suggestion-form-container {
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 1200px) {
    .side-ad-container {
        display: none;
    }
    
    .suggestion-form-container {
        margin: 0 auto 2rem auto;
        max-width: 100%;
    }
}

/* ===================================
   SUGGESTION FORM CONTAINER
   =================================== */

.suggestion-form-container {
    background: var(--form-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--form-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--form-border);
    margin-bottom: 2rem;
    transition: all var(--transition-normal);
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* ===================================
   FORM SECTIONS
   =================================== */

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--homepage-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   MOOD OPTIONS (RUH HALİ)
   =================================== */

.mood-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.mood-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.mood-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mood-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--option-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--homepage-text);
    transition: all var(--transition-fast);
    justify-content: center;
    text-align: left; /* Flex içinde left, justify-content center ile ortalanır */
    white-space: nowrap; /* Metin taşmasını önle */
    overflow: hidden; /* Taşan içeriği gizle */
    min-width: 120px; /* Minimum genişlik */
    box-sizing: border-box; /* Padding dahil */
}

.mood-icon {
    font-size: 16px;
    color: var(--homepage-text-light);
    transition: color var(--transition-fast);
}

.mood-option input:checked + .mood-label .mood-icon {
    color: var(--option-selected);
}

.mood-option:hover .mood-icon {
    color: var(--option-selected);
}

.mood-option:hover .mood-label {
    background: var(--option-hover);
    transform: scale(1.02); /* Kayma yerine hafif büyütme */
}

.mood-option input:checked + .mood-label {
    background: var(--option-selected-bg);
    border-color: var(--option-selected);
    color: var(--option-selected);
    transform: none; /* Kayma kaldırıldı */
    box-shadow: 0 0 0 2px var(--option-selected); /* Çift çizgi yerine glow */
}

/* ===================================
   CONTENT TYPE OPTIONS
   =================================== */

.content-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.content-type-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.content-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--option-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--homepage-text);
    transition: all var(--transition-fast);
    text-align: left; /* Flex içinde left, justify-content center ile ortalanır */
    white-space: nowrap; /* Metin taşmasını önle */
    overflow: hidden; /* Taşan içeriği gizle */
    min-width: 150px; /* Minimum genişlik - type için biraz daha geniş */
    box-sizing: border-box; /* Padding dahil */
}

.content-type-icon {
    font-size: 20px;
    color: var(--homepage-text-light);
    transition: color var(--transition-fast);
}

.content-type-option input:checked + .type-label .content-type-icon {
    color: var(--option-selected);
}

.content-type-option:hover .type-label {
    background: var(--option-hover);
    transform: scale(1.02); /* Kayma yerine hafif büyütme */
}

.content-type-option:hover .content-type-icon {
    color: var(--option-selected);
}

.content-type-option input:checked + .type-label {
    background: var(--option-selected-bg);
    border-color: var(--option-selected);
    color: var(--option-selected);
    transform: none; /* Kayma kaldırıldı */
    box-shadow: 0 0 0 2px var(--option-selected); /* Çift çizgi yerine glow */
}

/* ===================================
   PLATFORM OPTIONS
   =================================== */

.platform-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    /* Taşma düzeltmeleri */
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.platform-option {
    display: block;
    cursor: pointer;
    /* Taşma düzeltmeleri */
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.platform-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.platform-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--option-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--homepage-text);
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap; /* Metin taşmasını önle */
    overflow: hidden; /* Taşan içeriği gizle */
    min-height: 80px; /* Sabit yükseklik */
    min-width: 100px; /* Minimum genişlik - platform için */
    box-sizing: border-box; /* Padding dahil */
    /* Taşma düzeltmeleri */
    max-width: 100%;
    text-overflow: ellipsis;
}

.platform-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    background: #666666;
}

/* Platform Specific Styles */
.netflix-icon {
    background: #e50914;
    font-size: 22px;
    font-weight: 900;
    font-family: 'Arial Black', Arial, sans-serif;
    letter-spacing: -1px;
}

.disney-icon {
    background: linear-gradient(45deg, #113ccf, #1e5dff);
    font-size: 13px;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.hbo-icon {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    font-size: 11px;
    font-weight: 900;
    font-family: 'Arial Black', Arial, sans-serif;
    letter-spacing: 1px;
}

.apple-icon {
    background: linear-gradient(45deg, #000000, #333333);
    color: white;
    font-size: 20px;
}

.platform-icon.fab,
.platform-icon.fas {
    background: #333333;
    color: white;
}

/* Amazon Prime özel stil */
.platform-option:nth-child(2) .platform-icon.fab {
    background: linear-gradient(45deg, #00a8e1, #0073aa);
    color: white;
}

/* Türk platformları için özel stiller */
.platform-option:nth-child(4) .platform-icon.fas, /* BluTV */
.platform-option:nth-child(5) .platform-icon.fas, /* Exxen */
.platform-option:nth-child(6) .platform-icon.fas { /* Gain */
    background: linear-gradient(45deg, #2c3e50, #34495e);
}

/* Seçili durumda orijinal platform renklerini koru */
.platform-option input:checked + .platform-label .platform-icon.fab,
.platform-option input:checked + .platform-label .platform-icon.fas {
    /* Orijinal renkler korunacak */
}

/* Amazon Prime seçili durumu */
.platform-option:nth-child(2) input:checked + .platform-label .platform-icon.fab {
    background: linear-gradient(45deg, #00a8e1, #0073aa);
}

/* Türk platformları seçili durumu */
.platform-option:nth-child(4) input:checked + .platform-label .platform-icon.fas,
.platform-option:nth-child(5) input:checked + .platform-label .platform-icon.fas,
.platform-option:nth-child(6) input:checked + .platform-label .platform-icon.fas {
    background: linear-gradient(45deg, #2c3e50, #34495e);
}

.platform-option input:checked + .platform-label .netflix-icon {
    background: #e50914;
    color: white;
}

.platform-option input:checked + .platform-label .disney-icon {
    background: linear-gradient(45deg, #113ccf, #1e5dff);
    color: white;
}



.platform-option input:checked + .platform-label .hbo-icon {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    color: white;
}

.platform-option input:checked + .platform-label .apple-icon {
    background: linear-gradient(45deg, #000000, #333333);
    color: white;
}

.platform-option:hover .platform-label {
    background: var(--option-hover);
    transform: scale(1.02); /* Kayma yerine hafif büyütme */
}

.platform-option input:checked + .platform-label {
    background: var(--option-selected-bg);
    border-color: var(--option-selected);
    color: var(--option-selected);
    transform: none; /* Kayma kaldırıldı */
    box-shadow: 0 0 0 2px var(--option-selected); /* Çift çizgi yerine glow */
}

/* ===================================
   FORM SUBMIT
   =================================== */

.form-submit {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.suggest-button {
    background: var(--button-primary);
    color: #ffffff !important;
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
}

.suggest-button:hover {
    background: var(--button-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
}

.suggest-button:active {
    transform: translateY(-1px);
}

/* Random Button Styles */
.random-button {
    background: var(--button-secondary, #6c757d);
    color: #ffffff !important;
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 4px 20px rgba(108, 117, 125, 0.3);
}

.random-button:hover {
    background: var(--button-secondary-hover, #5a6268);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 117, 125, 0.4);
}

.random-button:active {
    transform: translateY(-1px);
}

/* Mobile responsive for buttons */
@media (max-width: 768px) {
    .form-submit {
        flex-direction: column;
        gap: 1rem;
    }
    
    .suggest-button,
    .random-button {
        width: 100%;
        max-width: 300px;
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .suggest-button,
    .random-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Icon removed from suggest button */

/* ===================================
   CELEBRATION MESSAGE
   =================================== */

.celebration-message {
    text-align: center;
    margin-bottom: 2rem;
    animation: celebrationFadeIn 0.8s ease-out;
}

.celebration-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.celebration-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: celebrationShimmer 3s ease-in-out infinite;
}

.celebration-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.celebration-icon {
    font-size: 2rem;
    color: #ffd700;
    animation: celebrationBounce 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.celebration-icon:nth-child(1) {
    animation-delay: 0s;
}

.celebration-icon:nth-child(2) {
    animation-delay: 0.3s;
}

.celebration-icon:nth-child(3) {
    animation-delay: 0.6s;
}

.celebration-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    font-family: "Poppins", sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.celebration-sparkles {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.sparkle {
    font-size: 1.5rem;
    animation: celebrationSparkle 2s ease-in-out infinite;
    display: inline-block;
}

.sparkle:nth-child(1) {
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    animation-delay: 1s;
}

.sparkle:nth-child(4) {
    animation-delay: 1.5s;
}

/* Celebration Animations */
@keyframes celebrationFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes celebrationBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    10% {
        transform: translateY(-10px) rotate(-5deg);
    }
    30% {
        transform: translateY(-5px) rotate(5deg);
    }
    60% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

@keyframes celebrationSparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.3) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.8) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.2) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes celebrationShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===================================
   SUGGESTION RESULT
   =================================== */

.suggestion-result {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.suggestion-result.show {
    opacity: 1;
    transform: translateY(0);
}

.result-card {
    background: var(--form-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--form-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--form-border);
}

.result-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.result-poster {
    display: flex;
    justify-content: center;
}

.poster-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 2/3; /* Standard poster ratio */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.result-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--homepage-text);
    margin: 0;
}

.result-year,
.result-genre {
    font-size: 14px;
    color: var(--homepage-text-light);
    margin: 0;
}

.result-platforms {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.platform-badge {
    background: var(--option-selected);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.result-description {
    color: var(--homepage-text);
    line-height: 1.6;
    margin: 0;
}

/* Result Meta Items - Inline Layout */
.result-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.meta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--homepage-text);
    font-size: 0.9rem;
    white-space: nowrap;
}

.meta-label i {
    color: var(--button-primary, #007bff);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.meta-value {
    display: inline-block;
    font-size: 1rem;
    color: var(--homepage-text-light);
    font-weight: 500;
    margin: 0;
}

.meta-platforms {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.meta-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--homepage-text-light);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

/* Special layout for description - block instead of inline */
.result-meta-description {
    flex-direction: column;
    align-items: flex-start;
}

.result-meta-description .meta-description {
    margin-top: 0.5rem;
    margin-left: 0;
    width: 100%;
}

.meta-imdb-score {
    display: inline-flex;
    align-items: center;
    background: #f5c518;
    color: #000;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}

.meta-imdb-score::before {
    content: '⭐';
    margin-right: 0.3rem;
}

/* Platform badges in meta */
.meta-platforms .platform-badge {
    background: var(--button-primary, #007bff);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Legacy rating styles (fallback) */
.result-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-label {
    font-weight: 600;
    color: var(--homepage-text-light);
}

.rating-value {
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

/* ===================================
   RESULT ACTIONS
   =================================== */

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.change-button,
.save-button,
.detail-button {
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
}

.change-button {
    background: var(--button-secondary);
    color: white;
}

.change-button:hover {
    background: var(--button-secondary-hover);
    transform: translateY(-2px);
}

/* Change button loading animation */
.change-button.loading {
    opacity: 0.8;
    cursor: wait;
    pointer-events: none;
    transform: none !important; /* Disable hover transform during loading */
}

.change-button.loading .change-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Smooth icon transition */
.change-icon {
    transition: transform 0.3s ease;
}

.save-button,
.detail-button {
    background: var(--button-primary);
    color: white;
}

.save-button:hover,
.detail-button:hover {
    background: var(--button-primary-hover);
    transform: translateY(-2px);
}

/* ===================================
   VIRAL SOCIAL MEDIA SHARE
   =================================== */

.viral-share-section {
    margin-top: 2rem;
    animation: viralSectionFadeIn 1s ease-out 0.5s both;
}

.viral-share-content {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
    border-radius: 25px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.3);
}

.viral-share-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: viralShimmer 3s linear infinite;
}

.viral-message {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.viral-text-container {
    margin-bottom: 1.5rem;
}

.viral-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    font-family: "Poppins", sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.viral-emoji {
    display: inline-block;
    animation: viralEmojiDance 2s ease-in-out infinite;
    font-size: 1.2em;
}

.viral-emoji:nth-child(1) {
    animation-delay: 0s;
}

.viral-emoji:nth-child(3) {
    animation-delay: 0.5s;
}

.viral-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.viral-fire {
    display: inline-block;
    animation: viralFireFlicker 1s ease-in-out infinite;
    margin-left: 0.5rem;
}

.viral-arrow-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.viral-arrow-wrapper {
    position: relative;
    display: inline-block;
}

.viral-arrow {
    font-size: 2rem;
    color: white;
    animation: viralArrowBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.viral-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: viralPulse 2s ease-out infinite;
}

.viral-pulse-ring-2 {
    animation-delay: 1s;
}

.viral-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.viral-share-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.viral-btn-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.viral-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.viral-btn-text {
    font-size: 1rem;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.viral-btn-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

/* Platform specific colors */
.instagram-viral-btn {
    color: #E4405F;
}

.instagram-viral-btn:hover {
    background: #E4405F;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(228, 64, 95, 0.4);
}

.facebook-viral-btn {
    color: #1877F2;
}

.facebook-viral-btn:hover {
    background: #1877F2;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.4);
}

.twitter-viral-btn {
    color: #1DA1F2;
}

.twitter-viral-btn:hover {
    background: #1DA1F2;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(29, 161, 242, 0.4);
}

.whatsapp-viral-btn {
    color: #25D366;
}

.whatsapp-viral-btn:hover {
    background: #25D366;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.viral-share-btn:hover .viral-btn-effect {
    left: 100%;
}

.viral-share-btn:hover .viral-icon {
    transform: scale(1.2) rotate(10deg);
}

.viral-share-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.viral-motivator {
    text-align: center;
    position: relative;
    z-index: 2;
}

.viral-motivator-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.viral-heart {
    color: #ff6b6b;
    animation: viralHeartBeat 1.5s ease-in-out infinite;
}

/* Viral Animations */
@keyframes viralSectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes viralShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes viralEmojiDance {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(5deg);
    }
}

@keyframes viralFireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-2deg);
    }
    50% {
        transform: scale(0.9) rotate(2deg);
    }
    75% {
        transform: scale(1.05) rotate(-1deg);
    }
}

@keyframes viralArrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes viralPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes viralHeartBeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    75% {
        transform: scale(1.1);
    }
}

/* ===================================
   SOCIAL MEDIA SHARE (OLD - FALLBACK)
   =================================== */

.social-share {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--form-border);
}

.share-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--homepage-text);
    margin-bottom: 1rem;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: white;
    text-decoration: none;
    min-width: 110px;
    justify-content: center;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.facebook-btn {
    background: #1877f2;
}

.facebook-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.twitter-btn {
    background: #1da1f2;
}

.twitter-btn:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.share-btn i {
    font-size: 16px;
}

.share-text {
    font-size: 13px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title h1 {
        font-size: 2.5rem;
    }
    
    .suggestion-form-container {
        padding: 2rem;
    }
    
    .mood-options {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .platform-options {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .homepage-hero {
        padding: 2rem 0;
    }
    
    .homepage-hero .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        margin-bottom: 2rem;
    }
    
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .suggestion-form-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .mood-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .content-type-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .result-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center;
    }
    
    .poster-image {
        max-width: 250px !important;
        margin: 0 auto;
    }
    
    .result-info {
        text-align: left !important;
        max-width: 100%;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .change-button,
    .save-button,
    .detail-button {
        width: 100%;
        justify-content: center;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .share-btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Celebration message mobile */
    .celebration-content {
        padding: 1.5rem 1rem;
    }
    
    .celebration-text {
        font-size: 1.2rem;
    }
    
    .celebration-icons {
        gap: 0.5rem;
    }
    
    .celebration-icon {
        font-size: 1.5rem;
    }
    
    .sparkle {
        font-size: 1.2rem;
    }
    
    /* Viral share mobile */
    .viral-share-content {
        padding: 1.5rem 1rem;
    }
    
    .viral-title {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .viral-subtitle {
        font-size: 1rem;
    }
    
    .viral-share-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .viral-share-btn {
        padding: 0.8rem 1rem;
    }
    
    .viral-icon {
        font-size: 1.3rem;
    }
    
    .viral-btn-text {
        font-size: 0.9rem;
    }
    
    .viral-arrow {
        font-size: 1.5rem;
    }
    
    .viral-motivator-text {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Meta items mobile - inline layout */
    .result-meta-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.4rem;
        margin-bottom: 0.6rem;
    }
    
    .meta-label {
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .meta-value {
        font-size: 0.9rem;
    }
    
    .meta-description {
        font-size: 0.85rem;
        line-height: 1.4;
        min-width: 150px;
    }
    
    /* Description block layout mobile */
    .result-meta-description .meta-description {
        margin-top: 0.4rem;
        margin-left: 0;
    }
    
    .meta-imdb-score {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .homepage-hero {
        padding: 1rem 0;
    }
    
    .hero-title h1 {
        font-size: 1.8rem;
    }
    
    .suggestion-form-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    /* Small mobile - single column layout */
    .result-content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        text-align: center;
    }
    
    .poster-image {
        max-width: 200px !important;
        margin: 0 auto;
    }
    
    .result-info {
        text-align: left !important;
        max-width: 100%;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .mood-label,
    .type-label {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .platform-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-label {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .platform-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .netflix-icon {
        font-size: 18px;
    }
    
    .disney-icon {
        font-size: 12px;
    }
    
    .hbo-icon {
        font-size: 10px;
    }
    
    .suggest-button {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    .result-title {
        font-size: 1.5rem;
    }
}

/* ===================================
   LOADING STATES
   =================================== */

.suggest-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.suggest-button.loading .button-text {
    opacity: 0;
}

.suggest-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.mood-option:focus-within .mood-label,
.content-type-option:focus-within .type-label,
.platform-option:focus-within .platform-label {
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.4); /* Outline yerine box-shadow */
    outline: none; /* Default outline kaldır */
}

.suggest-button:focus,
.change-button:focus,
.save-button:focus,
.detail-button:focus {
    outline: 2px solid var(--button-primary);
    outline-offset: 2px;
}

/* Small mobile celebration styles */
@media (max-width: 480px) {
    .celebration-text {
        font-size: 1rem !important;
        line-height: 1.3;
    }
    
    .celebration-content {
        padding: 1rem !important;
    }
    
    .celebration-icons {
        margin-bottom: 0.5rem;
    }
    
    .celebration-sparkles {
        gap: 0.5rem;
    }
    
    /* Viral share small mobile */
    .viral-share-content {
        padding: 1rem 0.8rem !important;
        border-radius: 20px;
    }
    
    .viral-title {
        font-size: 1rem !important;
        line-height: 1.3;
    }
    
    .viral-subtitle {
        font-size: 0.9rem !important;
    }
    
    .viral-share-buttons {
        grid-template-columns: 1fr !important;
        gap: 0.6rem;
    }
    
    .viral-share-btn {
        padding: 0.7rem 0.8rem !important;
    }
    
    .viral-btn-content {
        gap: 0.6rem;
    }
    
    .viral-icon {
        font-size: 1.2rem !important;
    }
    
    .viral-btn-text {
        font-size: 0.85rem !important;
    }
    
    .viral-arrow {
        font-size: 1.3rem !important;
    }
    
    .viral-pulse-ring {
        width: 50px;
        height: 50px;
    }
    
    .viral-motivator-text {
        font-size: 0.8rem !important;
        gap: 0.3rem;
    }
    
    /* Meta items small mobile - inline layout */
    .result-meta-item {
        gap: 0.3rem !important;
        margin-bottom: 0.5rem !important;
        flex-wrap: wrap;
    }
    
    .meta-label {
        font-size: 0.8rem !important;
        gap: 0.3rem;
    }
    
    .meta-value {
        font-size: 0.85rem !important;
    }
    
    .meta-description {
        font-size: 0.8rem !important;
        line-height: 1.3;
        min-width: 120px;
    }
    
    /* Description block layout small mobile */
    .result-meta-description .meta-description {
        margin-top: 0.3rem !important;
        margin-left: 0 !important;
    }
    
    .meta-platforms .platform-badge {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
    
    .meta-imdb-score {
        font-size: 0.8rem !important;
        padding: 0.25rem 0.5rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Disable celebration animations for accessibility */
    .celebration-message,
    .celebration-icon,
    .sparkle,
    .celebration-content::before {
        animation: none !important;
    }
    
    /* Disable viral animations for accessibility */
    .viral-share-section,
    .viral-share-content::before,
    .viral-emoji,
    .viral-fire,
    .viral-arrow,
    .viral-pulse-ring,
    .viral-heart {
        animation: none !important;
    }
    
    .viral-share-btn:hover {
        transform: none !important;
    }
    
    .viral-share-btn:hover .viral-icon {
        transform: none !important;
    }
}

/* ===================================
   SELECTION WARNING - SEÇİM UYARISI
   =================================== */

.selection-warning {
    display: none !important; /* Başlangıçta gizli */
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.1) 0%, 
        rgba(30, 136, 229, 0.1) 50%, 
        rgba(25, 118, 210, 0.1) 100%);
    border: 2px dashed rgba(33, 150, 243, 0.4);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 0 0 2rem 0;
    position: relative;
    overflow: hidden;
    animation: selectionPulse 3s ease-in-out infinite;
}

.selection-warning::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    animation: selectionGlow 4s ease-in-out infinite;
    pointer-events: none;
}

.selection-warning-content {
    position: relative;
    z-index: 2;
}

/* Animasyonlu İşaret */
.warning-animation {
    position: relative;
    margin-bottom: 2rem;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selection-pointer {
    position: relative;
    z-index: 3;
}

.pointer-icon {
    font-size: 3rem;
    color: #2196f3;
    animation: pointDown 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(33, 150, 243, 0.3));
}

.pointer-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(33, 150, 243, 0.6);
    border-radius: 50%;
    animation: pointerPulse 2s ease-in-out infinite;
}

.pointer-pulse.pulse-2 {
    animation-delay: 1s;
    border-color: rgba(33, 150, 243, 0.4);
}

/* Yüzen Seçim Baloncukları */
.floating-selections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.selection-bubble {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: floatBubble 4s ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.bubble-1 {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.bubble-2 {
    right: 20%;
    top: 30%;
    animation-delay: 1.5s;
}

.bubble-3 {
    left: 50%;
    top: 10%;
    animation-delay: 3s;
}

/* Mesaj Bölümü */
.warning-message {
    position: relative;
    z-index: 2;
}

.warning-title {
    color: #1976d2;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-icon {
    animation: infoBlink 2s ease-in-out infinite;
}

.warning-text {
    color: var(--homepage-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Adım Listesi */
.selection-steps {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    animation: stepGlow 3s ease-in-out infinite;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.step-text {
    color: var(--homepage-text);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Animasyonlar */
@keyframes selectionPulse {
    0%, 100% { 
        border-color: rgba(33, 150, 243, 0.4);
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.3);
    }
    50% { 
        border-color: rgba(33, 150, 243, 0.7);
        box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
    }
}

@keyframes selectionGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes pointDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes pointerPulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes floatBubble {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
}

@keyframes infoBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes stepGlow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
    }
    33% { 
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    }
    66% { 
        transform: scale(1.02);
        box-shadow: 0 3px 12px rgba(33, 150, 243, 0.25);
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .selection-warning {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .warning-animation {
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .pointer-icon {
        font-size: 2.5rem;
    }
    
    .warning-title {
        font-size: 1.4rem;
    }
    
    .warning-text {
        font-size: 0.95rem;
    }
    
    .selection-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .step-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .selection-warning {
        padding: 1.5rem 0.8rem;
        border-radius: 15px;
    }
    
    .warning-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .selection-bubble {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .step-text {
        font-size: 0.85rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .selection-warning,
    .pointer-icon,
    .pointer-pulse,
    .selection-bubble,
    .info-icon,
    .step-item {
        animation: none !important;
    }
    
    .selection-warning {
        border-style: solid;
    }
}

/* ===================================
   NO CONTENT WARNING - İÇERİK BULUNAMADI UYARISI
   =================================== */

.no-content-warning,
.dynamic-no-content-warning {
    display: none; /* Başlangıçta gizli */
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15) 0%, 
        rgba(255, 152, 0, 0.15) 50%, 
        rgba(255, 87, 34, 0.15) 100%);
    border: 3px dashed rgba(255, 193, 7, 0.6);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    animation: warningPulse 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.3);
}

.no-content-warning::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    animation: warningGlow 4s ease-in-out infinite;
    pointer-events: none;
}

/* Film Makarası Animasyonu */
.no-content-animation {
    position: relative;
    margin-bottom: 2rem;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-film-reel {
    position: relative;
    z-index: 2;
}

.film-reel {
    width: 80px;
    height: 80px;
    border: 4px solid #ffc107;
    border-radius: 50%;
    position: relative;
    background: rgba(255, 193, 7, 0.1);
    animation: filmReelSpin 3s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reel-hole {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    opacity: 0.7;
}

.reel-hole:nth-child(1) { top: 10px; left: 50%; transform: translateX(-50%); }
.reel-hole:nth-child(2) { top: 50%; right: 10px; transform: translateY(-50%); }
.reel-hole:nth-child(3) { bottom: 10px; left: 50%; transform: translateX(-50%); }
.reel-hole:nth-child(4) { top: 50%; left: 10px; transform: translateY(-50%); }
.reel-hole:nth-child(5) { top: 25px; right: 25px; }
.reel-hole:nth-child(6) { bottom: 25px; left: 25px; }

.film-strip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 20px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.3) 10%, 
        rgba(255, 193, 7, 0.5) 50%, 
        rgba(255, 193, 7, 0.3) 90%, 
        transparent 100%);
    animation: filmStripMove 2s ease-in-out infinite alternate;
}

.film-frame {
    position: absolute;
    width: 15px;
    height: 12px;
    border: 1px solid rgba(255, 193, 7, 0.6);
    background: rgba(255, 193, 7, 0.2);
    top: 50%;
    transform: translateY(-50%);
}

.film-frame:nth-child(1) { left: 10px; }
.film-frame:nth-child(2) { left: 50%; transform: translate(-50%, -50%); }
.film-frame:nth-child(3) { right: 10px; }

/* Yüzen İkonlar */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 193, 7, 0.4);
    animation: floatUp 4s ease-in-out infinite;
    opacity: 0;
}

.floating-icon:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    left: 80%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    left: 60%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
}

/* Mesaj Bölümü */
.no-content-message {
    position: relative;
    z-index: 2;
}

.warning-title {
    color: #ff9800;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.warning-icon {
    animation: warningBlink 2s ease-in-out infinite;
}

.warning-text {
    color: var(--homepage-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Öneri Butonları */
.suggestion-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.try-random-btn,
.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.try-random-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.try-random-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.clear-filters-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Animasyonlar */
@keyframes warningPulse {
    0%, 100% { 
        border-color: rgba(255, 193, 7, 0.3);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.2);
    }
    50% { 
        border-color: rgba(255, 193, 7, 0.6);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
}

@keyframes warningGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes filmReelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes filmStripMove {
    0% { 
        transform: translate(-50%, -50%) translateX(-10px);
        opacity: 0.5;
    }
    100% { 
        transform: translate(-50%, -50%) translateX(10px);
        opacity: 1;
    }
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-20px) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
}

@keyframes warningBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .no-content-warning {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
    }
    
    .no-content-animation {
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .film-reel {
        width: 60px;
        height: 60px;
    }
    
    .warning-title {
        font-size: 1.5rem;
    }
    
    .warning-text {
        font-size: 1rem;
    }
    
    .suggestion-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .try-random-btn,
    .clear-filters-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .no-content-warning {
        padding: 1.5rem 0.8rem;
        border-radius: 15px;
    }
    
    .warning-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .floating-icon {
        font-size: 1.2rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .no-content-warning,
    .film-reel,
    .film-strip,
    .floating-icon,
    .warning-icon {
        animation: none !important;
    }
    
    .no-content-warning {
        border-style: solid;
    }
}

