/* ================================================================
   GOLDEN CINEMA — MOVIE DETAIL PAGE (cinema_show.css)
   Loaded via @push('styles') so it comes AFTER Bootstrap
   All body/background overrides use !important to beat Bootstrap
   ================================================================ */

/* ========================
   FORCE DARK PAGE
   ======================== */
body,
body#cinema-body {
    background-color: #0d0f14 !important;
    color: #e2e4ec !important;
}

/* Reset the bad global p that enlarges all text */
p {
    font-size: 1rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    color: inherit;
}

/* ========================
   PAGE WRAPPER
   ======================== */
.gc-movie-page {
    width: 100%;
    background: #0d0f14;
    min-height: 100vh;
    font-family: "Figtree", "Inter", system-ui, sans-serif;
}

/* Kill Bootstrap container on this page */
.gc-movie-page + * ,
body#cinema-body .container {
    background: transparent !important;
}

/* ========================
   HERO BANNER
   ======================== */
.gc-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    filter: blur(22px) brightness(0.28) saturate(1.3);
    transform: scale(1.1);
    z-index: 0;
}

.gc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(13,15,20,0.3) 0%,
        rgba(13,15,20,0.6) 40%,
        rgba(13,15,20,0.97) 100%
    );
    z-index: 1;
}

.gc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 3rem 2rem 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-end;
}

/* ========================
   POSTER IN HERO
   ======================== */
.gc-poster {
    flex: 0 0 220px;
    width: 220px;
}

.gc-poster img,
.gc-poster .gc-poster-empty {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    box-shadow: 0 24px 64px rgba(0,0,0,0.9),
                0 0 0 2px rgba(255,158,27,0.25);
}

.gc-poster .gc-poster-empty {
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255,158,27,0.2);
}

.gc-poster .gc-poster-empty i {
    font-size: 3.5rem;
    color: #ff9e1b;
    opacity: 0.35;
}

/* ========================
   HERO TITLE AREA
   ======================== */
.gc-hero-text {
    flex: 1;
    padding-bottom: 0.5rem;
}

.gc-movie-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.gc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    color: #e2e4ec;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.gc-chip i { font-size: 0.72rem; opacity: 0.75; }

.gc-chip.gc-rating {
    background: linear-gradient(135deg, #ff9e1b, #d97e00) !important;
    color: #0d0f14 !important;
    border-color: transparent !important;
    font-weight: 800 !important;
}

/* ========================
   MAIN CONTENT AREA
   ======================== */
.gc-main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* ========================
   INFO ROW — synopsis + details side by side on desktop
   ======================== */
.gc-info-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

/* Left: synopsis */
.gc-synopsis-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.75rem;
}

.gc-synopsis-block h3 {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff9e1b !important;
    margin-bottom: 0.9rem !important;
}

.gc-synopsis-text {
    font-size: 0.97rem !important;
    line-height: 1.8 !important;
    color: #a8b0c0 !important;
    margin: 0 0 1.25rem 0 !important;
}

/* Genre chips inside synopsis block */
.gc-genre-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.gc-genre-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 13px;
    border-radius: 50px;
    font-size: 0.77rem;
    font-weight: 600;
    background: rgba(255,158,27,0.1);
    color: #ff9e1b;
    border: 1px solid rgba(255,158,27,0.25);
}

/* Right: cast/details panel */
.gc-details-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.4rem;
}

.gc-detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gc-detail-item:last-child { border-bottom: none; padding-bottom: 0; }
.gc-detail-item:first-child { padding-top: 0; }

.gc-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff9e1b;
}

.gc-detail-value {
    font-size: 0.9rem;
    color: #c0c6d4;
}

/* ========================
   SECTION HEADING
   ======================== */
.gc-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 1.1rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gc-section-head i { color: #ff9e1b; font-size: 1rem; }

/* ========================
   TRAILER
   ======================== */
.gc-trailer-section { margin-bottom: 2.5rem; }

.gc-trailer-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 860px;
}

