/* Horizontal Scroll Scene */
#scene-horizontal-actors {
    background: var(--bg);
    overflow: hidden;
    /* Hide overflow to allow GSAP to scroll the inner container horizontally */
    min-height: 100vh;
}

.horizontal-pin-container {
    height: 100vh;
    display: flex;
    align-items: center;
}

.horizontal-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    padding: 0 5vw;
    /* Start with some padding */
}

.h-panel {
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4vw;
}

/* Typography for Horizontal Scroll */
.massive-outline {
    font-size: 10vw;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-muted);
    line-height: 0.9;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
    margin: 0;
}

.massive-solid {
    font-size: 10vw;
    font-weight: 700;
    color: var(--text);
    line-height: 0.9;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
    margin: 0;
}

.h-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 400px;
    margin-top: 2rem;
    line-height: 1.7;
}

/* Actor Cards (Noomo Style) */
.actor-panel {
    /* Perspective for 3D effect on child cards */
    perspective: 1000px;
}

.actor-card {
    width: 35vw;
    min-width: 400px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    /* Transformation handled by GSAP */
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.actor-image-wrapper {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.actor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.2);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg));
    opacity: 0.8;
}

.actor-info {
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 240, 255, 0.05), transparent);
}

.actor-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.actor-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.threat-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.warn-tag {
    border-color: var(--warn);
    color: var(--warn);
}

.safe-tag {
    border-color: #00ff88;
    color: #00ff88;
}

/* Responsive adjustments for Horizontal section */
@media (max-width: 1024px) {
    .actor-card {
        width: 50vw;
        min-width: 300px;
    }

    .massive-outline,
    .massive-solid {
        font-size: 12vw;
    }
}

@media (max-width: 768px) {
    .actor-card {
        width: 75vw;
        min-width: 280px;
    }

    .massive-outline,
    .massive-solid {
        font-size: 15vw;
    }

    .h-desc {
        font-size: 1.1rem;
    }

    .actor-info h3 {
        font-size: 1.8rem;
    }

    .actor-image-wrapper {
        height: 250px;
    }
}