.skeleton-col {
    pointer-events: none;
}

/* Skeleton Card: Matches .show-card exactly */
.skeleton-show {
    height: 70px; /* Matches your .show-card height */
    background: #D62828;
    border: solid 1px #8f1818;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

/* The Shimmer Effect Layer */
.skeleton-show::after, .skeleton-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.2) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

/* Image Placeholder: Matches .show-card img */
.skeleton-show::before {
    content: "";
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    flex-shrink: 0;
}

/* Text Placeholder within the card */
.skeleton-text {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

/* Desktop handling */
@media (min-width: 992px) {
    .skeleton-col.desktop-only {
        display: block !important;
    }
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}
#schedule-grid {
    transition: opacity 0.3s ease-in-out;
}




.schedule-section  {
overflow-x: auto;

    
}
hr {
   
    border: Solid 1px #8f1818;
    margin: 15px;
}

/* Schedule Grid Styles */
.schedule-grid {
    display: flex;
    gap: 15px;
    padding: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    
}

/* Desktop: Timetable Columns */
@media (min-width: 992px) {
    .day-selector-mobile { display: none; }
    .schedule-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        overflow-x: visible;
    }
}

/* Mobile: Card Swiper */
@media (max-width: 991px) {
    .schedule-day-column {
        min-width: 100%;
        scroll-snap-align: center;
        display: none; /* Controlled by JS active state */
    }
    .schedule-day-column.active { display: block; }
    
  
}

/* Show Card UI */
.show-card {
    background: #D62828;
          border: solid 1px #8f1818;
    border-radius: 12px;
  
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s;
        height: 70px;
}

.show-card:hover { background: rgba(255, 255, 255, 0.15); }

