/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #222;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: white;
    border-radius: 20px;
    padding: 2.5em;
    margin: 1.5em 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.2em;
    margin: 0 0 0.5em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1em;
    color: #666;
    margin: 0 auto 2em;
    max-width: 600px;
    line-height: 1.5;
}

/* ==========================================================================
   Filter Chips
   ========================================================================== */
#activeFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1em 0;
    padding: 0.5em 0;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    background: #e8e8ff;
    color: #333;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9em;
}

.filter-chip button {
    margin-left: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    color: #555;
}

.filter-chip button:hover {
    color: #000;
}

/* ==========================================================================
   Main Action Cards
   ========================================================================== */
.main-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 2em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color);
    border-radius: 16px 16px 0 0;
}

.action-card.today { --card-color: linear-gradient(135deg, #0078d7 0%, #005fa3 100%); }
.action-card.next3 { --card-color: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%); }
.action-card.nearby { --card-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.action-icon {
    font-size: 3em;
    margin: 0 0 0.5em;
    display: block;
}

.action-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 0 0.5em;
    color: #333;
}

.action-description {
    color: #666;
    margin: 0 0 1.5em;
    line-height: 1.4;
}

.action-button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 1em 1.5em;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.action-button.today { background: linear-gradient(135deg, #0078d7 0%, #005fa3 100%); }
.action-button.next3 { background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%); }
.action-button.nearby { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.action-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.action-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   Location Controls
   ========================================================================== */
.location-controls {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 1em 0;
}

.radius-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 0.9em;
}

#radiusSelect {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.4em 0.6em;
    font-size: 0.9em;
}

.address-input-container {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #eee;
}

.address-input-container h4 {
    margin: 0 0 0.5em;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

#addressInput {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9em;
    margin-bottom: 0.8em;
    box-sizing: border-box;
}

.address-button {
    width: 100%;
    background: white;
    color: #764ba2;
    border: 2px solid #764ba2;
    padding: 0.8em;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-button:hover:not(:disabled) {
    background: #764ba2;
    color: white;
    transform: translateY(-1px);
}

#nearbySummary {
    margin-top: 1em;
    padding: 0.8em;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    font-size: 0.9em;
    min-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ==========================================================================
   Advanced Filters
   ========================================================================== */
.advanced-filters {
    background: white;
    border-radius: 16px;
    padding: 1.5em;
    margin: 2em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.advanced-filters-header {
    text-align: center;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 2px solid #f0f0f0;
}

.advanced-filters-title {
    margin: 0 0 0.3em;
    font-size: 1.3em;
    color: #333;
}

.advanced-filters-subtitle {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
    align-items: start;
}

.filter-expandable {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.filter-expandable:hover,
.filter-expandable[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-summary {
    background: #f8f9fa;
    padding: 1.2em;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.filter-summary:hover {
    background: #e9ecef;
}

.filter-summary::after {
    content: '▼';
    font-size: 0.8em;
    transition: transform 0.3s ease;
    color: #666;
}

.filter-expandable[open] .filter-summary::after {
    transform: rotate(180deg);
}

.filter-content-expandable {
    padding: 1.2em;
    background: #fafafa;
}

.filter-content-expandable .search-input {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9em;
    margin-bottom: 0;
    box-sizing: border-box;
    background: white;
}

.filter-content-expandable .search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-expandable:not([open]) {
    height: auto;
    max-height: fit-content;
}

.filter-expandable:not([open]) .filter-content-expandable {
    display: none !important;
    height: 0;
    overflow: hidden;
}

/* ==========================================================================
   Results Info & Scrollable Lists
   ========================================================================== */
.results-info {
    margin-top: 1em;
    padding: 0.8em;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.results-info.empty {
    background: rgba(220, 53, 69, 0.1);
}

.view-results-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5em 1.2em;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5em;
    transition: all 0.2s ease;
}

.view-results-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.scroll-box {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    padding: 0.8em;
    margin-top: 0.8em;
}

.scroll-box::-webkit-scrollbar {
    width: 6px;
}

.scroll-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.scroll-box::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.search-input {
    width: 100%;
    padding: 0.6em;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
    margin-bottom: 0.8em;
    box-sizing: border-box;
}

.checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkbox-list li {
    margin: 0.3em 0;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.4em 0.6em;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid #f0f0f0;
}

.checkbox-list label:hover {
    background: #f8f9fa;
    border-color: #e0e0e0;
    transform: translateX(2px);
}

.checkbox-list input {
    margin-right: 8px;
    accent-color: #667eea;
}

/* ==========================================================================
   Quick Actions
   ========================================================================== */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin: 1.5em 0;
    flex-wrap: wrap;
}

.clear-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* ==========================================================================
   Movie Results - Collapsible Panels
   ========================================================================== */
.movie {
    background: white;
    border-radius: 12px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.movie:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Popular movie styling */
.movie.popular-movie {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%) !important;
    border: 2px solid #ff6b6b !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.15) !important;
}

.movie.popular-movie:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.25) !important;
}

.popular-movie .movie-summary {
    background: transparent !important;
}

.popular-movie .movie-summary:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

.popular-movie .movie-summary.expanded {
    background: rgba(255, 255, 255, 0.5) !important;
    border-bottom: 2px solid #ff6b6b !important;
}

.popular-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 0.4em 1em;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 0.8em;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Controversial movie styling */
.movie.controversial-movie {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3d1 100%) !important;
    border: 2px solid #f9a825 !important;
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.15) !important;
}

.movie.controversial-movie:hover {
    box-shadow: 0 10px 30px rgba(249, 168, 37, 0.25) !important;
}

.controversial-movie .movie-summary {
    background: transparent !important;
}

.controversial-movie .movie-summary:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

.controversial-movie .movie-summary.expanded {
    background: rgba(255, 255, 255, 0.5) !important;
    border-bottom: 2px solid #f9a825 !important;
}

.controversial-badge {
    background: linear-gradient(135deg, #f9a825 0%, #f57f17 100%);
    color: white;
    padding: 0.4em 1em;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 0.8em;
    box-shadow: 0 2px 8px rgba(249, 168, 37, 0.3);
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.movie-summary {
    padding: 1.5em;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.movie-summary:hover {
    background: #f8f9fa;
}

.movie-summary.expanded {
    border-bottom: 2px solid #667eea;
    background: #f8f9fa;
}

.movie-summary-header {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin-bottom: 1em;
    flex-wrap: wrap;
    justify-content: space-between;
}

.movie-title-section {
    flex: 1;
    min-width: 200px;
}

.movie-summary-title {
    margin: 0 0 0.3em;
    color: #333;
}

.movie-metadata {
    font-size: 0.85em;
    color: #777;
    line-height: 1.4;
}

.movie-summary-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
}

.movie-stats {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.cinema-count {
    background: #667eea;
    color: white;
    padding: 0.4em 0.8em;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
}

.next-showing {
    background: #28a745;
    color: white;
    padding: 0.4em 0.8em;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
}

.movie-toggle {
    font-size: 1.4em;
    color: #667eea;
    transition: transform 0.3s ease;
    user-select: none;
    flex-shrink: 0;
}

.movie-summary.expanded .movie-toggle {
    transform: rotate(180deg);
}

.movie-content {
    display: none !important;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.movie-content.expanded {
    display: block !important;
    padding: 0 1.5em 1.5em;
    max-height: none;
    opacity: 1;
    animation: slideDown 0.3s ease-out;
}

/* ==========================================================================
   External Links
   ========================================================================== */
.external-links {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.imdb-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f5c518;
    color: #000;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: bold;
    transition: all 0.2s ease;
}

.imdb-link:hover {
    background: #e6b800;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.share-btn:hover {
    background: #0056b3;
}

.share-btn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   Cinema Cards
   ========================================================================== */
.cinema {
    margin: 1em 0 0;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.cinema h3 {
    margin: 0 0 0.5em;
    color: #333;
}

.cinema p {
    margin: 0.3em 0;
    color: #555;
}

.cinema a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.cinema a:hover {
    text-decoration: underline;
}

.cinema-link {
    color: #2c3e50;
    text-decoration: none;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%) no-repeat 0 100%;
    background-size: 0% 3px;
    padding-bottom: 3px;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.cinema-link:hover {
    background-size: 100% 3px;
    color: #667eea;
}

.cinema-link::after {
    content: '→';
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-10px);
    display: inline-block;
    transition: all 0.3s ease;
}

.cinema-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Showtimes
   ========================================================================== */
.cinema-showtimes {
    margin-top: 1em;
}

.showtimes-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 0.8em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.showtimes-summary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.showtimes-summary-info {
    display: flex;
    align-items: center;
    gap: 1em;
    flex: 1;
}

.showtimes-count {
    background: #667eea;
    color: white;
    padding: 0.3em 0.6em;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.next-showtime {
    background: #28a745;
    color: white;
    padding: 0.3em 0.8em;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
}

.toggle-icon {
    font-size: 1.2em;
    color: #666;
    transition: transform 0.3s ease;
}

.showtimes-summary.expanded .toggle-icon {
    transform: rotate(180deg);
}

.showtimes-details {
    padding: 1em 0.8em 0.5em;
    display: none;
}

.showtimes-details.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.showtimes-single {
    padding: 0.8em 0;
}

/* ==========================================================================
   Share Popup
   ========================================================================== */
.showtime-share-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.showtime-share-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.showtime-share-content h4 {
    margin: 0 0 8px;
    font-size: 1.1em;
    color: #333;
}

.close-popup {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 4px 8px;
    line-height: 1;
}

.close-popup:hover {
    color: #333;
}

.share-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.share-action-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.share-action-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.share-action-btn.primary {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.share-action-btn.primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background: #5a6fd8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    text-align: center;
    margin: 3em 0 2em;
    color: #666;
    font-size: 0.9em;
    background: white;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0.8em;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 1.8em;
        margin: 1em 0;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .main-actions {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }

    .action-card {
        padding: 1.5em;
    }

    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .share-btn {
        font-size: 0.8em;
        padding: 5px 10px;
    }

    .movie-summary {
        padding: 1.2em;
    }

    .movie-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8em;
        margin-bottom: 0.8em;
    }

    .movie-summary-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8em;
        width: 100%;
    }

    .movie-stats {
        gap: 0.8em;
    }

    .next-showing {
        font-size: 0.85em;
        word-break: break-word;
    }

    .movie-toggle {
        position: absolute;
        top: 1.2em;
        right: 1.2em;
    }
}

/* ========== Movie Ratings Badges ========== */

.movie-ratings {
    display: flex;
    gap: 0.75em;
    margin-top: 0.8em;
    padding: 0.8em;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.movie-ratings::before {
    content: '⭐ Βαθμολογίες:';
    font-weight: 700;
    font-size: 0.9em;
    color: #495057;
    margin-right: 0.3em;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em 0.9em;
    border-radius: 10px;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.rating-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.4s ease;
}

.rating-badge:hover::before {
    left: 100%;
}

.rating-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.rating-source {
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.3px;
}

.rating-value {
    font-weight: 800;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

/* Athinorama rating - vibrant purple theme */
.athinorama-rating {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.athinorama-rating:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    border-color: rgba(102, 126, 234, 0.6);
}

/* Flix rating - vibrant teal theme */
.flix-rating {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    color: white;
    border: 2px solid rgba(0, 188, 212, 0.3);
}

.flix-rating:hover {
    background: linear-gradient(135deg, #00ACC1 0%, #00838F 100%);
    border-color: rgba(0, 188, 212, 0.6);
}

/* Lifo rating - vibrant orange/amber theme */
.lifo-rating {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border: 2px solid rgba(255, 152, 0, 0.3);
}

.lifo-rating:hover {
    background: linear-gradient(135deg, #FB8C00 0%, #E65100 100%);
    border-color: rgba(255, 152, 0, 0.6);
}

/* Add sparkle effect for high ratings */
.rating-badge[data-rating-high="true"] {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 3px 16px rgba(255, 215, 0, 0.4); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .movie-ratings {
        margin-top: 0.6em;
        padding: 0.6em;
        gap: 0.5em;
    }

    .movie-ratings::before {
        font-size: 0.85em;
        width: 100%;
        margin-bottom: 0.3em;
    }

    .rating-badge {
        font-size: 0.85em;
        padding: 0.4em 0.7em;
    }

    .rating-value {
        font-size: 1em;
    }
}
