/**
 * turn-banner.css
 * Static styling for the transient turn-change band. Motion is WAAPI-driven
 * in turn-banner.js (opacity/transform only).
 */

#turn-banner {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9500;
    pointer-events: none;
    padding: 1.2vmin 6vmin;
    white-space: nowrap;
    text-align: center;
    border-radius: 0.8vmin;
    background: linear-gradient(
        90deg,
        rgba(20, 12, 34, 0) 0%,
        rgba(20, 12, 34, 0.85) 18%,
        rgba(20, 12, 34, 0.85) 82%,
        rgba(20, 12, 34, 0) 100%
    );
    opacity: 0;
}

.turn-banner__text {
    font-family: 'Cinzel', 'Georgia', serif;
    font-weight: 700;
    font-size: clamp(20px, 4.2vmin, 44px);
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.turn-banner--your .turn-banner__text {
    color: #eedbf1;
    text-shadow:
        0 0 16px rgba(178, 132, 240, 0.85),
        0 0 34px rgba(255, 215, 130, 0.4),
        0 2px 8px rgba(10, 5, 18, 0.9);
}

.turn-banner--your {
    border-top: 1px solid rgba(255, 215, 130, 0.45);
    border-bottom: 1px solid rgba(255, 215, 130, 0.45);
}

.turn-banner--enemy .turn-banner__text {
    color: #f3c9c9;
    text-shadow:
        0 0 16px rgba(255, 110, 110, 0.6),
        0 2px 8px rgba(10, 5, 18, 0.9);
}

.turn-banner--enemy {
    border-top: 1px solid rgba(255, 110, 110, 0.35);
    border-bottom: 1px solid rgba(255, 110, 110, 0.35);
}
