* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    overflow: hidden;
}

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background: url('images/bg.jpg') center center no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    position: relative;
}

.container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    padding: 15px;
    height: 100vh;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.sidebar {
    background: rgba(44, 62, 80, 0.85) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
}

.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.sidebar-box {
    background: rgba(44, 62, 80, 0.85) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
    flex: 1;
    min-height: 0;
}

/* Scrollbar styling for sidebars */
.sidebar::-webkit-scrollbar,
.sidebar-box::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track,
.sidebar-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb,
.sidebar-box::-webkit-scrollbar-thumb {
    background: rgba(218, 203, 182, 0.6);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.sidebar::-webkit-scrollbar-thumb:hover,
.sidebar-box::-webkit-scrollbar-thumb:hover {
    background: rgba(218, 203, 182, 0.8);
}

/* Heavy rustic texture overlay for sidebars */
.sidebar::before,
.sidebar-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(30deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.06) 1px,
            rgba(255, 255, 255, 0.06) 2px),
        repeating-linear-gradient(-30deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.08) 1px,
            rgba(0, 0, 0, 0.08) 2px);
    background-size: 2px 2px, 2px 2px;
    pointer-events: none;
}

.main-content {
    background: rgba(44, 62, 80, 0.9) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

/* Main content heavy rustic texture */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(25deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.08) 1px,
            rgba(255, 255, 255, 0.08) 2px),
        repeating-linear-gradient(-25deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.1) 1px,
            rgba(0, 0, 0, 0.1) 2px);
    background-size: 1px 1px, 1px 1px;
    pointer-events: none;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.flag-left,
.flag-right {
    width: 60px;
    height: 45px;
    object-fit: cover;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.95));
    border: 2px solid rgba(218, 203, 182, 0.3);
    border-radius: 4px;
}

.events-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    margin-top: 8px;
}

.events-scroll::-webkit-scrollbar {
    width: 10px;
}

.events-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.events-scroll::-webkit-scrollbar-thumb {
    background: rgba(218, 203, 182, 0.6);
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.events-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(218, 203, 182, 0.8);
}

h1,
h2,
h3,
h4 {
    color: #dacbb6 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
    position: relative;
    z-index: 3;
    font-weight: 900 !important;
    flex-shrink: 0;
}

h1 {
    font-size: 2.8em !important;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1.1;
}

h3 {
    font-size: 1.8em !important;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

h4 {
    font-size: 1.2em !important;
    margin-bottom: 8px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #B22222 !important;
}

h5 {
    color: #B22222 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
    position: relative;
    z-index: 3;
    font-weight: 900 !important;
    font-size: 1em !important;
    margin-bottom: 6px;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subtitle-banner {
    background: #B22222 !important;
    color: #dacbb6 !important;
    font-size: 1.1em;
    font-weight: 900;
    text-align: center;
    padding: 15px;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
    position: relative;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.subtitle-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(40deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.08) 1px,
            rgba(255, 255, 255, 0.08) 2px);
    background-size: 2px 2px;
    pointer-events: none;
}

.filter-section {
    margin: 15px 0;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.filter-label {
    color: #dacbb6;
    font-weight: 900;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
}

.filter-input {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #dacbb6;
    color: #dacbb6;
    padding: 10px 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 300px;
    font-size: 1em;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.filter-input::placeholder {
    color: rgba(218, 203, 182, 0.6);
}

.day-banner {
    background: #B22222 !important;
    color: #dacbb6 !important;
    font-size: 1.4em;
    font-weight: 900;
    text-align: center;
    padding: 12px;
    margin: 15px 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
    position: relative;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}

.day-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(50deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.1) 1px,
            rgba(255, 255, 255, 0.1) 2px);
    background-size: 2px 2px;
    pointer-events: none;
}

.event-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 15px 0;
    background: transparent;
    position: relative;
    z-index: 3;
}

