/* ==========================================================================
   OG BLAST RADIO GLOBAL CORE STYLING MATRIX
   ========================================================================== */

:root {
    --blast-yellow: #FFE100;
    --neon-green: #39FF14;
    --deep-charcoal: #111111;
}

/* Base Body Buffer Padding Allocation */
body {
    padding-bottom: 120px !important; /* Prevents fixed bottom units from clipping workspace layout */
}

/* ==========================================================================
   BREAKING NEWS TICKER ENGINE
   ========================================================================== */

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-viewport {
    width: 100%;
    overflow: hidden;
}

.ticker-wrapper {
    border: 1px solid rgba(255, 225, 0, 0.15);
    border-radius: 6px;
    padding: 6px 12px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    background: rgba(24, 24, 27, 0.4);
}

.ticker-text {
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.ticker-gold { color: #FFE100; }
.ticker-green { color: #39FF14; }
.ticker-divider {
    color: #FFE100;
    margin: 0 1rem;
    display: inline-block;
}

/* Flashing Corner Star Micro-Animations */
.corner-star {
    position: absolute;
    color: #FFE100;
    font-size: 9px;
    opacity: 0.6;
    transform-origin: center;
    animation: starFlash 1.8s linear infinite;
    pointer-events: none;
}

.corner-star.top-left     { top: 5px; left: 8px; animation-delay: 0s; }
.corner-star.top-right    { top: 5px; right: 8px; animation-delay: 0.45s; }
.corner-star.bottom-left  { bottom: 5px; left: 8px; animation-delay: 0.9s; }
.corner-star.bottom-right { bottom: 5px; right: 8px; animation-delay: 1.35s; }

@keyframes starFlash {
    0%, 100% { opacity: 0.1; transform: scale(0.85) rotate(0deg); }
    25%      { opacity: 1; transform: scale(1.1) rotate(8deg); }
    50%      { opacity: 0.4; transform: scale(0.95) rotate(-6deg); }
}

/* ==========================================================================
   GRID ARCHITECTURE & CARD HEIGHT STABILIZATION
   ========================================================================== */

/* Forces uniform matching heights across modern responsive grid breakpoints */
@media (min-width: 768px) {
    .card-row {
        grid-auto-rows: 420px;
    }
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: rgba(255, 225, 0, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   HERO PLATFORM & NAVIGATION INDICATORS
   ========================================================================== */

.hero-video-box {
    width: 100%;
    height: 32vh;
    min-height: 240px;
    max-height: 480px;
}

.nav-active {
    color: var(--blast-yellow);
    border-bottom: 2px solid var(--blast-yellow);
    text-shadow: 0 0 8px rgba(255, 225, 0, 0.3);
}

.on-air-blink {
    animation: beaconBlink 1.2s infinite ease-in-out;
}

@keyframes beaconBlink {
    0%, 100% {
        background-color: #39FF14;
        box-shadow: 0 0 4px #39FF14, 0 0 12px rgba(57, 255, 20, 0.8);
    }
    50% {
        background-color: #044400;
        box-shadow: 0 0 2px #044400, 0 0 0px transparent;
    }
}

/* Custom Scrollbars for Content Windows */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #000;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--blast-yellow);
}

/* ==========================================================================
   MODAL ANIMATION NODES
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Standard HTML range styling adaptations */
input[type="range"]::-webkit-slider-thumb {
    border-radius: 100%;
    box-shadow: 0 0 4px rgba(0,0,0,1);
}