.gc-trailer-box iframe {
    border: none;
    display: block;
}

.gc-no-trailer {
    max-width: 860px;
    background: rgba(255,255,255,0.03);
    border: 2px dashed rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 3.5rem;
    text-align: center;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gc-no-trailer i { font-size: 2.5rem; color: #ff9e1b; opacity: 0.3; }
.gc-no-trailer p { margin: 0; font-size: 0.95rem; }

/* ========================
   SHOWTIMES
   ======================== */
.gc-showtimes-section { margin-bottom: 2.5rem; }

.gc-showtimes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.gc-date-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1rem;
    transition: border-color 0.2s ease;
}

.gc-date-card:hover { border-color: rgba(255,158,27,0.25); }

.gc-date-head {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff9e1b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gc-date-head i { font-size: 0.68rem; }

.gc-theater-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 0.7rem;
    margin-bottom: 0.5rem;
}

.gc-theater-block:last-child { margin-bottom: 0; }

.gc-theater-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9ba5ba;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gc-theater-name i { color: #ff9e1b; font-size: 0.68rem; }

.gc-times { display: flex; flex-wrap: wrap; gap: 5px; }

.gc-time-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: 50px;
    background: #1a6b30;
    color: #fff !important;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.08);
}

.gc-time-btn:hover {
    background: #228b3e;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26,107,48,0.45);
    color: #fff !important;
    text-decoration: none !important;
}

.gc-time-btn i { font-size: 0.68rem; opacity: 0.8; }

.gc-no-showtimes {
    text-align: center;
    padding: 3rem;
    color: #555;
}

.gc-no-showtimes i { font-size: 2rem; color: #ff9e1b; opacity: 0.3; display: block; margin-bottom: 10px; }

/* ========================
   DIVIDER
   ======================== */
.gc-divider {
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    margin: 2rem 0 !important;
}

/* ========================
   RELATED MOVIES
   ======================== */
.gc-related-section { margin-bottom: 2rem; }

.gc-related-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,158,27,0.25) transparent;
}

.gc-related-strip::-webkit-scrollbar { height: 4px; }
.gc-related-strip::-webkit-scrollbar-thumb { background: rgba(255,158,27,0.25); border-radius: 4px; }

.gc-related-card {
    flex: 0 0 148px;
    scroll-snap-align: start;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    display: block;
}

.gc-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,158,27,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: inherit !important;
    text-decoration: none !important;
}

.gc-related-card img {
    width: 100%;
    height: 206px;
    object-fit: cover;
    display: block;
}

.gc-related-card .gc-rel-title {
    padding: 8px 10px;
    font-size: 0.77rem !important;
    font-weight: 600;
    color: #c0c5d0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0,0,0,0.35);
}

/* ========================
   RESPONSIVE — TABLET (≤992px)
   ======================== */
@media (max-width: 992px) {
    .gc-info-row {
        grid-template-columns: 1fr;
    }
}

/* ========================
   RESPONSIVE — MOBILE (≤768px)
   ======================== */
@media (max-width: 768px) {
    .gc-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem 1rem 1.75rem;
    }

    .gc-poster { flex: 0 0 160px; width: 160px; }

    .gc-movie-title { font-size: 1.65rem !important; }

    .gc-main { padding: 1.5rem 1rem 3rem; }

    .gc-showtimes-grid { grid-template-columns: 1fr; }

    .gc-trailer-box { max-width: 100%; }
    .gc-no-trailer  { max-width: 100%; }

    .gc-related-card { flex: 0 0 130px; }
    .gc-related-card img { height: 180px; }
}

@media (max-width: 480px) {
    .gc-poster { flex: 0 0 130px; width: 130px; }

    .gc-movie-title { font-size: 1.4rem !important; }

    .gc-chip { font-size: 0.72rem; padding: 4px 10px; }

    .gc-synopsis-block,
    .gc-details-panel { padding: 1.1rem; }

    .gc-related-card { flex: 0 0 118px; }
    .gc-related-card img { height: 162px; }
}