.show-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.show-card h4 { font-size: 0.9rem; margin: 0; color: #fff; }
.show-card p { font-size: 0.75rem; color: #ccc; margin: 2px 0 0; }

/* Modal Styles */
/* Modern Modal UI */
.modal {
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(5px);
    align-items: flex-end; /* Mobile: Slide up from bottom */
    display: none; /* Controlled by JS */
    position:fixed;
    top:0;
     z-index:100000000;
     width: 100%;
     height:100%;
    
}

.modal-content {
    background: rgb(205, 50, 50);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
   top:15%;
    padding: 30px;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
   
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Close button - larger for thumbs */
.close-modal {
    position: absolute;
    top: -60px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: rgba(255,255,255,0.3);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 5px;
}

.modal-time {
    color: lightgrey;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.modal-host {
    font-style: italic;
    color: whitesmoke;
    margin-bottom: 20px;
}
#modal-show-desc {
    margin-top:5px;
}

#modal-show-img {
    height: 250px;
    width:auto;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-left:auto;
    margin-right:auto;
}

.schedule-controls {
    text-align: center;
    
}

.week-selector {
       display: inline-flex;
    background: rgb(160 43 43 / 22%);
    border-radius: 50px;
    border: 1px solid #8f1818;
}

.week-btn {
    padding: 10px 25px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.day-title {
    margin-bottom: 5px;
      }
.week-btn.active {
    background: var(--brand-dark);
   
}

.week-indicator {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    
}
/* Enhanced Day Selector */
.day-selector-mobile {
    display: flex;
    /* justify-content: space-evenly; */ /* No longer needed with flex: 1 */
    width: 100%; /* Ensure container spans full width */
    padding: 5px;
   
    position: sticky;
    top: 0; /* Sticky usually needs a top value to function */
    z-index: 20;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Hide scrollbar logic remains the same */
.day-selector-mobile::-webkit-scrollbar { display: none; }
.day-selector-mobile { scrollbar-width: none; }

.day-btn {
    flex: 1; /* Changed from 0 0 auto to allow resizing */
    min-width: 0; /* Crucial: allows flex items to shrink below their content width if needed */
   padding: 8px 3px;
    font-size: 1rem;
    border-radius: 20px;
        border: 1px solid #8f1818;
    background: #D62828;
    color: #fff;
    font-family: 'Asap Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; /* Adds ... if the day name is too long for the tiny button */
}

.day-btn.active {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
   
   
}
/* Live Pulse Indicator for Day Nav */
.day-btn.is-today::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00ff88; /* Green for live */
    border-radius: 50%;
    margin-left: 8px;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Ensure the button content stays aligned */
.day-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Highlight the current show in the list */
.show-card.is-live {
   
    background: rgba(0, 255, 136, 0.1);
    position: relative;
    overflow: hidden;
}

.show-card.is-live::before {
    content: 'LIVE';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #00ff88;
    letter-spacing: 1px;
}

/* Add a subtle breathing effect to the live card */
.show-card.is-live {
    animation: live-glow 3s ease-in-out infinite;
}

@keyframes live-glow {
    0%, 100% { box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.05); }
    50% { box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.2); }
}

@media (min-width: 990px) {
   
    
    .day-selector-mobile {
    display: none;
   
}
}

@media (max-width: 990px) {
.modal-content {
  overflow-y: auto;
    padding-bottom: 170px;
}

}
.listen-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Main area slightly wider than chat */
    gap: 20px;
    max-width: 1500px;
    margin: 0px auto;
    padding: 20px;
    align-items: stretch; /* Forces both columns to be equal height */
}

.stream-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* On large screens, the main player takes more vertical space than the alternate */


.alt-card {
    flex: 1; /* Takes 1/3 of the height */
}

/* Common Card Styling */
.lsr-card {
    background-color: #c92a2a;
    border-radius: 15px;
    padding: 25px;
    color: white;
    border: 2px solid #8f1818;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Chat Card - Matches the height of the stream-col */
.chat-card {
    display: flex;
    flex-direction: column;
    height: auto; 
    padding: 0;
      height: 468px !important;
    overflow: hidden;
          gap: 0px !important;
}



     /* Essential styles for the dynamic message list */
        .chat-messages {
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 0px 15px;
            width:100%;
            height: auto; /* Adjust based on your design */
        }
        .message-entry {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            animation: fadeIn 0.3s ease;
             font-size: 0.85rem;
             color:whitesmoke;
             font-family: 'Montserrat', sans-serif;
        }
        .message-icon {
            background: #ff4b2b;
            color: white;
            min-width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.8rem;
        }
        .message-timestamp {
            font-size: 0.7rem;
            color: #ffb7b7;
            margin-right: 5px;
        }
        .message-author {
        font-size: 1.05rem;
            color: white;
            font-weight: 800;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }
        #loading-spinner {
            text-align: center;
            padding: 20px;
        }
        .spinner-svg {
            animation: rotate 2s linear infinite;
            width: 30px;
            height: 30px;
            color: #ff4b2b;
        }
        @keyframes rotate {
            100% { transform: rotate(360deg); }
        }

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 1024px) {
    .listen-grid {
        grid-template-columns: 1fr; /* Stack chat below streams on tablets/phones */
    }
}

