/* VISUAL STORIES  */

.visual-stories {
    padding: 90px 0 100px;
    background: linear-gradient(180deg,
            var(--color-bg) 0%,
            #111520 40%,
            var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}


.visual-stories::before,
.visual-stories::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(201, 168, 108, 0.25) 30%,
            rgba(201, 168, 108, 0.5) 50%,
            rgba(201, 168, 108, 0.25) 70%,
            transparent 100%);
    pointer-events: none;
}

.visual-stories::before {
    top: 0;
}

.visual-stories::after {
    bottom: 0;
}

.visual-stories__blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse at center,
            rgba(201, 168, 108, 0.06) 0%,
            rgba(90, 51, 35, 0.04) 40%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

@keyframes blobFloat {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    to {
        transform: translate(-50%, -48%) scale(1.06);
        opacity: 1;
    }
}

/* SECTION HEADER */
.visual-stories__header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Eyebrow pill badge */
.visual-stories__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,
            rgba(201, 168, 108, 0.12),
            rgba(224, 192, 128, 0.06));
    border: 1px solid rgba(201, 168, 108, 0.30);
    border-radius: 50px;
    padding: 5px 18px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.visual-stories__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: vs-pulse 1.8s ease-in-out infinite;
}

/* Title with gradient shimmer */
.visual-stories__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--color-text-primary) !important;
    line-height: 1.1;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.visual-stories__title em {
    font-style: italic;
    font-weight: 800;
    background: linear-gradient(135deg,
            var(--color-accent) 0%,
            var(--color-accent-light) 50%,
            var(--color-accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Gold separator */
.gold-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px auto 20px;
}

.gold-sep span {
    display: block;
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

.gold-sep i {
    color: var(--color-accent);
    font-size: 0.6rem;
    opacity: 0.9;
    animation: gemSpin 6s linear infinite;
}

@keyframes gemSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Subtitle */
.visual-stories__subtitle {
    font-size: 0.97rem;
    color: var(--color-text-muted);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.7;
}

/*   VIDEO GRID */
.visual-stories__grid {
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

/* INDIVIDUAL VIDEO CARD */
.vs-card {
    position: relative;
    flex: 0 0 320px;
    max-width: 360px;
    border-radius: 24px;
    overflow: visible;
    /* keep visible so glow ring can bleed out */
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vs-card:hover {
    transform: translateY(-10px);
}

/* Animated glow ring around card */
.vs-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from var(--angle, 0deg),
            transparent 0%,
            rgba(201, 168, 108, 0.5) 20%,
            rgba(224, 192, 128, 0.8) 40%,
            rgba(201, 168, 108, 0.5) 60%,
            transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
}

.vs-card:hover::before {
    opacity: 1;
}

/* Inner clip for the card content */
.vs-card__inner {
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-accent-border);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(201, 168, 108, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: box-shadow 0.45s ease, border-color 0.45s ease;
}

.vs-card:hover .vs-card__inner {
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(201, 168, 108, 0.14),
        0 0 0 1px rgba(201, 168, 108, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 168, 108, 0.45);
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    to {
        --angle: 360deg;
    }
}

/* ── Aspect Ratio (9:16 vertical) ── */
.vs-card__ratio {
    position: relative;
    width: 100%;
    padding-top: 177.78%;
    overflow: hidden;
}

/* ── Video ── */
.vs-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vs-card:hover .vs-card__video {
    transform: scale(1.04);
}

/* ── Cinematic Gradient Overlay ── */
.vs-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(5, 4, 2, 0.88) 0%,
            rgba(5, 4, 2, 0.35) 30%,
            rgba(5, 4, 2, 0.08) 55%,
            transparent 70%),
        linear-gradient(to bottom,
            rgba(5, 4, 2, 0.40) 0%,
            transparent 25%);
    pointer-events: none;
}

/* Subtle gold vignette pulse on hover */
.vs-card:hover .vs-card__overlay {
    background:
        linear-gradient(to top,
            rgba(5, 4, 2, 0.85) 0%,
            rgba(20, 12, 4, 0.3) 35%,
            transparent 65%),
        linear-gradient(to bottom,
            rgba(5, 4, 2, 0.3) 0%,
            transparent 30%),
        radial-gradient(ellipse at 50% 100%,
            rgba(201, 168, 108, 0.10) 0%,
            transparent 60%);
}

/* ── TOP BADGE ── */
.vs-card__live {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(8, 6, 3, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 108, 0.35);
    border-radius: 50px;
    padding: 6px 14px 6px 8px;
    z-index: 10;
    pointer-events: none;
}

.vs-card__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    animation: vs-pulse 1.6s ease-in-out infinite;
}

@keyframes vs-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 108, 0.7);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(201, 168, 108, 0);
    }
}

