/*
Theme Name: The Superion Collection
Theme URI: https://superioncollection.com
Description: A premium cinema collection showcase theme
Version: 1.0
Author: The Superion Collection
Author URI: https://superioncollection.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: superion
*/

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --superion-dark: #1a1a1a;
    --superion-gray: #2a2a2a;
    --superion-light: #f0f0f0;
    --superion-accent: #e50914;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--superion-dark);
    color: var(--superion-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--superion-light);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--superion-accent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   HEADER
   =================================== */
.site-header {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(240, 240, 240, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-speed);
}

.main-navigation a:hover,
.main-navigation a.current {
    border-bottom-color: var(--superion-accent);
}

/* ===================================
   HERO / VIDEO INTRO
   =================================== */
.hero-intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 40px 60px;
    position: relative;
}

.intro-video {
    max-width: 600px;
    margin: 0 auto 40px;
}

.intro-video video {
    width: 100%;
    height: auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-content .tagline {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(240, 240, 240, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--superion-accent);
    color: var(--superion-light);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.cta-button:hover {
    background-color: #b00710;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

/* ===================================
   MOVIE COLLECTION GRID
   =================================== */
.collection-header {
    padding: 140px 0 60px;
    text-align: center;
}

.collection-header h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.collection-filters {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 240, 240, 0.6);
}

.filter-group select,
.filter-group input {
    padding: 10px 15px;
    background-color: var(--superion-gray);
    border: 1px solid rgba(240, 240, 240, 0.2);
    color: var(--superion-light);
    border-radius: 4px;
    font-size: 14px;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 0 100px;
    position: relative;
}

/* Movie Card with Hover Effects */
.movie-card {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.movie-card:hover {
    transform: scale(1.15) translateZ(50px);
    z-index: 100;
}

.movie-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-card:hover .movie-poster {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 
                0 0 40px rgba(229, 9, 20, 0.4);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.movie-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-card:hover .movie-info {
    transform: translateY(0);
}

.movie-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--superion-light);
}

.movie-year {
    font-size: 12px;
    color: rgba(240, 240, 240, 0.6);
    margin-bottom: 8px;
}

.movie-oneliner {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(240, 240, 240, 0.85);
    font-style: italic;
}

.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(229, 9, 20, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Background Overlay on Hover */
.collection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background-color 0.4s ease;
    z-index: 50;
}

.movies-grid:has(.movie-card:hover) .collection-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* ===================================
   SINGLE MOVIE PAGE
   =================================== */
.movie-single {
    padding: 140px 0 80px;
}

.movie-header {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.movie-header .movie-poster img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.movie-details h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
}

.movie-meta {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    font-size: 14px;
    color: rgba(240, 240, 240, 0.7);
}

.movie-ratings {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.rating-box {
    padding: 20px;
    background-color: var(--superion-gray);
    border-radius: 8px;
}

.rating-box h3 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 240, 240, 0.6);
    margin-bottom: 10px;
}

.rating-value {
    font-size: 36px;
    font-weight: 600;
    color: var(--superion-accent);
}

.movie-review {
    margin: 40px 0;
    line-height: 1.8;
    font-size: 16px;
}

.external-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.external-link {
    padding: 12px 30px;
    background-color: var(--superion-gray);
    border: 1px solid rgba(240, 240, 240, 0.2);
    border-radius: 4px;
    font-size: 14px;
    transition: all var(--transition-speed);
}

.external-link:hover {
    background-color: var(--superion-accent);
    border-color: var(--superion-accent);
}

/* ===================================
   COMMENTS SECTION
   =================================== */
.comments-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(240, 240, 240, 0.1);
}

.comments-section h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
}

.comment {
    padding: 30px;
    background-color: var(--superion-gray);
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    font-weight: 500;
}

.comment-date {
    font-size: 12px;
    color: rgba(240, 240, 240, 0.5);
}

.comment-votes {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.vote-btn {
    background: none;
    border: 1px solid rgba(240, 240, 240, 0.3);
    color: var(--superion-light);
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all var(--transition-speed);
}

.vote-btn:hover {
    border-color: var(--superion-accent);
    color: var(--superion-accent);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(240, 240, 240, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(240, 240, 240, 0.5);
}

/* ===================================
   HOMEPAGE SECTIONS - CRITERION STYLE
   =================================== */

/* Video Intro - Cleaner, smaller */
.video-intro-section {
    padding: 120px 0 60px;
    text-align: center;
}

.intro-video-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.intro-video {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(240, 240, 240, 0.1);
}

.section-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(240, 240, 240, 0.5);
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.section-subtitle {
    font-size: 14px;
    color: rgba(240, 240, 240, 0.6);
    margin: 10px 0 0 0;
}

.section-link {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--superion-light);
    text-transform: uppercase;
    transition: color var(--transition-speed);
}

.section-link:hover {
    color: var(--superion-accent);
}

/* Hero Carousel */
.hero-carousel-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--superion-dark) 0%, #0a0a0a 100%);
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.slide-content {
    position: absolute;
    left: 60px;
    bottom: 60px;
    max-width: 500px;
    z-index: 10;
}