.event-table th,
.event-table td {
    padding: 8px 12px;
    text-align: left;
    border: none;
    color: #dacbb6 !important;
    font-weight: 900;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.event-table th {
    background: rgba(0, 0, 0, 0.6);
    font-size: 0.9em;
    border-bottom: 2px solid rgba(218, 203, 182, 0.5);
    padding: 10px 12px;
}

.event-table tr {
    border-bottom: 1px solid rgba(218, 203, 182, 0.3);
}

.event-table tr:hover {
    background: rgba(0, 0, 0, 0.4);
}

.map-link {
    color: #dacbb6 !important;
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.map-link:hover {
    color: #fff !important;
    text-shadow: 0 0 15px #dacbb6, 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.sidebar-content {
    color: #dacbb6 !important;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    z-index: 3;
    font-size: 0.9em;
}

.sidebar-content p {
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    text-transform: none;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.sidebar-content li {
    margin-bottom: 8px;
    padding-left: 0;
}

.sidebar-content a {
    color: #dacbb6 !important;
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.sidebar-content a:hover {
    color: #fff !important;
    text-shadow: 0 0 15px #dacbb6, 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.highlight-box {
    background: #B22222 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
}

.highlight-box h4 {
    color: #dacbb6 !important;
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-box p {
    color: #dacbb6 !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6;
    font-size: 0.85em;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(35deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.08) 1px,
            rgba(255, 255, 255, 0.08) 2px);
    background-size: 2px 2px;
    pointer-events: none;
}

.loading {
    text-align: center;
    color: #dacbb6 !important;
    font-size: 1.8em;
    padding: 50px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
}

.no-events {
    text-align: center;
    color: #dacbb6 !important;
    font-size: 1.8em;
    padding: 50px;
    background: rgba(0, 0, 0, 0.6);
    margin: 25px 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
}

/* Tablet breakpoint */
@media (max-width: 1366px) {
    h1 {
        font-size: 2.4em !important;
        letter-spacing: 3px;
    }

    .flag-left,
    .flag-right {
        width: 50px;
        height: 38px;
    }

    .sidebar-content {
        font-size: 0.8em;
    }

    .event-table th,
    .event-table td {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        gap: 12px;
        padding: 12px;
    }

    h1 {
        font-size: 2.2em !important;
    }

    .subtitle-banner {
        font-size: 1em;
        padding: 12px;
        letter-spacing: 2px;
    }

    .filter-input {
        width: 250px;
        font-size: 0.9em;
    }
}

/* Standard tablets - mobile layout starts here */
@media (max-width: 768px) {

    html,
    body {
        height: auto;
        overflow: visible;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        min-height: 100vh;
        height: auto;
    }

    .main-content {
        order: 1;
        overflow: visible;
        height: auto;
        min-height: auto;
        padding: 15px;
    }

    .sidebar:first-child {
        order: 2;
        overflow: visible;
        height: auto;
        padding: 15px;
    }

    .sidebar-right {
        order: 3;
        overflow: visible;
        height: auto;
        flex-direction: column;
        gap: 15px;
    }

    .sidebar-box {
        padding: 15px;
        overflow: visible;
        height: auto;
    }

    .events-scroll {
        overflow: visible;
        height: auto;
        flex: none;
    }

    .title-container {
        gap: 15px;
        margin-bottom: 20px;
    }

    .flag-left,
    .flag-right {
        width: 45px;
        height: 34px;
    }

    h1 {
        font-size: 2em !important;
        letter-spacing: 2px;
    }

    h3 {
        font-size: 1.5em !important;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    h4 {
        font-size: 1.1em !important;
        letter-spacing: 0.5px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    h5 {
        font-size: 0.95em !important;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .subtitle-banner {
        font-size: 0.95em;
        padding: 12px;
        margin: 20px 0;
        letter-spacing: 2px;
    }

    .filter-section {
        margin: 20px 0;
    }

    .filter-label {
        display: block;
        margin-bottom: 10px;
        font-size: 1em;
    }

    .filter-input {
        width: 100%;
        font-size: 0.9em;
        padding: 12px 16px;
        letter-spacing: 1px;
    }

    .day-banner {
        font-size: 1.2em;
        padding: 12px;
        letter-spacing: 1px;
        margin: 20px 0 15px 0;
    }

    .event-table {
        margin: 15px 0 25px 0;
        font-size: 0.9em;
    }

    .event-table th,
    .event-table td {
        padding: 8px 6px;
        font-size: 0.75em;
        letter-spacing: 0.3px;
    }

    .sidebar-content {
        font-size: 0.9em;
    }

    .sidebar-content p {
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .sidebar-content li {
        margin-bottom: 10px;
    }

    .highlight-box {
        padding: 15px;
        margin: 20px 0;
    }

    .highlight-box p {
        font-size: 0.85em;
        line-height: 1.6;
    }

    .loading,
    .no-events {
        font-size: 1.4em;
        padding: 30px 15px;
    }
}

/* Large phones (iPhone Plus, Android phablets) */
@media (max-width: 480px) {
    .container {
        padding: 12px;
        gap: 12px;
    }

    .main-content,
    .sidebar,
    .sidebar-box {
        padding: 12px;
    }

    .title-container {
        gap: 12px;
        margin-bottom: 15px;
    }

    .flag-left,
    .flag-right {
        width: 40px;
        height: 30px;
    }

    h1 {
        font-size: 1.8em !important;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.3em !important;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }

    h4 {
        font-size: 1em !important;
        letter-spacing: 0.3px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    h5 {
        font-size: 0.9em !important;
        margin-top: 12px;
        margin-bottom: 6px;
    }

    .subtitle-banner {
        font-size: 0.85em;
        padding: 10px;
        margin: 15px 0;
        letter-spacing: 1px;
    }

    .filter-label {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .filter-input {
        font-size: 0.85em;
        padding: 10px 12px;
        border-width: 2px;
    }

    .day-banner {
        font-size: 1.1em;
        padding: 10px;
        letter-spacing: 0.5px;
        margin: 15px 0 12px 0;
    }

    .event-table th,
    .event-table td {
        padding: 6px 4px;
        font-size: 0.7em;
        letter-spacing: 0.2px;
    }

    .sidebar-content {
        font-size: 0.85em;
        line-height: 1.4;
    }

    .sidebar-content p {
        margin-bottom: 12px;
    }

    .sidebar-content li {
        margin-bottom: 8px;
    }

    .highlight-box {
        padding: 12px;
        margin: 15px 0;
    }

    .highlight-box p {
        font-size: 0.8em;
        line-height: 1.5;
        letter-spacing: 0.5px;
    }

    .loading,
    .no-events {
        font-size: 1.2em;
        padding: 25px 12px;
        letter-spacing: 2px;
    }
}

/* Small phones (iPhone SE, older Android) */
@media (max-width: 375px) {
    .container {
        padding: 10px;
        gap: 10px;
    }

    .main-content,
    .sidebar,
    .sidebar-box {
        padding: 10px;
    }

    .title-container {
        gap: 10px;
        margin-bottom: 12px;
    }

    .flag-left,
    .flag-right {
        width: 35px;
        height: 26px;
    }

    h1 {
        font-size: 1.6em !important;
        letter-spacing: 0.5px;
        line-height: 1.1;
    }

    h3 {
        font-size: 1.2em !important;
        letter-spacing: 0.3px;
        margin-bottom: 12px;
    }

    h4 {
        font-size: 0.95em !important;
        letter-spacing: 0.2px;
        margin-top: 12px;
        margin-bottom: 6px;
    }

    h5 {
        font-size: 0.85em !important;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .subtitle-banner {
        font-size: 0.8em;
        padding: 8px;
        margin: 12px 0;
        letter-spacing: 0.5px;
    }

    .filter-label {
        font-size: 0.85em;
        margin-bottom: 6px;
    }

    .filter-input {
        font-size: 0.8em;
        padding: 8px 10px;
        border-width: 2px;
    }

    .day-banner {
        font-size: 1em;
        padding: 8px;
        letter-spacing: 0.3px;
        margin: 12px 0 10px 0;
    }

    .event-table th,
    .event-table td {
        padding: 5px 3px;
        font-size: 0.65em;
        letter-spacing: 0.1px;
    }

    .sidebar-content {
        font-size: 0.8em;
        line-height: 1.3;
    }

    .sidebar-content p {
        margin-bottom: 10px;
    }

    .sidebar-content li {
        margin-bottom: 6px;
    }

    .highlight-box {
        padding: 10px;
        margin: 12px 0;
    }

    .highlight-box p {
        font-size: 0.75em;
        line-height: 1.4;
        letter-spacing: 0.3px;
    }

    .loading,
    .no-events {
        font-size: 1.1em;
        padding: 20px 10px;
        letter-spacing: 1px;
    }
}

/* Very small phones */
@media (max-width: 320px) {
    .container {
        padding: 8px;
        gap: 8px;
    }

    .main-content,
    .sidebar,
    .sidebar-box {
        padding: 8px;
    }

    .title-container {
        gap: 8px;
        margin-bottom: 10px;
    }

    .flag-left,
    .flag-right {
        width: 30px;
        height: 23px;
    }

    h1 {
        font-size: 1.4em !important;
        letter-spacing: 0.3px;
        line-height: 1.1;
    }

    h3 {
        font-size: 1.1em !important;
        letter-spacing: 0.2px;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 0.9em !important;
        letter-spacing: 0.1px;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    h5 {
        font-size: 0.8em !important;
        margin-top: 8px;
        margin-bottom: 4px;
    }

    .subtitle-banner {
        font-size: 0.75em;
        padding: 6px;
        margin: 10px 0;
        letter-spacing: 0.3px;
    }

    .filter-label {
        font-size: 0.8em;
        margin-bottom: 5px;
    }

    .filter-input {
        font-size: 0.75em;
        padding: 6px 8px;
        border-width: 1px;
    }

    .day-banner {
        font-size: 0.95em;
        padding: 6px;
        letter-spacing: 0.2px;
        margin: 10px 0 8px 0;
    }

    .event-table th,
    .event-table td {
        padding: 4px 2px;
        font-size: 0.6em;
        letter-spacing: 0px;
    }

    .sidebar-content {
        font-size: 0.75em;
        line-height: 1.2;
    }

    .sidebar-content p {
        margin-bottom: 8px;
    }

    .sidebar-content li {
        margin-bottom: 5px;
    }

    .highlight-box {
        padding: 8px;
        margin: 10px 0;
    }

    .highlight-box p {
        font-size: 0.7em;
        line-height: 1.3;
        letter-spacing: 0.2px;
    }

    .loading,
    .no-events {
        font-size: 1em;
        padding: 15px 8px;
        letter-spacing: 0.5px;
    }
}

.inline-icon {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    margin-right: 6px;
    display: inline-block;
}

.icon-x {
    filter: brightness(0) saturate(100%) invert(85%) sepia(18%) saturate(347%) hue-rotate(13deg) brightness(96%) contrast(91%);
}

.icon-gmail {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.icon-youtube {
    filter: brightness(0) saturate(100%) invert(12%) sepia(94%) saturate(7151%) hue-rotate(3deg) brightness(108%) contrast(115%);
}

.icon-facebook {
    filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(6143%) hue-rotate(221deg) brightness(103%) contrast(105%);
}

.icon-github {
    filter: brightness(0) saturate(100%) invert(1);
}

.icon-github-pages {
    filter: brightness(0) saturate(100%) invert(1);
}

.icon-github-pages-large {
    height: 22px;
    width: auto;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
}

.live-event {
    background-color: rgba(34, 139, 34, 0.2) !important;
    border-left: 3px solid #228B22;
}

.starting-soon-event {
    background-color: rgba(255, 165, 0, 0.2) !important;
    border-left: 3px solid #FFA500;
}

.live-badge {
    background: #228B22;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: bold;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.starting-soon-badge {
    background: #FFA500;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: bold;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.expand-btn {
    background: none;
    border: none;
    color: #dacbb6;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.expand-btn.pulse {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(218, 203, 182, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 15px rgba(218, 203, 182, 0.8);
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 5px rgba(218, 203, 182, 0.5);
        transform: scale(1);
    }
}

.expand-btn:hover {
    background: rgba(218, 203, 182, 0.1);
}

.expand-btn.expanded {
    background: rgba(218, 203, 182, 0.2);
}

.live-content-row {
    background: rgba(0, 0, 0, 0.3);
}

.live-content {
    padding: 12px !important;
    border-top: 1px solid rgba(218, 203, 182, 0.2);
}

.live-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.live-item {
    padding: 8px 12px;
    background: rgba(218, 203, 182, 0.1);
    border-radius: 4px;
    border-left: 3px solid #FFA500;
    font-size: 0.9em;
}

.live-link {
    color: #dacbb6 !important;
    text-decoration: none;
    font-weight: 900;

    .live-badge {
        background: #228B22;
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 0.7em;
        font-weight: bold;
        margin-left: 8px;
        letter-spacing: 0.5px;
    }

    .starting-soon-badge {
        background: #FFA500;
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 0.7em;
        font-weight: bold;
        margin-left: 8px;
        letter-spacing: 0.5px;
    }

    .expand-btn {
        background: none;
        border: none;
        color: #dacbb6;
        cursor: pointer;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 3px;
        transition: all 0.2s ease;
    }

    .expand-btn.pulse {
        animation: pulse-glow 1.5s ease-in-out infinite;
    }

    @keyframes pulse-glow {
        0% {
            box-shadow: 0 0 5px rgba(218, 203, 182, 0.5);
            transform: scale(1);
        }

        50% {
            box-shadow: 0 0 15px rgba(218, 203, 182, 0.8);
            transform: scale(1.1);
        }

        100% {
            box-shadow: 0 0 5px rgba(218, 203, 182, 0.5);
            transform: scale(1);
        }
    }

    .expand-btn:hover {
        background: rgba(218, 203, 182, 0.1);
    }

    .expand-btn.expanded {
        background: rgba(218, 203, 182, 0.2);
    }

    .live-content-row {
        background: rgba(0, 0, 0, 0.3);
    }

    .live-content {
        padding: 12px !important;
        border-top: 1px solid rgba(218, 203, 182, 0.2);
    }

    .live-items {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .live-item {
        padding: 8px 12px;
        background: rgba(218, 203, 182, 0.1);
        border-radius: 4px;
        border-left: 3px solid #FFA500;
        font-size: 0.9em;
    }

    .live-link {
        color: #dacbb6 !important;
        text-decoration: none;
        font-weight: 900;
        transition: all 0.3s ease;
        text-transform: uppercase;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .live-link:hover {
        color: #fff !important;
        text-shadow: 0 0 15px #dacbb6, 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* Info Button Styles */
.info-button {
    background: none;
    border: none;
    color: #B22222;
    cursor: pointer;
    font-size: 16px;
    margin-left: 5px;
    padding: 0 5px;
    vertical-align: middle;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.info-button:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
    transform: scale(1.2);
}

/* Info Popup Styles */
.info-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.info-popup-content {
    position: relative;
    background-color: #2c3e50;
    padding: 35px 40px;
    border-radius: 8px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    border: 2px solid #B22222;
    color: #ecf0f1;
    font-size: 16px;
    line-height: 1.7;
    margin: 20px;
}

/* Style the content inside the popup */
#popupContent {
    padding: 10px 5px;
    white-space: pre-line; /* Preserve line breaks */
    line-height: 1.8;
}

/* Style paragraphs in the popup */
#popupContent p {
    margin-bottom: 1.2em;
}

/* Style the close button */
.close-popup {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #ecf0f1;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px 15px;
    line-height: 1;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

/* Close popup styles are defined above */

.close-popup:hover {
    color: #B22222;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-popup-content {
        max-width: 90%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .info-popup-content {
        max-width: 95%;
        padding: 15px;
    }
}