@media (max-width: 600px) {
    /* ONLY the main player turns into a column */
    .main-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-card .img-container.main-player {
        width: 100%;
        max-width: 250px;
        height: 250px;
        margin-left:auto;
        margin-right:auto;
    }

    /* The alternate stream stays as a row (horizontal) */
    .alt-card {
        flex-direction: row;
       
    }

    .alt-card .img-container {
        width: 80px; /* Smaller thumbnail to save space on mobile row */
        height: 80px;
    }
}

        /* Red Card Styling */
        .lsr-card {
            background-color: #D62828; /* LSR Red */
            border-radius: 15px;
            padding: 20px;
            color: white;
           border: 2px solid #8f1818;
               box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 20px;
            align-items: flex-start;
            position: relative;
        }

        /* Main Player Card Specifics */
        .img-container {
            position: relative;
            width: 110px;
            height: 110px;
            flex-shrink: 0;
        }
        
        .main-player  {
           
            width: 250px;
            height: 250px;
           
        }

        .img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }

        .card-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.6);
            
            border-radius: 50%;
            width: 50px;
            height: 50px;
            color: white;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
        }

        .card-play-btn:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .card-content {
            flex: 1;
            font-family: 'Montserrat', sans-serif;
        }

        .card-content h2 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            font-weight: 800;
        }

        .card-content .host {
            font-size: 0.9rem;
            margin-bottom: 10px;
            opacity: 0.9;
        }

        .time-badge {
            background: white;
            color: #D62828;
            padding: 4px 10px;
            border-radius: 5px;
            font-weight: 800;
            font-size: 0.8rem;
            display: inline-block;
            margin-bottom: 10px;
        }

        .card-content p {
            font-size: 0.85rem;
            line-height: 1.4;
            font-family: 'Open Sans', sans-serif;
        }

        /* Chat Styling */
        .chat-card {
            display: flex;
            flex-direction: column;
            height: 600px;
            padding: 0;
            overflow: hidden;
        }

        .chat-header {
            padding: 15px;
            border-bottom: 2px solid rgba(0,0,0,0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Montserrat', sans-serif;
              width:100%;
        }

        .active-count {
            color: #8fff8f;
            font-size: 0.9rem;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            font-family: 'Open Sans', sans-serif;
            font-size: 0.9rem;
              max-width: 100%;
    overflow-x: hidden;
        }

        .message {
            margin-bottom: 5px;
        }

        .timestamp {
            opacity: 0.6;
            font-size: 0.75rem;
            margin-right: 5px;
        }

        .username {
            font-weight: 800;
            margin-right: 5px;
        }

        .chat-input-area {
            padding: 15px;
            background: rgba(0,0,0,0.1);
            display: flex;
            gap: 10px;
                  width: 100%;
        }

        .chat-input-area input {
            border: none;
            border-radius: 5px;
            padding: 10px;
            font-family: 'Open Sans', sans-serif;
        }

        .name-input { width: 30%; }
        .msg-input { width: 50%; flex: 1; }

        .send-btn {
            background: transparent;
            border: 2px solid white;
            color: white;
            padding: 5px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .send-btn:hover {
            background: white;
            color: #D62828;
        }
        .get-involved-intro {
            color: #fff;
            padding: 0px 28px;
            
        }
        
        .get-involved-intro .container {
            max-width: 1500px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }
        
        .intro-left, .intro-right {
            flex: 1;
            min-width: 300px;
        }
        
        .get-involved-intro h1, .get-involved-intro h2 {
            font-family: 'Indie Flower', cursive;
            margin-bottom: 20px;
        }
        
        .get-involved-intro h1 { font-size: 3.5rem; }
        .get-involved-intro h2 { font-size: 2.8rem; }
        
        .get-involved-intro p {
          font-family: 'Indie Flower', cursive;
           line-height: 1.3;
    margin-bottom: 20px;
    font-size: 1.3rem;
        }
        
        .collage-img {
            width: 100%;
            height:auto;
            border-radius: 10px;
            margin-top: 10px;
                  max-height: 360px;
        }
        
        .tip {
                margin-bottom: 10px;
        }
        
        .tip h3 {
            font-family: 'Indie Flower', cursive;
            font-size: 1.6rem;
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 1px;
            font-weight: normal;
            margin-bottom: 5px;
        }
        
        .tip p {
            font-size: 1.15rem;
            margin-bottom: 0;
        }

        .apply-section {
            padding: 0 20px 60px 20px;
        }
        
        .apply-grid {
            max-width: 1500px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 20px;
        }
        
        .apply-box {
            background-color: #c92a2a; 
            border: 2px solid #8f1818;
            border-radius: 15px;
            padding: 25px;
            display: flex;
            flex-direction: column;
            box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
        }
        
        .apply-box h3 {
            font-family: 'Asap Condensed', sans-serif;
            font-weight: 800;
            font-size: 1.5rem;
            text-transform: uppercase;
            color: white;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }
        
        .shows-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .show-link {
              display: inline-block;
    border: 2px solid #8f1818;
    border-radius: 8px;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    flex: 1 1 calc(50% - 15px);
    box-sizing: border-box;
    background-color: rgb(160 43 43 / 33%);
        }
        
        .show-link:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }
        
        .box-footer {
            font-family: 'Indie Flower', cursive;
            font-size: 1rem;
            color: white;
            margin-top: auto;
        }

        @media (max-width: 768px) {

            .card-content.alt-card {
    margin-left: auto;
    margin-right: auto;
}

            
.card-play-btn  {
         border: none !important;
      
        }
              .close-modal {
          top: 8px !important;
        right: 8px !important;
        background: none;
                        }
               .about-page-wrapper {
           
           padding: 15px 20px !important;
           
          
        }
              .committee-name {
    
    font-size: 1.2rem  !important;
   
}
 .get-involved-intro {
           
            padding: 0px 5px;
            
        }
              
.container-homepage {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 10px 0px !important;
          overflow: hidden;
}
              main {
    padding: 10px 0 !important;
   
}
              .listen-grid  {
              padding: 15px;
                            padding-top: 5px;
}
              
            .get-involved-intro h1 { font-size: 2.8rem; }
            .get-involved-intro h2 { font-size: 2.3rem; }
            .show-link { flex: 1 1 100%; }
            .apply-grid { grid-template-columns: 1fr; }
        }
        /* --- ABOUT PAGE SPECIFIC STYLES --- */
        .about-page-wrapper {
            background-color: #cb3131; /* Matches the red in the screenshot */
            color: #ffffff;
            padding: 0px 28px;
            font-family: 'Montserrat', sans-serif;
          
        }

        .about-top-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            max-width: 1500px;
            margin: 0 auto;
        }

        .about-col h2 {
            font-family: 'Indie Flower', cursive;
            font-size: 2.8rem;
            margin-bottom: 5px;
            font-weight: 400;
            letter-spacing: 1px;
        }

        .about-col p {
                  font-family: 'Indie Flower', cursive;
            line-height: 1.3;
            margin-bottom: 20px;
            font-size: 1.3rem;
        }

        .about-col .group-img {
            width: 100%;
            border-radius: 12px;
            margin-top: 15px;
            border: 2px solid #111; /* Slight border to match cards */
            height:auto;
        }

        .formation-links-heading {
            font-weight: 800;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .formation-links {
            list-style-type: disc;
            padding-left: 20px;
            font-weight: 800;
            font-family: 'Montserrat', sans-serif;
        }

        .formation-links li {
            margin-bottom: 8px;
        }

        .formation-links a {
            color: white;
            text-decoration: underline;
            text-transform: uppercase;
        }

        .formation-links a:hover {
            color: #f0f0f0;
        }

        /* --- COMMITTEE GRID STYLES --- */
        .committee-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            max-width: 1500px;
            margin: 40px auto 0;
        }

        .committee-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            border: 2px solid #8f1818;
            aspect-ratio: 1/1.1; 
            cursor: pointer;
            transition: transform 0.2s ease-in-out;
        }