.vs-card__live-text {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* ── BOTTOM LABEL PANEL ── */
.vs-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 18px 70px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vs-card__tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg,
            rgba(201, 168, 108, 0.9),
            rgba(224, 192, 128, 0.95));
    color: #1a1208;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.vs-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
    display: block;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

/* Thin gold line below name */
.vs-card__divider {
    display: block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg,
            var(--color-accent),
            var(--color-accent-light));
    border-radius: 2px;
    margin-top: 4px;
}

/* ── MUTE BUTTON ── */
.vs-card__mute-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 168, 108, 0.55);
    background: rgba(8, 6, 3, 0.60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-accent);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
}

.vs-card__mute-btn:hover {
    background: rgba(201, 168, 108, 0.22);
    border-color: var(--color-accent);
    transform: scale(1.15);
    box-shadow: 0 0 18px rgba(201, 168, 108, 0.45);
}

.vs-card__mute-btn:active {
    transform: scale(0.95);
}

.vs-card__mute-btn.is-unmuted {
    background: rgba(201, 168, 108, 0.18);
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    box-shadow: 0 0 12px rgba(201, 168, 108, 0.3);
}

/* Tooltip */
.vs-card__mute-btn::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: rgba(10, 8, 4, 0.85);
    border: 1px solid rgba(201, 168, 108, 0.3);
    color: var(--color-accent);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.vs-card__mute-btn:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* ── CORNER ACCENT LINES (decorative) ── */
.vs-card__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.vs-card:hover .vs-card__corner {
    opacity: 1;
}

.vs-card__corner--tl {
    top: 10px;
    left: 10px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    border-radius: 4px 0 0 0;
}

.vs-card__corner--tr {
    top: 10px;
    right: 10px;
    border-top: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-radius: 0 4px 0 0;
}

.vs-card__corner--bl {
    bottom: 10px;
    left: 10px;
    border-bottom: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    border-radius: 0 0 0 4px;
}

.vs-card__corner--br {
    bottom: 10px;
    right: 10px;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-radius: 0 0 4px 0;
}

/* RESPONSIVE */
@media (max-width: 880px) {
    .visual-stories {
        padding: 70px 0 80px;
    }

    .visual-stories__grid {
        gap: 24px;
        padding: 0 8px;
    }

    .vs-card {
        flex: 1 1 calc(50% - 12px);
        max-width: none;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════════ */
@media (max-width: 580px) {
    .visual-stories {
        padding: 56px 0 68px;
    }

    .visual-stories__grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .vs-card {
        flex: none;
        width: min(86vw, 320px);
        max-width: 360px;
    }

    .visual-stories__title {
        font-size: 1.8rem;
    }

    .visual-stories__header {
        margin-bottom: 44px;
        padding: 0 16px;
    }

    .visual-stories__eyebrow {
        font-size: 0.62rem;
    }

    .visual-stories__subtitle {
        font-size: 0.88rem;
        padding: 0 8px;
    }

    /* Corners always visible on mobile (no hover) */
    .vs-card__corner {
        opacity: 0.6;
    }
}