/* Homepage cinema player + TV spotlight + bento grid */

.home-hero--cinema {
    padding-bottom: 70px;
}

.home-cinema {
    position: relative;
    max-width: 560px;
    margin-inline: auto;
}

.home-cinema__aurora {
    position: absolute;
    inset: -12% -8%;
    background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.45), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.35), transparent 50%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.home-cinema__shell {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.45s ease;
}

.home-cinema__shell:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.home-cinema__chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-cinema__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.home-cinema__dot--red { background: #ef4444; }
.home-cinema__dot--amber { background: #f59e0b; }
.home-cinema__dot--green { background: #22c55e; }

.home-cinema__chrome-title {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-cinema__screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.home-cinema__player {
    width: 100%;
    height: 100%;
}

.home-cinema__player.video-js {
    font-size: 12px;
}

.home-cinema__player .vjs-big-play-button {
    display: none;
}

.home-cinema__player .vjs-control-bar {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.home-cinema__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.72));
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 2;
    cursor: pointer;
}

.home-cinema__overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-cinema__play-btn {
    width: 76px;
    height: 76px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-cinema__play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 48px rgba(168, 85, 247, 0.6);
}

.home-cinema__play-btn i {
    margin-left: 4px;
}

.home-cinema__overlay-text {
    margin: 0;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9375rem;
}

.home-cinema__float-card {
    position: absolute;
    bottom: -18px;
    left: -24px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    text-decoration: none;
    color: #0f172a;
    z-index: 3;
    max-width: 280px;
    transition: transform 0.25s ease;
}

.home-cinema__float-card:hover {
    transform: translateY(-4px);
    color: #4338ca;
}

.home-cinema__float-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.home-cinema__float-card strong {
    display: block;
    font-size: 0.875rem;
}

.home-cinema__float-card small {
    color: #64748b;
    font-size: 0.75rem;
}

.home-cinema__float-rating {
    margin-left: auto;
    color: #f59e0b;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

/* TV Spotlight */
.home-tv-spotlight {
    padding: 0 0 4rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.home-tv-spotlight__grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.25rem;
}

.home-tv-spotlight__main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    color: #fff;
    overflow: hidden;
    min-height: 280px;
}

.home-tv-spotlight__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    right: -80px;
    top: -80px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
    pointer-events: none;
}

.home-tv-spotlight__content {
    position: relative;
    z-index: 1;
}

.home-tv-spotlight__live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.home-tv-spotlight__live i {
    font-size: 0.5rem;
    animation: homeTvPulse 1.4s ease-in-out infinite;
}

@keyframes homeTvPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.home-tv-spotlight__title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.home-tv-spotlight__desc {
    margin: 0;
    opacity: 0.88;
    max-width: 520px;
    line-height: 1.65;
}

.home-tv-spotlight__visual {
    position: relative;
    z-index: 1;
}

.home-tv-spotlight__screen {
    width: 220px;
    height: 140px;
    border-radius: 16px;
    background: #fff;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-tv-spotlight__screen:hover {
    transform: scale(1.04);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.home-tv-spotlight__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(15, 23, 42, 0.03) 2px,
        rgba(15, 23, 42, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.home-tv-spotlight__play-icon {
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.45);
}

.home-tv-spotlight__play-icon i {
    margin-left: 3px;
}

.home-tv-spotlight__logo-wrap {
    position: relative;
    z-index: 2;
    width: 78%;
    height: 72%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 0.65rem;
}

.home-tv-spotlight__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-tv-spotlight__side {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 0.75rem;
}

.home-bento-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: all 0.22s ease;
    min-height: 0;
}

.home-bento-card i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.home-bento-card strong {
    font-size: 0.9375rem;
}

.home-bento-card span {
    font-size: 0.75rem;
    color: #64748b;
}

.home-bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.14);
}

.home-bento-card--projects i { color: #6366f1; }
.home-bento-card--products i { color: #0891b2; }
.home-bento-card--talent i { color: #7c3aed; }
.home-bento-card--video i { color: #db2777; }

@media (max-width: 991px) {
    .home-cinema__shell {
        transform: none;
    }

    .home-cinema__float-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 1rem;
        max-width: 100%;
    }

    .home-tv-spotlight__grid {
        grid-template-columns: 1fr;
    }

    .home-tv-spotlight__main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-tv-spotlight__desc {
        margin-inline: auto;
    }

    .home-tv-spotlight__visual {
        display: flex;
        justify-content: center;
    }

    .home-tv-spotlight__side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 575px) {
    .home-tv-spotlight__side {
        grid-template-columns: 1fr;
    }
}
