/* AP CSP Topic 1.4 reel — gossip / drama aesthetic + animated graphics (ids csp-t14-v1 … csp-t14-v5) */

.ap-euro-reel-slide--gossip {
    background: linear-gradient(165deg, #141414 0%, #1a1a1a 45%, #0d0d0d 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 105, 180, 0.12);
}

.ap-euro-reel-slide--gossippink {
    background: linear-gradient(165deg, #181016 0%, #1f1218 50%, #100a0e 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 105, 180, 0.2);
}

.ap-euro-reel-slide--gossipblue {
    background: linear-gradient(165deg, #0e1218 0%, #121820 50%, #080c10 100%);
    box-shadow: inset 0 0 0 1px rgba(100, 180, 255, 0.15);
}

.ap-euro-reel-slide--gossiptoolkit {
    background: linear-gradient(165deg, #101410 0%, #141a14 48%, #0a0c0a 100%);
    box-shadow: inset 0 0 0 1px rgba(120, 220, 160, 0.12);
}

.ap-euro-reel-slide--gossip .ap-euro-reel-badge,
.ap-euro-reel-slide--gossippink .ap-euro-reel-badge,
.ap-euro-reel-slide--gossipblue .ap-euro-reel-badge,
.ap-euro-reel-slide--gossiptoolkit .ap-euro-reel-badge {
    color: #ff69b4;
    background: rgba(255, 105, 180, 0.12);
    border: 1px solid rgba(255, 105, 180, 0.28);
}

.ap-euro-reel-slide--gossiptoolkit .ap-euro-reel-badge {
    color: #7dd3a0;
    background: rgba(125, 211, 160, 0.1);
    border-color: rgba(125, 211, 160, 0.25);
}

/* --- Graphics: breaking news (v1) --- */
.ap-euro-g--csp-t14-v1 .ap-csp-t14-gossip {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.ap-csp-t14-gossip__live {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
    background: #e11d48;
    border-radius: 4px;
    animation: ap-csp-t14-live-pulse 1.6s ease-in-out infinite;
}

.ap-csp-t14-gossip__stripe {
    position: absolute;
    left: -20%;
    right: -20%;
    height: 8%;
    background: repeating-linear-gradient(
        -45deg,
        #ff69b4 0px,
        #ff69b4 12px,
        #1a1a1a 12px,
        #1a1a1a 24px
    );
    opacity: 0.35;
    animation: ap-csp-t14-stripe 8s linear infinite;
}

.ap-csp-t14-gossip__stripe--2 {
    top: 55%;
    animation-duration: 11s;
    animation-direction: reverse;
    opacity: 0.22;
}

.ap-csp-t14-gossip__stripe--1 {
    top: 28%;
}

.ap-csp-t14-gossip__flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(255, 105, 180, 0.15), transparent 55%);
    animation: ap-csp-t14-flash 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ap-csp-t14-live-pulse {
    0%,
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
    }
    50% {
        transform: translateX(-50%) scale(1.03);
        box-shadow: 0 0 16px 2px rgba(225, 29, 72, 0.45);
    }
}

@keyframes ap-csp-t14-stripe {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(24px);
    }
}

@keyframes ap-csp-t14-flash {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.85;
    }
}

/* --- Graphics: two drama orbs (v2) --- */
.ap-euro-g--csp-t14-v2 .ap-csp-t14-drama2 {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.ap-csp-t14-drama2__orb {
    position: absolute;
    width: 38%;
    aspect-ratio: 1;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    animation: ap-csp-t14-orb-float 3.2s ease-in-out infinite;
}

.ap-csp-t14-drama2__orb--a {
    left: 10%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 150, 200, 0.9), rgba(180, 60, 120, 0.5));
    box-shadow: 0 0 24px rgba(255, 105, 180, 0.35);
    animation-delay: 0s;
}

.ap-csp-t14-drama2__orb--b {
    right: 10%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 220, 120, 0.95), rgba(200, 140, 40, 0.55));
    box-shadow: 0 0 24px rgba(250, 200, 80, 0.35);
    animation-delay: -1.4s;
}