.committee-card:before {
           content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 35%), linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, transparent 25%);
    z-index: 1;
    border-radius: calc(var(--radius-md) - 2px);
    pointer-events: none;
        }
        
        .committee-info {
          
    z-index: 2;
  
        }

        .committee-card:hover {
            transform: scale(1.03);
        }

        .committee-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .committee-info {
            position: absolute;
                top: 8px;
            left: 0;
            width: 100%;
            text-align: center;
            /* Text shadow to ensure the white text is readable over varied image backgrounds */
           
          color: rgb(255 255 255 / 75%);
        }

        .committee-name {
                font-family: 'Montserrat', sans-serif;
            font-size: 1.3rem;
            margin: 0;
            line-height: 1.2;
        }

        .committee-role {
           font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            margin: 0;
            line-height: 1.2;
                  margin-top: -3px;
        }

        /* --- MODAL STYLES --- */
        .modal-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: #cb3131;
            
            border-radius: 15px;
            border: 2px solid #8f1818;
            
            max-height: 90vh;
            text-align: center;
            position: relative;
            color: #fff;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        }

        .modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 1.8rem;
            color: #fff;
            cursor: pointer;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }

        .modal-content img {
            max-width: 100%;
            max-height: 60vh;
            border-radius: 10px;
            margin-bottom: 15px;
            object-fit: contain;
        }

        /* Responsive Breakpoints */
        @media (max-width: 850px) {
            .about-top-grid { 
                grid-template-columns: 1fr; 
           
            gap: 20px;
          
        }
        }
 @media (min-width: 769px) {

       .get-involved-intro {
    padding-bottom: 20px;
}

.schedule-section,
.get-involved-intro,
.about-page-wrapper {
    padding-top: 20px;
}
       .committee-grid {
    
    margin: 40px 20px;
}
       
       }

       
        /* NEW: 2-column layout for small screens */
        @media (max-width: 600px) {
            .committee-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px; /* slightly smaller gap for mobile */
            }
            .committee-name {
                font-size: 1.5rem;
            }
            .committee-role {
                font-size: 0.9rem;
            }
        }
        
        
            /* --- VARIABLES --- */
        :root {
            --brand-red: rgb(205, 50, 50);
            --brand-dark: rgb(160, 43, 43);
            --brand-accent: rgb(225, 70, 70);
            
            --bg-body: rgb(205, 50, 50);
            --bg-dark: rgb(131, 28, 28);
            
            --text-main: #ffffff;
            --text-muted: rgba(255, 255, 255, 0.75);
            
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-pill: 50px;
          
            --shadow-card: 0 4px 15px rgba(0,0,0,0.15);
            --shadow-hover: 0 15px 35px rgba(0,0,0,0.35);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            
            --container-width: 1680px;
            --header-height: 58px;
        }

        /* --- RESET & BASE --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img { display: block; width: 100%; height: 100%; object-fit: cover; }

        /* --- UTILITIES --- */
        .font-handwritten {
            font-family: 'Indie Flower', cursive;
            line-height: 1.1rem;
            font-size: 1.4em;
        }
        .text-uppercase { text-transform: uppercase; letter-spacing: 0.5px; }
        .text-bold { font-weight: 800; }

        .container-homepage {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 20px 28px;
        }
