/* Featured movie hero – cinema landing style */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -5%;
    z-index: 0;
    background: var(--bg) url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=80') center/cover no-repeat;
    animation: hero-kenburns 18s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 29, 54, 0.94) 0%, rgba(15, 29, 54, 0.65) 45%, rgba(15, 29, 54, 0.4) 70%, rgba(15, 29, 54, 0.2) 100%);
    pointer-events: none;
}

@keyframes hero-kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.06) translate(-1%, -1%);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        padding: 4rem 2rem 5rem;
    }
}

.hero-content {
    text-align: left;
    max-width: 560px;
}

.hero .eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-light);
    margin-bottom: 1rem;
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
    animation-delay: 0.35s;
    animation-fill-mode: forwards;
}

.hero .hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    line-height: 1.5;
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
}

.hero-meta span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-meta .rating {
    padding: 0.2rem 0.5rem;
    background: rgba(249, 200, 80, 0.2);
    border-radius: 6px;
    color: var(--gold);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
    animation-delay: 0.75s;
    animation-fill-mode: forwards;
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured movie poster / image with animation */
.hero-featured {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: hero-fade-up 0.9s ease forwards;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.hero-featured-inner {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
    animation: hero-poster-float 5s ease-in-out infinite;
}

.hero-featured-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

@keyframes hero-poster-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.02);
    }
}

.hero-featured img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    transition: transform 6s ease-out;
}

.hero-featured-inner:hover img {
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        animation: none;
    }

    .hero-featured-inner {
        animation: none;
    }

    .hero .eyebrow,
    .hero h1,
    .hero .hero-tagline,
    .hero-meta,
    .hero-ctas,
    .hero-featured {
        animation: none;
        opacity: 1;
    }
}

.hero-featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.5rem 1.25rem;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-featured-caption strong {
    color: var(--gold);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.6;
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

.now-showing {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(21, 38, 66, 0.3) 100%);
}

/* Movie grid – cards with hover glow */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

.movie-card-link {
    display: block;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.movie-card-link:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0, 191, 255, 0.2), 0 0 30px rgba(0, 191, 255, 0.1);
}

.movie-card-link:hover .movie-cta {
    color: var(--accent);
}

.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
    margin-bottom: 0;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.movie-card-link:hover .movie-poster img {
    transform: scale(1.05);
}

.movie-rating {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 999px;
    color: var(--gold);
}

.movie-info {
    padding: 1rem;
}

.movie-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.movie-meta {
    font-size: 0.85rem;
    color: var(--text-muted-opacity);
    margin: 0 0 0.5rem;
}

.movie-cta {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted-opacity);
    transition: color 0.2s;
}

/* Coming soon – muted cards */
.coming-soon {
    background: var(--bg-elevated);
}

.movie-card--coming .movie-poster img {
    opacity: 0.92;
}

/* Cinemas – pill cards */
.cinema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cinema-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.cinema-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cinema-card:hover {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.15);
    transform: translateY(-4px);
}

.cinema-card:hover::before {
    opacity: 1;
}

.cinema-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.cinema-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.link-gold {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold);
}

.link-gold:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Promotions – gradient strip */
.promotions {
    background: var(--bg-elevated);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 200, 80, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-card:hover {
    border-color: rgba(249, 200, 80, 0.5);
    box-shadow: 0 20px 50px rgba(249, 200, 80, 0.15);
    transform: translateY(-6px);
}

.promo-card:hover::after {
    opacity: 1;
}

.promo-placeholder {
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2) 0%, rgba(249, 200, 80, 0.12) 100%);
}

.promo-card h3 {
    font-size: 1.1rem;
    margin: 1rem 1rem 0;
    font-weight: 600;
}

.promo-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.5rem 1rem 1rem;
}