.slide-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(240, 240, 240, 0.7);
}

.slide-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(240, 240, 240, 0.85);
}

.slide-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--superion-light);
    color: var(--superion-light);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.slide-button:hover {
    background-color: var(--superion-accent);
    border-color: var(--superion-accent);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.carousel-prev,
.carousel-next {
    background: rgba(240, 240, 240, 0.1);
    border: 1px solid rgba(240, 240, 240, 0.3);
    color: var(--superion-light);
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-speed);
    backdrop-filter: blur(10px);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(240, 240, 240, 0.2);
    border-color: var(--superion-accent);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(240, 240, 240, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.indicator.active,
.indicator:hover {
    background: var(--superion-accent);
}

/* New Additions - Compact Grid */
.new-additions-section {
    padding: 100px 0;
}

.movies-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.movie-card-compact {
    display: block;
    transition: transform var(--transition-speed);
}

.movie-card-compact:hover {
    transform: translateY(-5px);
}

.movie-poster-compact {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.movie-poster-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.movie-card-compact:hover .movie-poster-compact img {
    transform: scale(1.05);
}

.poster-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-speed);
}

.movie-card-compact:hover .poster-hover-overlay {
    transform: translateY(0);
}

.hover-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.hover-year {
    display: block;
    font-size: 12px;
    color: rgba(240, 240, 240, 0.6);
}

/* Editor's Picks */
.editors-picks-section {
    padding: 100px 0;
    background: rgba(229, 9, 20, 0.02);
}

.editors-picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
}

.pick-card {
    text-align: center;
}

.pick-poster {
    position: relative;
    display: block;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.pick-poster img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-speed);
}

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

.pick-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(229, 9, 20, 0.95);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.pick-title a {
    font-size: 16px;
    font-weight: 500;
    color: var(--superion-light);
    transition: color var(--transition-speed);
}

.pick-title a:hover {
    color: var(--superion-accent);
}

.pick-year {
    font-size: 12px;
    color: rgba(240, 240, 240, 0.5);
    margin-top: 5px;
}

/* Browse by Genre */
.browse-section {
    padding: 100px 0;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.genre-card {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    transition: transform var(--transition-speed);
}

.genre-card:hover {
    transform: translateY(-5px);
}

.genre-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.genre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: filter var(--transition-speed);
}

.genre-card:hover .genre-image img {
    filter: brightness(0.6);
}

.genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.genre-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.genre-name {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 5px;
}

.genre-count {
    font-size: 12px;
    color: rgba(240, 240, 240, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Friends Teaser */
.friends-teaser-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--superion-dark) 0%, #0a0a0a 100%);
}

.friends-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.friends-image {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--superion-gray);
}

.friends-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--superion-accent);
    margin-bottom: 15px;
}

.friends-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.friends-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(240, 240, 240, 0.8);
    margin-bottom: 30px;
}

.friends-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--superion-light);
    color: var(--superion-light);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.friends-button:hover {
    background-color: var(--superion-accent);
    border-color: var(--superion-accent);
}

/* Manifesto Teaser */
.manifesto-teaser-section {
    padding: 100px 0;
    text-align: center;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.manifesto-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(240, 240, 240, 0.85);
    margin-bottom: 40px;
}

.manifesto-link {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--superion-accent);
    border-bottom: 1px solid var(--superion-accent);
    transition: all var(--transition-speed);
}

.manifesto-link:hover {
    color: var(--superion-light);
    border-bottom-color: var(--superion-light);
}

/* Ad Section */
.ad-section {
    padding: 60px 0;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .movie-header {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    /* Homepage Responsive */
    .carousel-track {
        height: 400px;
    }
    
    .slide-content {
        left: 30px;
        bottom: 30px;
        max-width: calc(100% - 60px);
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .movies-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }
    
    .editors-picks-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .genre-grid {
        grid-template-columns: 1fr;
    }
    
    .friends-teaser {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .friends-image {
        height: 300px;
    }
    
    .manifesto-title {
        font-size: 32px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
