/* ===========================================================================
                    Movie Application Complete Stylesheet
   =========================================================================== */

/* Netflix Search Button Styles */
.netflix-search-trigger {
	flex: 1;
	max-width: 275px;
	padding: 1rem 2rem;
	border: none;
	border-radius: 15px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, #e50914, #831010);
	color: white;
}

.advanced-search-trigger {
	flex: 1;
	max-width: 275px;
	padding: 1rem 2rem;
	border: none;
	border-radius: 15px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, #9b59b6, #5e3370);
	color: white;
}

.netflix-search-trigger:hover,
.advanced-search-trigger:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.netflix-search-trigger i,
.advanced-search-trigger i {
	font-size: 1.4rem;
}

/* Netflix Modal Styles */
.netflix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e50914, #b81d24);
    color: white;
    border-radius: 20px 20px 0 0;
}

.netflix-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.netflix-search-btn {
    background: linear-gradient(135deg, #e50914, #b81d24);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.netflix-search-btn:hover {
    background: linear-gradient(135deg, #f40612, #d01b25);
    transform: translateY(-1px);
}

.netflix-results {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Netflix Autocomplete Suggestions */
#netflixModal .search-bar {
    position: relative;
}

.netflix-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--card-bg, #1a1a2e);
    border: 1px solid var(--border-color, #333);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-top: 0;
    width: 100%;
}

.netflix-suggestion {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.netflix-suggestion:last-child {
    border-bottom: none;
}

.netflix-suggestion:hover,
.netflix-suggestion.highlighted {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(178, 7, 16, 0.1));
}

.suggestion-poster {
    width: 40px;
    height: 60px;
    margin-right: 1rem;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggestion-poster i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

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

.suggestion-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0.25rem;
}

.suggestion-year {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.suggestion-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #ffc107;
    margin-left: auto;
    padding-left: 1rem;
}

.suggestion-rating i {
    font-size: 0.75rem;
}

/* Light mode styles for Netflix suggestions */
[data-theme="light"] .netflix-suggestions {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .netflix-suggestion {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .netflix-suggestion:hover,
[data-theme="light"] .netflix-suggestion.highlighted {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.08), rgba(178, 7, 16, 0.04));
}

[data-theme="light"] .suggestion-poster {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .suggestion-title {
    color: #1a1a1a;
}

[data-theme="light"] .suggestion-year {
    color: #6b7280;
}

[data-theme="light"] .suggestion-rating {
    color: #f59e0b;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.disclaimer i {
    color: #ffc107;
    font-size: 1.1rem;
    margin-top: 2px;
}

.disclaimer p {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.country-result {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.country-result:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.country-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.netflix-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #e50914, #b81d24);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.netflix-link:hover {
    background: linear-gradient(135deg, #f40612, #d01b25);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.loading-netflix {
    text-align: center;
    padding: 2rem;
    color: var(--text);
}

.loading-netflix i {
    font-size: 2rem;
    color: #e50914;
    margin-bottom: 1rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text);
}

.no-results i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.error-netflix {
    text-align: center;
    padding: 2rem;
    color: var(--accent);
}

.error-netflix i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Custom Properties and Color Variables */

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
	/* Dark theme (default) */
	--background: #0E0E12;
	--text: #F4F4F5;
	--accent: #FF4545;
	--gradient-start: rgba(255, 69, 69, 0.2);
	--gradient-end: rgba(14, 14, 18, 0.9);
	--primary: #FFFFED;
	--secondary: #F4eeee;
	--card-bg: rgba(17, 24, 39, 0.8);
	--love: #e11d48;
	--like: #2563eb;
	--watched: #475569;
	--success: #059669;
	--max-width-sm: 640px;
	--max-width-md: 768px;
	--max-width-lg: 1024px;
	--max-width-xl: 1280px;
	--button-bg: rgba(45, 45, 55, 0.8);
	--button-hover: rgba(55, 55, 65, 0.9);
	--border-color: rgba(255, 255, 255, 0.1);
	--border-color-hover: rgba(255, 255, 255, 0.2);
	--footer-bg: rgba(17, 24, 39, 0.8);
	--footer-text: #F4F4F5;
	--footer-link: #a5b4fc;
	--footer-link-hover: #c7d2fe;
	--footer-border: rgba(255, 255, 255, 0.1);
	--footer-shadow: rgba(0, 0, 0, 0.3);
}

/* Light theme styles - Enhanced version */
[data-theme="light"] {
    --background: #ffffff;
    --text: #1a1a1a;
    --gradient-start: rgba(79, 172, 254, 0.1);
    --gradient-end: rgba(255, 255, 255, 0.95);
    --primary: #111827;
    --secondary: #374151;
    --card-bg: rgba(255, 255, 255, 0.98);
    --button-bg: rgba(245, 245, 250, 0.98);
    --button-hover: rgba(235, 235, 240, 0.98);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.15);
    --footer-bg: rgba(255, 255, 255, 0.98);
    --footer-text: #1a1a1a;
    --footer-link: #2563eb;
    --footer-link-hover: #1d4ed8;
    --footer-border: rgba(0, 0, 0, 0.08);
    --footer-shadow: rgba(0, 0, 0, 0.08);
    --love: #dc2626;
    --like: #2563eb;
    --watched: #6b7280;
    --success: #059669;
    --accent: #3b82f6;

    /* New Enhancements */
    --highlight: #ff6f61;
    --gradient: linear-gradient(135deg, #ffffff, #f9fafb);
}

/* Theme toggle button */
.theme-toggle {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 100;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--button-bg);
	border: 1px solid var(--border-color);
	color: var(--text);
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
	background: var(--button-hover);
	border-color: var(--border-color-hover);
	transform: translateY(-2px);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Find Movie Button Styles */
.btn-find-movie {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-find-movie:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-find-movie:active {
    transform: translateY(0);
}

/* Availability Modal Styles */
.availability-modal {
    background: var(--gradient);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(59, 130, 246, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.availability-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
background: linear-gradient(to right, #3b82f6, #6366f1);
    color: white;
    position: relative;
    overflow: hidden;
}

.availability-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.availability-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.availability-content {
padding: 1.25rem;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
}

.availability-intro {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: var(--text);
    font-size: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border-left: 3px solid #4f46e5;
    animation: fadeInUp 0.5s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.availability-category {
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.5s ease 0.3s both;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 8px;
    border-left: 3px solid #4f46e5;
}

.category-results {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.major-platform {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.major-platform:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.other-platform {
background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.other-platform:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.more-services-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: rgba(156, 163, 175, 0.1);
    border: 1px solid rgba(156, 163, 175, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
    font-style: italic;
}

.availability-result {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.availability-result:hover::before {
    left: 100%;
}

.availability-result:hover {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
}

.service-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.countries-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9rem;
}

.availability-note {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text);
    animation: fadeInUp 0.5s ease 0.4s both;
}

.availability-note i {
    color: #f59e0b;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.availability-actions {
    display: flex;
    justify-content: center;
}

.btn-close-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-close-availability:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Responsive Design for Availability Modal */
@media (max-width: 768px) {
    .availability-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .availability-header {
        padding: 1rem 1.5rem;
    }
    
    .availability-header h2 {
        font-size: 1.1rem;
    }
    
    .availability-content {
        padding: 1.5rem;
    }
    
    .availability-result {
        padding: 0.8rem;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .countries-list {
        font-size: 0.8rem;
    }
}

/* Share button styles moved to loading.css for better organization */

body {
	font-family: 'Space Grotesk', sans-serif;
	background: var(--background);
	color: var(--text);
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow-x: hidden;
	padding: 2rem 0;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Gradient */
.gradient-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 50%, var(--gradient-start), transparent 70%);
	pointer-events: none;
	z-index: 0;
	transition: background 0.3s ease;
}

/* Container and Header Styles */
.container {
	position: relative;
	z-index: 1;
	width: 90%;
	max-width: 1200px;
	padding: clamp(1rem, 3vw, 2rem);
	text-align: center;
	margin: 0 auto;
}

.header {
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

.title-container {
	margin-top: 20px;
}

.header h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #f39c12;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	position: relative;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}

.title-letter {
	display: inline-block;
	background: linear-gradient(90deg, #f39c12, #d35400, #e74c3c, #f39c12);
	background-size: 200%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: subtleGlow 5s ease-in-out infinite;
}

.header h1::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--primary), transparent);
	border-radius: 2px;
}

/* Movie Card Components */
.movie-card {
	background: var(--card-bg);
	border-radius: 24px;
	padding: 2.5rem;
	backdrop-filter: blur(20px);
	box-shadow:
		0 25px 50px -12px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 255, 255, 0.1);
	transform-style: preserve-3d;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-card:hover {
	transform: translateY(-8px);
	box-shadow:
		0 30px 60px -12px rgba(0, 0, 0, 0.6),
		0 0 0 2px rgba(255, 255, 255, 0.15);
}

.movie-content {
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 1.5rem;
	align-items: start;
	padding: 1rem;
}

/* Movie Info Styles */
.movie-info h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	background: linear-gradient(135deg, #fff, #e2e8f0);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Movie Meta Section */
.movie-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2rem 0;
	padding: 1.5rem;
	background: rgba(17, 24, 39, 0.6);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
	flex: 1;
	min-width: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	background: rgba(45, 45, 55, 0.9);
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.meta-item:hover {
	transform: translateY(-2px);
	background: rgba(55, 55, 65, 0.9);
	border-color: rgba(255, 255, 255, 0.2);
}

.meta-item i {
	font-size: 1.2rem;
	color: var(--accent);
}

/* Ratings Container */
.ratings-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	position: relative;
	margin: 1rem 0;
	padding: 1rem;
	background: rgba(17, 24, 39, 0.6);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	background: rgba(45, 45, 55, 0.9);
	border-radius: 10px;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
	gap: 0.5rem;
}

.rating-item:hover {
	transform: translateY(-4px);
	background: rgba(55, 55, 65, 0.9);
	border-color: rgba(255, 255, 255, 0.2);
}

.rating-item i {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.rating-item .rating-value {
	font-size: 1rem;
	font-weight: 500;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.rating-item .rating-label {
	font-size: 0.9rem;
	color: var(--text);
	opacity: 0.8;
}

/* Rating Provider Specific Styles */
.rating-item.imdb i {
	color: #f5c518;
}

.rating-item.rotten-tomatoes i {
	color: #fa320a;
}

.rating-item.tmdb i {
	color: #01b4e4;
}

/* Poster Styles */
.poster-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 350px;
}

.poster {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	width: 100%;
}

.poster::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom,
			transparent 0%,
			rgba(0, 0, 0, 0.2) 100%);
	z-index: 1;
}

.poster img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.poster:hover img {
	transform: scale(1.05);
}

/* Trailer Button */
.trailer-container {
	margin: 0;
	text-align: center;
	width: 100%;
}

.trailer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #ff0000, #cc0000);
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	color: white;
	text-decoration: none;
	border: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
	width: 100%;
}

.trailer-link:hover {
	transform: translateY(-3px);
	background: linear-gradient(135deg, #ff1a1a, #e60000);
	box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.trailer-link i {
	font-size: 1.8rem;
}

/* Overview and Genres */
.overview {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 2.5rem;
	color: var(--text);
	position: relative;
	padding-left: 1.5rem;
	border-left: 3px solid var(--primary);
}

.genres {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.genre {
	background: rgba(109, 40, 217, 0.2);
	color: #c4b5fd;
	padding: 0.75rem 1.5rem;
	border-radius: 30px;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
	border: 1px solid rgba(109, 40, 217, 0.3);
	transition: all 0.3s ease;
}

.genre:hover {
	background: rgba(109, 40, 217, 0.3);
	border-color: rgba(109, 40, 217, 0.4);
	transform: translateY(-2px);
}

/* Action Buttons */
.action-buttons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
	margin: 1rem 0 2rem 0;
}

.btn {
	padding: 1.25rem;
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	font-family: 'Space Grotesk', sans-serif;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn:hover::before {
	opacity: 1;
}

.btn-next {
	background: linear-gradient(135deg, #FDC407, #816300);
	color: white;
}

.btn-love {
	background: linear-gradient(135deg, var(--love), #be123c);
	color: white;
}

.btn-not-interested {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
}

.btn-not-interested:hover {
    background: linear-gradient(135deg, #475569, #334155);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-like {
	background: linear-gradient(135deg, var(--like), #1d4ed8);
	color: white;
}

.btn-watched {
	background: linear-gradient(135deg, var(--watched), #334155);
	color: white;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

/* Streaming Info */
.streaming-info {
	margin-bottom: 2.5rem;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.streaming-section {
	margin-bottom: 1.5rem;
}

.streaming-section h3 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	color: rgba(248, 250, 252, 0.8);
}

.provider-list {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.provider {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.provider:hover {
	transform: scale(1.1);
}

.provider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Dinner Time Feature Styles */
.dinner-time-movie .ratings-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 1.5rem 0;
	padding: 1.5rem;
	background: rgba(17, 24, 39, 0.6);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.dinner-time-movie .rating-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(45, 45, 55, 0.9);
	border-radius: 12px;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.dinner-time-movie .rating-item:hover {
	transform: translateY(-4px);
	background: rgba(55, 55, 65, 0.9);
	border-color: rgba(255, 255, 255, 0.2);
}

.dinner-time-movie .rating-item i {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.dinner-time-movie .rating-item .rating-value {
	font-size: 1.2rem;
	font-weight: 600;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0.5rem 0;
}

.dinner-time-movie .rating-item .rating-label {
	font-size: 0.9rem;
	color: var(--text);
	opacity: 0.8;
}

.dinner-time-movie .rating-item.imdb i {
	color: #f5c518;
}

.dinner-time-movie .rating-item.rotten-tomatoes i {
	color: #fa320a;
}

.dinner-time-movie .rating-item.tmdb i {
	color: #01b4e4;
}

.dinner-time-buttons {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.dinner-time-buttons .netflix-button {
	width: 100%;
	justify-content: center;
	margin: 0;
}

.dinner-time-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin: 3rem auto;
	max-width: 1200px;
	padding: 0 1rem;
}

.dinner-time-trigger,
.free-movie-trigger,
.preference-trigger {
	flex: 1;
	max-width: 275px;
	padding: 1rem 2rem;
	border: none;
	border-radius: 15px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-movie-trigger {
	flex: 1;
	max-width: 275px;
	padding: 1rem 2rem;
	border: none;
	border-radius: 15px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, #606aff, #00154f);
	color: white;
}

.search-movie-trigger:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-movie-trigger i {
	font-size: 1.4rem;
}

.dinner-time-trigger {
	background: linear-gradient(135deg, #ff2731, #430003);
	color: white;
}

.free-movie-trigger {
	background: linear-gradient(135deg, #85ff89, #003603);
	color: white;
}

.preference-trigger {
	background: linear-gradient(135deg, #ffb657, #753500);
	color: white;
	flex: 1.2;
}

.dinner-time-trigger:hover,
.free-movie-trigger:hover,
.preference-trigger:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dinner-time-trigger i,
.free-movie-trigger i,
.preference-trigger i {
	font-size: 1.4rem;
}

/* Dinner Time Modal */
.dinner-time-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
	z-index: 1000;
	justify-content: center;
	align-items: center;
	padding: 2rem;
}

/* Availability Modal Container */
.availability-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: modalFadeIn 0.7s ease-out;
}

/* Animated modal appearance */
@keyframes modalFadeIn {
    0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.availability-modal {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 90%;
    max-width: 600px;
}

.availability-modal .availability-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px 24px 0 0;
    color: var(--text);
}

.availability-modal .availability-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
}

.availability-modal .availability-intro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 233, 193, 0.1);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text);
    margin: 1rem 0;
}

.availability-modal .availability-result {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
    margin: 0.5rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text);
}

.availability-modal .availability-result:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.availability-modal .availability-note {
    background: #ffe4b2;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #7f5539;
}

.availability-modal .btn-close-availability {
    background: #ff6363;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 99, 99, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
}

.availability-modal .btn-close-availability:hover {
    background: #e55555;
    transform: translateY(-5px);
}

[data-theme="light"] .availability-modal .btn-close-availability {
    background: #059669;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .availability-modal .btn-close-availability:hover {
    background: #047857;
}

.availability-modal .btn-close-availability:hover {
    background: #e55555;
    transform: translateY(-5px);
}

/* Search Modal */
.search-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
	z-index: 1000;
	justify-content: flex-start;
	align-items: flex-start;
}

.search-modal-content {
	background: transparent;
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	animation: modalFadeIn 0.5s ease;
	max-height: 100vh;
	overflow-y: auto;
	padding: 20px;
	/* Add smooth scrolling */
	scroll-behavior: smooth;
}

.search-container {
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.8);
	padding: 20px;
	backdrop-filter: blur(8px);
}

.search-bar {
	background: white;
	border-radius: 100px;
	padding: 15px 25px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-bar input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 1.2rem;
	background: transparent;
	color: #333;
	font-family: inherit;
}

.search-bar input::placeholder {
	color: #666;
}

.search-icon {
	color: #666;
	font-size: 1.2rem;
}

.voice-icon {
	color: #4285f4;
	font-size: 1.2rem;
	cursor: pointer;
}

.search-results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 2rem;
	padding: 2rem 0;
	margin-top: 2rem;
	padding-bottom: 4rem;
}

.search-result-card {
	background: var(--card-bg);
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.search-result-poster {
	width: 100%;
	aspect-ratio: 2/3;
	object-fit: cover;
}

.search-result-info {
	padding: 1rem;
}

.search-result-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.5rem;
}

.search-result-year {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

.search-result-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 0.5rem;
}

.search-result-rating i {
	color: #ffd700;
}

.dinner-time-modal-content {
	background: var(--card-bg);
	border-radius: 24px;
	max-width: 1000px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	animation: modalFadeIn 0.5s ease;
}

.dinner-time-movie {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 2rem;
	padding: 2rem;
}

.dinner-time-poster {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dinner-time-poster img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.dinner-time-info {
	padding: 1rem;
}

.dinner-time-info h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--text);
}

.dinner-time-meta {
	display: flex;
	gap: 2rem;
	margin-bottom: 2rem;
}

.dinner-time-meta span {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text);
	font-size: 1.1rem;
}

.dinner-time-overview {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 2rem;
	color: var(--text);
}

.dinner-time-streaming {
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.streaming-logos {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.streaming-logos img {
	width: 50px;
	height: 50px;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.streaming-logos img:hover {
	transform: scale(1.1);
}

.dinner-time-actions {
	display: flex;
	gap: 1rem;
}

.dinner-time-btn {
	flex: 1;
	padding: 1rem;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.dinner-time-btn.like {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: white;
}

.dinner-time-btn.dislike {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: white;
}

.dinner-time-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Netflix Specific Styles */
.netflix-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #E50914, #B20710);
	color: white;
	text-decoration: none;
	border-radius: 12px;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.netflix-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.netflix-button i {
	font-size: 1.4rem;
}

.netflix-note {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
}

/* Loading and Error States */
.dinner-time-loading {
	text-align: center;
	padding: 4rem;
}

.dinner-time-loading i {
	font-size: 3rem;
	color: #f97316;
	margin-bottom: 1rem;
}

.dinner-time-error {
	text-align: center;
	padding: 3rem;
	color: var(--text);
}

.dinner-time-error i {
	font-size: 3rem;
	color: #E50914;
	margin-bottom: 1rem;
}

.dinner-time-error p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.dinner-time-retry {
	background: linear-gradient(135deg, #E50914, #B20710);
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dinner-time-retry:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

/* Footer Styles */
.footer {
	text-align: center;
	padding: 2rem 0;
	margin-top: 3rem;
	color: var(--text);
	font-size: 1.1rem;
	position: relative;
	overflow: hidden;
}

.footer-content {
	position: relative;
	padding: 1.5rem 3rem;
	background: var(--footer-bg);
	border-radius: 20px;
	backdrop-filter: blur(10px);
	box-shadow:
		0 10px 30px -5px var(--footer-shadow),
		0 0 0 1px var(--footer-border),
		inset 0 0 20px rgba(99, 102, 241, 0.1);
	display: inline-block;
	transform-style: preserve-3d;
	transition: all 0.3s ease;
	color: var(--footer-text);
}

.footer-content:hover {
	transform: translateY(-5px);
	box-shadow:
		0 15px 40px -5px var(--footer-shadow),
		0 0 0 1px var(--footer-border),
		inset 0 0 30px rgba(99, 102, 241, 0.2);
}

.footer a {
	color: var(--footer-link);
	text-decoration: none;
	position: relative;
	padding: 0.2em 0.5em;
	margin: 0 0.2em;
	font-weight: 600;
	transition: all 0.3s ease;
	border-radius: 4px;
}

.footer a::before,
.footer a::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--footer-link), var(--footer-link-hover));
	left: 0;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.footer a::before {
	top: 0;
	transform-origin: left;
}

.footer a::after {
	bottom: 0;
	transform-origin: right;
}

.footer a:hover {
	color: var(--footer-link-hover);
	text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
	background: rgba(99, 102, 241, 0.1);
}

.footer a:hover::before {
	transform: scaleX(1);
	transform-origin: right;
}

.footer a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* GitHub Link Animation */
.github-link {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.github-link i {
    margin-right: 0.3em;
    transition: transform 0.4s ease;
}

.github-link:hover i {
    animation: spin-bounce 0.7s ease;
}

@keyframes spin-bounce {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(120deg); }
    40% { transform: rotate(240deg); }
    60% { transform: rotate(300deg); }
    70% { transform: scale(1.2) rotate(330deg); }
    100% { transform: rotate(360deg); }
}

/* Coffee Icon Animation */
.coffee-icon {
    color: var(--footer-link);
    font-size: 1.2em;
    margin: 0 0.3em;
    display: inline-block;
    animation: steam 4s ease-in-out infinite;
    position: relative;
}

.coffee-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 0;
    height: 0;
    opacity: 0;
    background: transparent;
    box-shadow: 0 0 3px 2px rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: coffee-steam 3s ease-out infinite;
}

@keyframes coffee-steam {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(-50%) scale(0.2);
    }
    20% {
        opacity: 0.6;
    }
    70% {
        opacity: 0.2;
        transform: translateY(-15px) translateX(-30%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) translateX(-20%) scale(1.5);
    }
}

@keyframes steam {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(1deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-1px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Disclaimer Styles */
.disclaimer-text {
	margin-top: 1rem;
	padding: 0.75rem;
	background: rgba(255, 193, 7, 0.1);
	border-left: 3px solid #ffc107;
	border-radius: 4px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
}

.service-disclaimer {
	margin-top: 2rem;
	padding: 1rem;
	background: rgba(229, 9, 20, 0.1);
	border: 1px solid rgba(229, 9, 20, 0.2);
	border-radius: 12px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	line-height: 1.5;
}

.service-disclaimer i {
	color: rgba(229, 9, 20, 0.8);
	margin-right: 0.5rem;
}

/* Toast Notifications */
.toast {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: var(--card-bg);
	padding: 1rem 2rem;
	border-radius: 12px;
	backdrop-filter: blur(10px);
	transform: translateX(200%);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	font-weight: 500;
}

.toast.visible {
	transform: translateX(0);
}

/* Recommendations Section */
.recommendations {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.recommendations.visible {
	opacity: 1;
	transform: translateY(0);
}

.recommended-movie {
	background: var(--card-bg);
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.recommended-movie:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.recommended-movie img {
	width: 100%;
	height: 330px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.recommended-movie:hover img {
	transform: scale(1.05);
}

.recommended-movie-info {
	padding: 1.5rem;
}

.recommended-movie-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: rgba(255, 255, 255, 0.95);
}

.recommended-movie-meta {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

/* Preference Modal Styles */
.preference-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	backdrop-filter: blur(8px);
}

.preference-modal-content {
	position: relative;
	background: var(--card-bg);
	margin: 10vh auto;
	padding: 2rem;
	border-radius: 24px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	animation: modalFadeIn 0.5s ease;
}

.preference-header {
	text-align: center;
	margin-bottom: 2rem;
}

.preference-header h2 {
	font-size: 2rem;
	color: var(--primary);
	background: linear-gradient(135deg, #fff, #e2e8f0);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.preference-section {
	margin-bottom: 1.5rem;
}

.preference-section label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
	color: var(--text);
}

.preference-select {
	width: 100%;
	padding: 0.75rem;
	border-radius: 12px;
	background: rgba(45, 45, 55, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text);
	font-size: 1rem;
	transition: all 0.3s ease;
}

.preference-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(255, 69, 69, 0.2);
}

.preference-actions {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.preference-button {
	flex: 1;
	padding: 1rem;
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* Animations */
@keyframes subtleGlow {
	0% {
		background-position: 0%;
	}

	50% {
		background-position: 100%;
	}

	100% {
		background-position: 0%;
	}
}

@keyframes pulse {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.5;
		transform: scale(0.95);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

/* Responsive Design */
@media (max-width: 1024px) {
	.movie-content {
		grid-template-columns: minmax(200px, 300px) 1fr;
	}

	.ratings-container {
		grid-template-columns: repeat(3, 1fr);
	}

	.dinner-time-movie .ratings-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.movie-content {
		grid-template-columns: 1fr;
	}

	.movie-card {
		padding: 1.5rem;
	}

	.header h1 {
		font-size: clamp(1.5rem, 5vw, 2.5rem);
	}

	.action-buttons {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}

	.btn {
		padding: 0.75rem;
		font-size: 0.9rem;
	}

	.ratings-container {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.meta-item {
		width: 100%;
	}

	.genres {
		justify-content: center;
	}

	.trailer-link {
		width: 100%;
	}

	.dinner-time-container {
		flex-direction: column;
	}

	.dinner-time-trigger,
	.free-movie-trigger,
	.search-movie-trigger,
	.preference-trigger {
		width: 100%;
		max-width: none;
		padding: 1rem;
	}

	.dinner-time-movie {
		grid-template-columns: 1fr;
	}

	.dinner-time-poster {
		max-width: 300px;
		margin: 0 auto;
	}

	.dinner-time-info h2 {
		font-size: 2rem;
	}

	.dinner-time-meta {
		flex-wrap: wrap;
		gap: 1rem;
	}

	.dinner-time-actions {
		flex-direction: column;
	}

	.dinner-time-buttons {
		flex-direction: column;
	}

	.preference-modal-content {
		margin: 5vh auto;
		padding: 1.5rem;
	}

	.preference-header h2 {
		font-size: 1.75rem;
	}

	.preference-actions {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 1rem;
	}

	.movie-meta {
		flex-direction: column;
	}

	.genre {
		width: 100%;
		text-align: center;
	}

	.action-buttons {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}

	.btn {
		padding: 0.5rem;
		font-size: 0.85rem;
	}

	.overview {
		font-size: 0.95rem;
		line-height: 1.6;
	}

	.meta-item,
	.rating-item {
		font-size: 0.9rem;
	}

	.dinner-time-movie .ratings-container {
		grid-template-columns: 1fr;
	}

	.dinner-time-movie .rating-item {
		padding: 1rem 0.5rem;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}

@media (prefers-contrast: high) {
	:root {
		--text: #ffffff;
		--background: #000000;
		--card-bg: rgba(0, 0, 0, 0.95);
	}

	.movie-card,
	.rating-item,
	.meta-item {
		border: 2px solid white;
	}
}

/* Focus States */
.btn:focus,
.trailer-link:focus,
.provider:focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.rating-item:focus-within,
.meta-item:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

/* Touch Device Optimizations */
@media (hover: none) {

	.btn,
	.genre,
	.provider,
	.trailer-link {
		transition: none;
	}

	.btn:active,
	.genre:active,
	.provider:active,
	.trailer-link:active {
		transform: scale(0.98);
	}

	.country-info {
		text-align: center;
		padding: 0.5rem;
		margin: -2rem 0 2rem 0;
		color: var(--text);
		font-size: 0.9rem;
		opacity: 0.8;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
	}

	.country-info i {
		color: var(--accent);
	}


}

/* Light mode specific adjustments */
[data-theme="light"] .coffee-icon {
    color: var(--footer-link);
}

[data-theme="light"] .service-disclaimer,
[data-theme="light"] .disclaimer-text {
    color: #1f2937;
    background: rgba(229, 231, 235, 0.9);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Light mode availability modal */
[data-theme="light"] .availability-modal {
    background: var(--button-bg);
    border: 1px solid var(--border-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .availability-intro {
    background: #e5e7eb;
    color: #6b7280;
    border-left-color: #1f2937;
}

[data-theme="light"] .category-title {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(79, 70, 229, 0.05));
    color: #1f2937;
    border-left-color: #3b82f6;
}

[data-theme="light"] .availability-result {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #1f2937;
}

[data-theme="light"] .availability-result:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.08));
    border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="light"] .service-name {
    color: #111827;
}

[data-theme="light"] .close-btn {
    color: #1f2937;
}

[data-theme="light"] .close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .availability-note {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400e;
}

[data-theme="light"] .availability-note i {
    color: #d97706;
}

[data-theme="light"] .more-services-note {
    background: rgba(156, 163, 175, 0.05);
    border: 1px solid rgba(156, 163, 175, 0.15);
    color: #4b5563;
}

[data-theme="light"] .rating-item,
[data-theme="light"] .meta-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .genre {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.2);
    font-weight: 500;
}

[data-theme="light"] .streaming-info,
[data-theme="light"] .ratings-container,
[data-theme="light"] .movie-meta {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .dinner-time-movie .ratings-container {
    background: rgba(248, 250, 252, 0.9);
}

[data-theme="light"] .dinner-time-movie .rating-item {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
}

[data-theme="light"] .recommended-movie {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .recommended-movie-title {
    color: #111827;
    font-weight: 600;
}

[data-theme="light"] .recommended-movie-meta {
    color: #4b5563;
}

[data-theme="light"] .action-buttons .btn {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trailer-link {
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

[data-theme="light"] .dinner-time-trigger,
[data-theme="light"] .free-movie-trigger,
[data-theme="light"] .search-movie-trigger,
[data-theme="light"] .preference-trigger {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .overview {
    color: #1f2937;
    border-left: 3px solid #3b82f6;
    font-weight: 400;
}

[data-theme="light"] .rating-item .rating-label {
    color: #4b5563;
    font-weight: 500;
}

[data-theme="light"] .movie-card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .poster {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-content {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .meta-item i,
[data-theme="light"] .rating-item i {
    color: #3b82f6;
}

/* Dark text for light theme in important areas */
[data-theme="light"] .title-letter {
    background: linear-gradient(90deg, #1a1a1a, #333333, #4b5563, #1a1a1a);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .dinner-time-info h2 {
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .recommended-movie:hover,
[data-theme="light"] .search-result-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .toast {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Enhanced Light Mode Headers and Text */
body.light-mode .header h1::after {
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

body.light-mode .movie-info h2 {
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .preference-header h2 {
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .movie-info h2 {
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.availability-modal {
    padding: 0.5rem;
    height: auto;
}

.availability-intro,
.availability-results,
.availability-note {
    margin-bottom: 1rem;
}
body.light-mode .preference-section label {
    color: #1f2937;
    font-weight: 500;
}

body.light-mode .preference-select {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
}

body.light-mode .preference-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Light mode search styles */
[data-theme="light"] .search-modal {
    background: rgba(240, 242, 245, 0.95);
}

[data-theme="light"] .search-modal-content {
    background: transparent;
}

[data-theme="light"] .search-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-bar {
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .search-bar input {
    color: #1a1a1a;
}

[data-theme="light"] .search-bar input::placeholder {
    color: #6b7280;
}

[data-theme="light"] .search-icon {
    color: #4b5563;
}

[data-theme="light"] .search-result-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .search-result-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .search-result-title {
    color: #111827;
}

[data-theme="light"] .search-result-year {
    color: #6b7280;
}

[data-theme="light"] .search-result-rating {
    color: #6b7280;
}

[data-theme="light"] .search-results-grid {
    background: transparent;
}

body.light-mode .search-bar {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .search-bar input {
    color: #1a1a1a;
}

body.light-mode .search-result-title {
    color: #111827;
}

body.light-mode .search-result-year,
body.light-mode .search-result-rating {
    color: #4b5563;
}

/* More Light Mode Improvements */
body.light-mode .dinner-time-modal-content,
[data-theme="light"] .dinner-time-modal-content {
    background: rgba(255, 255, 255, 0.98);
    color: #1a1a1a;
}

/* Light mode dinner time modal styles */
[data-theme="light"] .dinner-time-modal {
    background: rgba(240, 242, 245, 0.95);
}

[data-theme="light"] .dinner-time-info h2 {
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .dinner-time-meta span {
    color: #4b5563;
}

[data-theme="light"] .dinner-time-overview {
    color: #1f2937;
}

[data-theme="light"] .dinner-time-streaming {
    color: #374151;
}

[data-theme="light"] .dinner-time-error {
    color: #1a1a1a;
}

[data-theme="light"] .dinner-time-error p {
    color: #4b5563;
}

[data-theme="light"] .dinner-time-loading {
    color: #1a1a1a;
}

[data-theme="light"] .dinner-time-loading i {
    color: #3b82f6;
}

[data-theme="light"] .no-streaming {
    color: #4b5563;
}

/* Light mode availability modal rewrite */
[data-theme="light"] .availability-modal {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .availability-modal .availability-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f4f6;
    border-radius: 24px 24px 0 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

[data-theme="light"] .availability-modal .availability-intro {
    background: #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #6b7280;
}

[data-theme="light"] .availability-modal .availability-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;

}

[data-theme="light"] .availability-modal .availability-result {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #111827;
}

[data-theme="light"] .availability-modal .availability-note {
    background: #fef3c7;
    border-radius: 8px;
    padding: 0.75rem;
    color: #92400e;
    margin-top: 1rem;
}

[data-theme="light"] .availability-modal .more-services-note {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.75rem;
    color: #4b5563;
}

[data-theme="light"] .availability-modal .btn-close-availability {
    margin-top: 1rem;
    background: #10b981;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 0.75rem 1.5rem;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.loading-container {
    background: rgba(245, 247, 250, 0.8);
    color: #2d3748;
}

.loading-text {
    color: #4a5568;
}

body.light-mode .dinner-time-overview {
    color: #1f2937;
}

body.light-mode .dinner-time-meta span {
    color: #4b5563;
    font-weight: 500;
}

body.light-mode .loading {
    color: #1a1a1a;
}

body.light-mode .loading i {
    color: #3b82f6;
}

body.light-mode .container {
    box-shadow: none;
}

body.light-mode .dinner-time-error {
    color: #1a1a1a;
}

body.light-mode .dinner-time-retry {
    box-shadow: 0 4px 8px rgba(225, 29, 72, 0.15);
}

body.light-mode .no-streaming {
    color: #4b5563;
}

body.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===========================================================================
                        Trending Movies Section
   =========================================================================== */

.trending-movies {
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.6s ease-out;
}

.trending-movies h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trending-movies h3 i {
    font-size: 1.5rem;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trending-subtitle {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.trending-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
}

.trending-movie-item {
    flex: 0 1 calc(20% - 1rem);
    min-width: 180px;
    max-width: 220px;
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.trending-movie-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;
}

.trending-movie-link:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.trending-poster {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.trending-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    justify-content: center;
}

.trending-title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-rating {
    font-size: 0.85rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.trending-rating i {
    font-size: 0.75rem;
}

/* Light mode styles for trending movies */
body.light-mode .trending-movies {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .trending-movie-link {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .trending-movie-link:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.light-mode .trending-subtitle {
    color: var(--text);
    opacity: 0.6;
}

/* Responsive design for trending movies */
@media (max-width: 1200px) {
    .trending-movie-item {
        flex: 0 1 calc(25% - 1rem);
    }
}

@media (max-width: 768px) {
    .trending-movies {
        padding: 1.5rem;
        margin-top: 3rem;
    }
    
    .trending-movies h3 {
        font-size: 1.5rem;
    }
    
    .trending-list {
        gap: 0.75rem;
    }
    
    .trending-movie-item {
        flex: 0 1 calc(33.333% - 0.75rem);
        min-width: 140px;
    }
    
    .trending-poster {
        width: 60px;
        height: 90px;
    }
    
    .trending-title {
        font-size: 0.85rem;
    }
    
    .trending-rating {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .trending-movie-item {
        flex: 0 1 calc(50% - 0.75rem);
        min-width: 120px;
    }
    
    .trending-movie-link {
        padding: 0.75rem;
    }
}

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

/* Professional Share Buttons */
.share-container-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.share-label {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
    opacity: 0.8;
    margin-right: 0.5rem;
}

.share-buttons-minimal {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn-minimal {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.share-btn-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Professional Social Media Brand Colors */
.share-btn-minimal.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-btn-minimal.twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

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

.share-btn-minimal.whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.share-btn-minimal.reddit:hover {
    background: #ff4500;
    color: white;
    border-color: #ff4500;
}

.share-btn-minimal.telegram:hover {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.share-btn-minimal.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn-minimal.pinterest:hover {
    background: #bd081c;
    color: white;
    border-color: #bd081c;
}

.share-btn-minimal.email:hover {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}

.share-btn-minimal.link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Light mode adjustments */
body.light-mode .share-container-minimal {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .share-btn-minimal {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .share-btn-minimal:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-container-minimal {
        margin-top: 1.5rem;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .share-label {
        font-size: 0.9rem;
    }
    
    .share-btn-minimal {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .share-buttons-minimal {
        gap: 0.5rem;
    }
}
