.cctva-halloween-p1 {
    --cctva-halloween-p1-h: 148px;
    min-height: var(--cctva-halloween-p1-h);
    margin: 0;
    border: 1px solid var(--cctva-home-v2-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--cctva-home-v2-radius-lg, 24px);
    background:
        radial-gradient(320px 120px at 15% 50%, rgba(217, 4, 41, 0.16), transparent 70%),
        linear-gradient(90deg, rgba(17, 17, 17, 0.98), rgba(8, 8, 8, 0.98));
    box-shadow: var(--cctva-home-v2-shadow, 0 20px 44px rgba(0, 0, 0, 0.28));
    overflow: hidden;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.cctva-halloween-p1__inner {
    min-height: var(--cctva-halloween-p1-h);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
}

.cctva-halloween-p1__scene {
    position: relative;
    min-height: 112px;
    color: #f8fafc;
}

.cctva-halloween-p1__ghost {
    position: absolute;
    left: 0;
    bottom: 8px;
    color: rgba(248, 250, 252, 0.92);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
    transform: translateX(-120%);
    opacity: 0;
}

.cctva-halloween-p1__camera {
    position: absolute;
    left: 46%;
    bottom: 10px;
    transform: translateX(-50%);
    color: #e5e7eb;
}

.cctva-halloween-p1__rec {
    position: absolute;
    top: -6px;
    right: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #374151;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cctva-halloween-p1__alert-box {
    position: absolute;
    left: 58%;
    top: 18px;
    min-width: 148px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 2px solid #ff1e1e;
    background: rgba(5, 5, 5, 0.92);
    color: #ffd7de;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(255, 30, 30, 0.55);
}

.cctva-halloween-p1__outro {
    text-align: right;
    pointer-events: auto;
}

.cctva-halloween-p1__tagline {
    margin: 0 0 10px;
    color: var(--cctva-home-v2-text-soft, #d1d5db);
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    line-height: 1.35;
}

.cctva-halloween-p1__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff1e1e, #d90429);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(217, 4, 41, 0.28);
}

.cctva-halloween-p1__cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.cctva-halloween-p1.is-playing .cctva-halloween-p1__ghost {
    animation: cctva-halloween-p1-ghost-in 1.4s ease-out forwards,
        cctva-halloween-p1-ghost-idle 1.1s ease-in-out 1.4s forwards,
        cctva-halloween-p1-ghost-out 1.2s ease-in 3.8s forwards;
}

.cctva-halloween-p1.is-playing .cctva-halloween-p1__rec {
    animation: cctva-halloween-p1-rec 6s linear forwards;
}

.cctva-halloween-p1.is-playing .cctva-halloween-p1__alert-box {
    animation: cctva-halloween-p1-alert 6s ease forwards;
}

.cctva-halloween-p1.is-static .cctva-halloween-p1__scene,
.cctva-halloween-p1.is-complete .cctva-halloween-p1__scene {
    opacity: 0;
    visibility: hidden;
    height: 0;
    min-height: 0;
}

.cctva-halloween-p1.is-static .cctva-halloween-p1__inner,
.cctva-halloween-p1.is-complete .cctva-halloween-p1__inner {
    grid-template-columns: 1fr;
}

.cctva-halloween-p1.is-static .cctva-halloween-p1__outro,
.cctva-halloween-p1.is-complete .cctva-halloween-p1__outro {
    text-align: left;
}

.cctva-halloween-p1.is-hidden {
    display: none;
}

@keyframes cctva-halloween-p1-ghost-in {
    0% { transform: translateX(-120%); opacity: 0; }
    100% { transform: translateX(18%); opacity: 1; }
}

@keyframes cctva-halloween-p1-ghost-idle {
    0%, 100% { transform: translateX(18%) translateY(0); }
    50% { transform: translateX(22%) translateY(-6px); }
}

@keyframes cctva-halloween-p1-ghost-out {
    0% { transform: translateX(22%) translateY(-2px); opacity: 1; }
    100% { transform: translateX(130%) translateY(-10px); opacity: 0; }
}

@keyframes cctva-halloween-p1-alert {
    0%, 24% { opacity: 0; transform: scale(0.92); box-shadow: 0 0 0 0 rgba(255, 30, 30, 0); }
    28%, 58% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 30, 30, 0.18); }
    62%, 100% { opacity: 0; transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255, 30, 30, 0); }
}

@keyframes cctva-halloween-p1-rec {
    0%, 26% { background: #374151; }
    27%, 29% { background: #ff1e1e; box-shadow: 0 0 12px rgba(255, 30, 30, 0.8); }
    30%, 56% { background: #374151; }
    57%, 59% { background: #ff1e1e; box-shadow: 0 0 12px rgba(255, 30, 30, 0.8); }
    60%, 100% { background: #374151; }
}

@media (max-width: 767px) {
    .cctva-halloween-p1 {
        --cctva-halloween-p1-h: 168px;
    }

    .cctva-halloween-p1__inner {
        grid-template-columns: 1fr;
        padding: 12px 16px;
    }

    .cctva-halloween-p1__scene {
        min-height: 88px;
    }

    .cctva-halloween-p1__outro {
        text-align: left;
    }

    .cctva-halloween-p1__alert-box {
        left: auto;
        right: 4%;
        top: 6px;
        min-width: 132px;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cctva-halloween-p1.is-playing .cctva-halloween-p1__ghost,
    .cctva-halloween-p1.is-playing .cctva-halloween-p1__rec,
    .cctva-halloween-p1.is-playing .cctva-halloween-p1__alert-box {
        animation: none !important;
    }
}