.ap-csp-t14-drama2__vs {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
}

@keyframes ap-csp-t14-orb-float {
    0%,
    100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-8px);
    }
}

/* --- Graphics: crash + chart (v3) --- */
.ap-euro-g--csp-t14-v3 .ap-csp-t14-drama34 {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.ap-csp-t14-drama34__burst {
    position: absolute;
    left: 18%;
    top: 42%;
    width: 28%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 180, 255, 0.5), transparent 65%);
    animation: ap-csp-t14-burst 2s ease-in-out infinite;
}

.ap-csp-t14-drama34__burst::after {
    content: '💥';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 5vw, 2rem);
    animation: ap-csp-t14-burst-spin 4s linear infinite;
}

.ap-csp-t14-drama34__bars {
    position: absolute;
    right: 12%;
    bottom: 18%;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 42%;
}

.ap-csp-t14-drama34__bars span {
    width: 12px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #c084fc, #6b21a8);
    animation: ap-csp-t14-bar 2.4s ease-in-out infinite;
}

.ap-csp-t14-drama34__bars span:nth-child(1) {
    height: 35%;
    animation-delay: 0s;
}
.ap-csp-t14-drama34__bars span:nth-child(2) {
    height: 55%;
    animation-delay: 0.15s;
}
.ap-csp-t14-drama34__bars span:nth-child(3) {
    height: 100%;
    animation-delay: 0.3s;
}
.ap-csp-t14-drama34__bars span:nth-child(4) {
    height: 70%;
    animation-delay: 0.45s;
}

@keyframes ap-csp-t14-burst {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

@keyframes ap-csp-t14-burst-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ap-csp-t14-bar {
    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.85;
    }
    50% {
        transform: scaleY(0.88);
        opacity: 1;
    }
}

/* --- Graphics: toolkit grid (v4) --- */
.ap-euro-g--csp-t14-v4 .ap-csp-t14-tools {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 8px;
    padding: 10% 12%;
    box-sizing: border-box;
}

.ap-csp-t14-tools__cell {
    flex: 0 0 28%;
    max-width: 32%;
    aspect-ratio: 1;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(125, 211, 160, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 4vw, 1.35rem);
    animation: ap-csp-t14-tool-pop 2.8s ease-in-out infinite;
}

.ap-csp-t14-tools__cell:nth-child(1) {
    animation-delay: 0s;
}
.ap-csp-t14-tools__cell:nth-child(2) {
    animation-delay: 0.2s;
}
.ap-csp-t14-tools__cell:nth-child(3) {
    animation-delay: 0.4s;
}
.ap-csp-t14-tools__cell:nth-child(4) {
    animation-delay: 0.6s;
}
.ap-csp-t14-tools__cell:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes ap-csp-t14-tool-pop {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(125, 211, 160, 0);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 12px rgba(125, 211, 160, 0.2);
    }
}

/* --- Graphics: quote card (v5) --- */
.ap-euro-g--csp-t14-v5 .ap-csp-t14-quote {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-csp-t14-quote__card {
    width: 78%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 105, 180, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    animation: ap-csp-t14-quote-tilt 5s ease-in-out infinite;
}

.ap-csp-t14-quote__mark {
    font-size: 2rem;
    line-height: 1;
    color: rgba(255, 105, 180, 0.45);
    font-family: Georgia, serif;
    animation: ap-csp-t14-quote-blink 3s ease-in-out infinite;
}

@keyframes ap-csp-t14-quote-tilt {
    0%,
    100% {
        transform: rotate(-0.5deg) translateY(0);
    }
    50% {
        transform: rotate(0.5deg) translateY(-4px);
    }
}

@keyframes ap-csp-t14-quote-blink {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-csp-t14-gossip__live,
    .ap-csp-t14-gossip__stripe,
    .ap-csp-t14-gossip__flash,
    .ap-csp-t14-drama2__orb,
    .ap-csp-t14-drama34__burst,
    .ap-csp-t14-drama34__bars span,
    .ap-csp-t14-tools__cell,
    .ap-csp-t14-quote__card,
    .ap-csp-t14-quote__mark {
        animation: none !important;
    }
}