.nav-inner {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 20px 28px;
        }

        /* --- PLAYER BAR --- */
        .player-bar {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 10px 20px;
            padding: 10px 25px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
            border: solid 2px #8f1818;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-card);
            position: relative;
            z-index: 200;
            max-width: var(--container-width);
        }

        .player-bar::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 35%), 
                        linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, transparent 25%);
            z-index: -1;
            border-radius: calc(var(--radius-md) - 2px);
            pointer-events: none;
        }

        .player-section {
            display: flex;
            align-items: center;
            gap: 15px;
            overflow: hidden;
        }

        .thumbnail {
            width: 70px;
            height: 70px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            flex-shrink: 0;
        }

        .play-toggle {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: #ffffff;
            color: var(--brand-dark);
            border: 2px solid rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            flex-shrink: 0;
            margin-left: 2px;
        }

        .play-toggle .fas { font-size: 1.5rem; margin-left: 4px; }
        .play-toggle .fa-pause { margin-left: 0; }
        .play-toggle:hover { transform: scale(1.07); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

        .show-info { display: flex; flex-direction: column; gap: 4px; overflow: hidden; width: 100%; }
        .info-header { display: flex; align-items: center; gap: px; flex-wrap: wrap;  width: 100%;
    justify-content: space-between; }
        .info-header h4 { font-size: 1rem; color: #ffffff; text-transform: uppercase; margin: 0; 
    }

        .track-desc {
            font-size: 0.91rem;
            color: var(--text-muted);
            font-family: 'Open Sans', sans-serif;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .live-badge, .next-badge {
            display: inline-flex;
            align-items: center;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.65rem;
            font-weight: 800;
            text-transform: uppercase;
        }
        .live-badge { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
        .next-badge { background: rgba(255,255,255,0.08); color: #ffb130; }

        .visualizer { display: flex; gap: 3px; align-items: flex-end; height: 12px; margin-left: 5px; }
        .bar { width: 3px; background: #2ecc71; animation: bounce 1s infinite ease-in-out; border-radius: 2px; }
        .bar:nth-child(2) { animation-delay: 0.1s; height: 60%; }
        .bar:nth-child(3) { animation-delay: 0.2s; height: 80%; }

        @keyframes bounce {
            0%, 100% { height: 20%; }
            50% { height: 100%; }
        }

        /* --- NAVIGATION --- */
        .nav-container {
            position: sticky;
            top: 0;
            z-index: 100;
            padding-top: 10px;
            width: 100%;
        }

        .nav-container::before {
            content: "";
            position: absolute;
            inset: 0;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            pointer-events: none;
            z-index: -1;
            background: rgba(255, 255, 255, 0.00); 
        }

        .main-nav {
            background: var(--brand-dark);
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
            height: var(--header-height);
            border: solid 2px #8f1818;
            margin: 0px 20px;
            border-radius: var(--radius-md);
        }

        .nav-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
        
        .brand-logo {
            font-size: 1.8rem !important;
            font-weight: 900;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: -1px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .brand-logo span { color: var(--text-muted); }

        .nav-menu { display: flex; gap: 30px; align-items: center; }
        .nav-link {
            font-weight: 700;
            font-size: 1.1rem;
            text-transform: uppercase;
            color: whitesmoke;
            position: relative;
            padding: 5px 0;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 3px;
            background: #ffffff;
            transition: var(--transition);
        } 
        .nav-link:hover,
.nav-link.active::after { color: #ffffff; }
        .nav-link:hover::after,
.nav-link.active::after { width: 100%; }

        .mobile-toggle { display: none; font-size: 1.5rem; color: #ffffff; cursor: pointer; }

        .mobile-overlay {
            position: fixed;
            top: 112px;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        .mobile-overlay.active { opacity: 1; visibility: visible; }

        /* --- MAIN CONTENT & CARDS --- */
        main { padding: 0 0; flex: 1; min-width: 0; width: 100%; }
        main.container { padding-bottom: 0px; }

        .section-grid { display: grid; gap: 20px; margin-bottom: 20px; }
        .grid-3 { grid-template-columns: repeat(3, 1fr); }
        .grid-2 { grid-template-columns: 1fr 1fr; }

        .card {
            background: #000;
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
            aspect-ratio: 1 / 1;
            box-shadow: var(--shadow-card);
            cursor: pointer;
            border: 2px solid #8f1818;
            filter: brightness(1.1);
            opacity: 0.95;
        }
        .card-wide { aspect-ratio: 16 / 9; }
        
        .card img { transition: 0.9s ease; }
        .card:hover img { transform: scale(1.01); filter: brightness(0.92); }
        .card-img-top { object-position: top; transform: scale(1.1); }

        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
            padding: 25px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            color: white;
            transition: var(--transition);
        }

        .card-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #ffffff;
            color: var(--brand-dark);
            font-weight: 800;
            font-size: 0.7rem;
            padding: 6px 12px;
            border-radius: var(--radius-pill);
            z-index: 10;
            text-transform: uppercase;
            border: 1px solid rgba(0,0,0,0.1);
            transition: 0.4s ease;
        }
        .card:hover .card-badge { transform: scale(1.1); transition: 0.5s ease; }
        .card-badge:hover { text-decoration: underline; }

        .card-title {
            font-size: 1.4rem;
            color: #ffffff;
            margin-top: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        /* --- FOOTER --- */
        .main-footer {
            position: relative;
            margin: 0 20px 20px;
            padding: 32px 24px 16px;
            border: 2px solid #8f1818;
            border-radius: var(--radius-md);
            font-family: 'Open Sans', sans-serif;
            box-shadow: var(--shadow-card);
        }
        .main-footer:before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%), 
                        linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, transparent 25%);
            z-index: -1;
            pointer-events: none;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1.5fr 1fr;
            gap: 30px;
            margin-bottom: 20px;
            padding-bottom: 25px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.25);
            align-items: start;
            justify-content: center;
        }

        .footer-col { display: flex; flex-direction: column; justify-items: center; }
        .footer-links-group { display: flex; gap: 68px; justify-content: center; }
        
        .col-banner { padding-right: 30px; }
        .col-official { padding-right: 30px; }
        .col-info { padding-left: 10px; }

        .footer-col h4 {
            font-family: 'Asap Condensed', sans-serif;
            text-transform: uppercase;
            font-size: 1.2rem;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
        }

        .footer-col ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-col a { display: flex; align-items: center; font-size: 1rem; transition: var(--transition); }
        .footer-col a i { font-size: 1.3rem; width: 28px; text-align: left; }
        .footer-col a:hover { color: rgba(255,255,255,0.8); transform: translateX(3px); }

        .banner-text, .info-text { font-size: 1rem; line-height: 1.2; text-align: center; margin-bottom: 15px; }
        .careers-banner { width: 100%; max-width: 360px; border-radius: 4px; object-fit: contain; margin: 0 auto; }
        
        .disclaimer-link, .zach { text-align: center; line-height: 1; cursor: pointer; justify-content: space-around; }
        .disclaimer-link:hover, .zach:hover { text-decoration: underline; }

        .copyright { text-align: center; font-size: 0.85rem; font-weight: 100; line-height: 1; }

        /* --- RESPONSIVE ADJUSTMENTS --- */
        @media (max-width: 1100px) {
            .footer-grid { grid-template-columns: 1fr; gap: 40px; }
            .col-banner { padding-right: 0; border-bottom: 1px solid rgba(0,0,0,0.25); padding-bottom: 30px; }
            .footer-links-group { flex-wrap: wrap; justify-content: center; gap: 30px; }
            .col-official { padding-right: 0; }
            .col-info { border-top: 1px solid rgba(0,0,0,0.25); padding-top: 30px; padding-left: 0; }
       
            .brand-logo {
        font-size: 1.2rem;
        font-weight: 800;
        line-height:1;
    }
           .nav-link.brand-logo {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        line-height:1 !important;
               padding:none  !important;
    }
    .nav-link {
    font-weight: 700;
    font-size: 0.9rem;
   line-height:1;
    padding: 5px 2px;
}
 }

        @media (max-width: 992px) {
            .section-grid.grid-3, .section-grid.grid-2 { 
                display: flex; 
                overflow-x: auto; 
                scroll-snap-type: x mandatory; 
                scroll-behavior: smooth;
                scrollbar-width: none; 
                -ms-overflow-style: none;
                margin: 0 -28px 20px;
                padding: 0 28px;
                gap: 15px;
            }
            .section-grid.grid-3::-webkit-scrollbar, .section-grid.grid-2::-webkit-scrollbar { display: none; }
            
            .section-grid.grid-2 { direction: rtl; } /* Start scrolled to the end */
            .section-grid.grid-2 .card { direction: ltr; }
            
            .section-grid.grid-3 .card, .section-grid.grid-2 .card { 
                min-width: 90%; 
                flex: 0 0 90%; 
                scroll-snap-align: center; 
                display: flex;
                flex-direction: column;
                aspect-ratio: auto; 
                height: auto;
            }

            .section-grid.grid-3 .card img, .section-grid.grid-2 .card img {
                height: 60vw; 
                max-height: 350px;
            }
            .section-grid.grid-3 .card-overlay { padding-bottom: 15px; }
            .section-grid.grid-3 .card-title { margin-top: 0; }
          
        }

        @media (max-width: 768px) {

              
            :root { --header-height: 50px; }
            .container { padding: 15px; }
            .player-bar {
                grid-template-columns: 1fr;
                margin: 0;
                border: none;
                border-radius: 0;
                border-bottom: solid 2px #8f1818;
            }
            .player-bar:before { border-radius: 0; }
            .player-section.up-next, .up-next-pill, .track-desc { display: none; }
            .thumbnail { width: 40px; height: 40px; }
            .play-toggle { width: 42px; height: 42px; margin: 2px;}

              .player-bar {
  
  
    padding: 8px 25px !important;
  }
      
            .main-nav { margin: 0; border: none; border-radius: 0; border-bottom: solid 2px #8f1818; background: var(--bg-body); }
            .nav-container { padding-top: 0; }
            .brand-logo { font-size: 1.4rem; }
              .nav-link.brand-logo {
        font-size: 1.4rem !important;
    }
            .mobile-toggle { display: block; }

            .nav-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgb(205, 50, 50);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                flex-direction: column;
                align-items: flex-start;
                padding: 15px 20px 25px;
                opacity: 0;
                visibility: hidden;
                transform: translateY(-10px);
                border-bottom: 2px solid #8f1818;
                box-shadow: 0 15px 30px rgba(0,0,0,0.3);
                  gap:10px !important;
                transition: all 0.3s ease-in-out;
            }

                .nav-menu .nav-link {
        display: block;
        padding: 20px 20px !important;
        font-size: 1.2rem !important;
        border: 1px solid #8f1818 !important;
        border-radius: var(--radius-sm);
        background: #D62828 !important;
    }
    .nav-menu .nav-link:hover,
              .nav-link.active {
       
        background: #e54747 !important;
    }

              
            .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
            .nav-menu li { width: 100%; }
            .nav-link { display: block; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); }
         
            .nav-link::after { display: none; }

            .section-grid.grid-3, .section-grid.grid-2 { margin: 0 -15px; }
            
            .section-grid.grid-3 { padding-bottom: 15px; }
            .card-title { font-size: 1.2rem; }
            .card-badge { top: 15px; right: 15px; font-size: 0.67rem; }
            .main-footer { margin: 0; padding: 0; border: none; box-shadow: none; }
            .main-footer:before { display: none; }
            .footer-grid { grid-template-columns: 1fr; gap: 10px; padding-bottom: 0; }
            .footer-links-group { flex-direction: row; gap: 20px; padding: 20px; border-top: solid 2px #8f1818; justify-content: center; }
            .footer-links-group:before {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%), 
                            linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, transparent 25%);
                z-index: -1;
                pointer-events: none;
            }
            
            .col-info { display: none; }
            .col-banner { border: solid 2px #8f1818; padding: 20px; border-radius: var(--radius-md); margin:0px; margin-bottom: 15px; }
            .copyright { padding: 20px; }
        }
        
       
   /* Base Styles (Desktop/Default) */
.chat-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-area input {
    border: none;
    border-radius: 8px; /* Slightly rounder for modern feel */
    padding: 12px;
    font-family: 'Open Sans', sans-serif;
    outline: none;
}

/* Mobile Specific Optimizations */
@media (max-width: 600px) {
    .chat-input-area {
        gap: 8px;
        padding: 10px;
    }

    /* Collapse Name Input: Small by default, expands on focus */
    .name-input {
        width: 60px; 
        transition: width 0.3s ease;
        font-size: 0.8rem;
    }

    .name-input:focus {
        width: 100px;
    }

    .msg-input {
        flex: 1; /* Takes up all remaining space */
        min-width: 0; /* Prevents flex items from overflowing */
    }

    /* Transform Send Button into an Arrow */
    .send-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%; /* Circular button */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: #fff; /* White circle */
        border: none;
        position: relative;
    }

    .btn-text {
        display: none; /* Hide "Send" text */
    }

    /* CSS Upward Arrow */
    .send-btn::before {
        content: '';
        width: 10px;
        height: 10px;
        border-top: 3px solid var(--brand-dark); /* Arrow color */
        border-right: 3px solid var(--brand-dark);
        transform: rotate(-45deg);
        margin-top: 4px;
    }
}
/* Mobile Specific Optimizations */
@media (max-width: 600px) {
    .chat-input-area {
        gap: 8px;
        padding: 10px;
    }

    /* Change font-size to 16px to prevent iOS auto-zoom */
    .chat-input-area input {
        font-size: 16px !important;
    }

    .name-input {
        width: 69px; 
        transition: width 0.3s ease;
        /* font-size: 0.8rem;  <-- Remove or override this */
    }

    /* ... rest of your code ... */
}
