.theater-section,
.theater-secion,
.hero-section {
    position: relative;
    height: clamp(520px, 42vw, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #0b0b0d;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    background-image: var(--hero-backdrop-image, none);
    transition: opacity 0.8s ease;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg,
            rgba(17, 17, 17, 1) 0%,
            rgba(17, 17, 17, 0.85) 18%,
            rgba(17, 17, 17, 0.5) 40%,
            rgba(17, 17, 17, 0.2) 60%,
            rgba(17, 17, 17, 0.35) 80%,
            rgba(17, 17, 17, 0.7) 100%
        );
    pointer-events: none;
}

.hero-carousel-controls {
    position: absolute;
    inset: 50% 24px auto;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-carousel-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(12, 12, 14, 0.48);
    color: #fff;
    font-size: 1.2rem;
    pointer-events: auto;
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible {
    background: rgba(255, 20, 31, 0.85);
    border-color: transparent;
}

.hero-carousel-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 64px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.hero-carousel-dot.active {
    width: 26px;
    background: var(--primary-color, #ff141f);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 74px;
}

.hero-inner {
    max-width: 680px;
}

.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-age-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0;
    max-width: 560px;
}

.theaters-info-section {
    position: relative;
    z-index: 20;
    margin-top: -48px;
    padding-bottom: 0;
}

.theaters-info-section.sticky-top {
    top: 16px;
}

.theaters-info-widget {
    position: relative;
    z-index: 10;
}

.theaters-info-bar {
    background: rgba(26, 26, 28, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 14px;
    padding: 24px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.theaters-info-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.theater-summary {
    flex: 1 1 350px;
}

.theater-eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    display: block;
    margin-bottom: 0.25rem;
}

.theater-current-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.theater-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.control-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.control-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
}

.theater-select {
    background-color: rgba(38, 38, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    padding: 0.6rem 2.2rem 0.6rem 0.95rem;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 190px;
    cursor: pointer;
}

.theater-select:focus {
    background-color: rgba(38, 38, 42, 0.95);
    border-color: var(--primary-color, #ff141f);
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 20, 31, 0.25);
    outline: none;
}

.theaters-showtimes-section {
    padding: 3rem 0 2rem;
}

.section-title-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}


.date-tabs-container {
    overflow-x: auto;
    max-width: 100%;
}

.date-tabs-scroll {
    display: flex;
    gap: 0.5rem;
}

.date-tab-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: #27272a;
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.date-tab-btn:hover {
    background: #3f3f46;
    color: #ffffff;
}

.date-tab-btn.active {
    background: var(--primary-color, #ff141f);
    border-color: var(--primary-color, #ff141f);
    color: #ffffff;
}

.showtimes-movie-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.showtime-movie-card {
    background: #18181b;
    border-radius: 0.5rem;
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
}

.movie-poster-thumb {
    width: 100px;
    height: 145px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.movie-card-info {
    flex-grow: 1;
}

.movie-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem;
}

.movie-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.movie-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: #27272a;
    color: #a1a1aa;
}

.movie-badge.age-rating {
    background: rgba(255, 20, 31, 0.15);
    color: #ff453a;
    border: 1px solid rgba(255, 20, 31, 0.3);
}

.showtimes-slots-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.showtime-slot {
    padding: 0.45rem 0.95rem;
    border-radius: 0.5rem;
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.showtime-slot:hover {
    background: var(--primary-color, #ff141f);
    border-color: var(--primary-color, #ff141f);
    color: #ffffff;
    transform: translateY(-1px);
}

.showtime-skeleton-card {
    display: flex;
    gap: 1.5rem;
    background: #141416;
    border-radius: 12px;
    padding: 1.25rem;
    align-items: flex-start;
}

.skeleton-poster {
    width: 110px;
    height: 160px;
    border-radius: 8px;
    flex-shrink: 0;
}

.skeleton-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.skeleton-title {
    width: 45%;
    max-width: 280px;
    height: 22px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.skeleton-badge-pill {
    width: 64px;
    height: 20px;
    border-radius: 4px;
}

.skeleton-format-label {
    width: 90px;
    height: 14px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-slots-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skeleton-slot-pill {
    width: 76px;
    height: 36px;
    border-radius: 6px;
}

.pricing-skeleton-card {
    background: #141416;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.skeleton-format-title {
    width: 140px;
    height: 18px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.pricing-skeleton-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.skeleton-table-header {
    width: 100%;
    height: 28px;
    border-radius: 4px;
}

.skeleton-table-row {
    width: 100%;
    height: 38px;
    border-radius: 4px;
}

.skeleton-table-note {
    width: 60%;
    max-width: 320px;
    height: 14px;
    border-radius: 4px;
}

.pricing-format-card {
    background: #141416;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.format-card-title {
    color: var(--primary-color, #ff141f);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.pricing-table-scroll {
    overflow-x: auto;
    margin-bottom: 12px;
}

.pricing-table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.pricing-table-custom th {
    color: #8e8e93;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.pricing-table-custom th:first-child {
    text-align: left;
    padding-left: 0;
}

.pricing-table-custom td {
    padding: 12px 12px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    font-weight: 600;
}

.pricing-table-custom td:first-child {
    text-align: left;
    padding-left: 0;
    color: #d1d1d6;
    font-weight: 600;
}

.pricing-table-custom tr:last-child td {
    border-bottom: none;
}

.format-card-note {
    font-size: 0.78rem;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 6px;
}

.format-card-note i {
    font-size: 0.85rem;
    color: #8e8e93;
}

.pricing-rules-card {
    background: #141416;
    border-radius: 12px;
    padding: 20px 22px;
}

.rules-card-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.rules-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rules-card-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: #8e8e93;
}

.rules-card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #8e8e93;
}

.theater-details-card {
    background: #141416;
    border-radius: 14px;
    padding: 24px 26px;
}

.detail-map-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #18181b;
    margin-bottom: 1rem;
}

.theater-map-box {
    position: relative;
    width: 100%;
    height: 200px;
    background: #18181b;
}

.theater-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-skeleton {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8e8e93;
    margin: 0;
}

.detail-value {
    font-size: 0.88rem;
    line-height: 1.5;
}

.text-light-gray {
    color: #d1d1d6;
}

.detail-desc-text {
    font-size: 0.82rem;
    line-height: 1.65;
    color: #a1a1aa;
}

.amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.amenity-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: #202024;
    color: #e4e4e7;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .theater-section,
    .theater-secion,
    .hero-section {
        height: 400px;
    }

    .hero-content {
        padding-bottom: 60px;
    }

    .theaters-info-section {
        margin-top: -32px;
    }

    .theaters-info-bar {
        padding: 18px 20px;
    }

    .theaters-info-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .theater-controls {
        width: 100%;
    }

    .control-item {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .theater-select {
        width: 100%;
        min-width: 0;
    }

    .showtime-movie-card {
        flex-direction: column;
    }

    .movie-poster-thumb {
        width: 80px;
        height: 115px;
    }
}
