/* Premium Analytics Styles - Matching Social Media Sentiment */

/* Analytics Header */
.analytics-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.analytics-header h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.analytics-header p {
    color: #ccc;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Analytics Search Container */
.analytics-search-container {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.analytics-search-container h3 {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Input */
#movieAnalyticsSearch {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #fff;
    padding: 15px 25px;
    font-size: 1.2rem;
    border-radius: 50px;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

#movieAnalyticsSearch:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

#movieAnalyticsSearch::placeholder {
    color: #666;
}

/* Search Button */
#searchMovieAnalytics {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#searchMovieAnalytics:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* Movie Results Cards */
.movie-info-card,
.movie-summary-card,
.movie-analysis-card {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid #333;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.movie-info-card:hover,
.movie-summary-card:hover,
.movie-analysis-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.movie-info-card h4,
.movie-summary-card h4,
.movie-analysis-card h4 {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
}

/* Movie Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    background: rgba(255, 215, 0, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.detail-label {
    display: block;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Creative Team Section */
.creative-team-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

.creative-team-section h4 {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.crew-item {
    background: rgba(255, 215, 0, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.crew-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.crew-label {
    display: block;
    color: #FFD700;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crew-value {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

/* Movie Plot */
.movie-plot {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Analysis Content */
.analysis-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-state p {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 500;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.no-results h3 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-results p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .analytics-header h1 {
        font-size: 2rem;
    }
    
    .details-grid,
    .crew-grid {
        grid-template-columns: 1fr;
    }
    
    #movieAnalyticsSearch {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    #searchMovieAnalytics {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
