    @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
    /* CSS Variables for shared values */
    :root {
      --primary-color: #b71c1c;
      --primary-hover: #ff5252;
      --background-color: #181818;
      --header-background: #181818;
      --secondary-bg: #242424;
      --text-color: #ffffff;
      --subtext-color: #ccc;
      --spotify-primary: #1db954;
      --spotify-hover: #1ed760;
    }
    
    /* Global Styles */
    html, body {
      overflow-x: hidden;
    }
    body {
      font-family: 'Roboto', sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--background-color);
      color: var(--text-color);
    }
    
    /* Header */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: var(--header-background);
      padding: 20px;
      border-bottom: 2px solid var(--primary-color);
      flex-wrap: wrap;
    }
    .header-left {
      display: flex;
      align-items: center;
    }
    .header-left h1 {
      font-size: clamp(1rem, 4vw, 2rem);
      font-weight: bold;
      margin: 0;
      padding: 5px 15px;
      border: 2px solid var(--primary-color);
      border-radius: 8px;
    }
    /* Make the title clickable */
    .header-left h1 a {
      text-decoration: none;
      color: inherit;
    }
    .header-search {
      flex: 1;
      margin: 0 20px;
      display: flex;
      align-items: center;
    }
    .header-search input {
      width: 100%;
      padding: 0 10px;
      height: 40px;
      border: 1px solid var(--primary-color);
      border-radius: 20px;
      background-color: var(--secondary-bg);
      color: var(--text-color);
      font-size: 1rem;
    }
    .header-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .header-right a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary-color);
      display: flex;
      justify-content: center;
      align-items: center;
      transition: background-color 0.3s;
      text-decoration: none;
    }
    .header-right a:hover {
      background-color: var(--primary-hover);
    }
    .header-right .iconify {
      width: clamp(16px, 2vw, 24px);
      height: clamp(16px, 2vw, 24px);
      color: var(--text-color);
      transition: color 0.3s;
    }
    
    /* Filter Letters Row */
    .letters {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 5px;
      text-align: center;
      margin: 10px auto;
      padding: 0 20px;
    }
    .letters button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: var(--primary-color);
      border: none;
      color: var(--text-color);
      padding: 0 12px;
      border-radius: 20px;
      cursor: pointer;
      transition: background-color 0.3s;
      height: 40px;
      font-size: 0.9rem;
      flex-shrink: 0;
    }
    .letters button:hover {
      background-color: var(--primary-hover);
    }
    .letters button.round {
      width: 40px;
      padding: 0;
      border-radius: 50%;
    }
    #switchFilter {
      margin-top: 4px;
    }
    body.spotify #switchFilter {
      background-color: var(--spotify-primary);
      color: black;
    }
    body.spotify #switchFilter:hover {
      background-color: var(--spotify-hover);
    }
    
    /* Video Grid & Cards */
    main {
      position: relative;
    }
    .video-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, 200px);
      gap: 20px;
      padding: 20px;
      justify-content: center;
      justify-items: center;
      margin: 20px auto;
    }
    .video-card {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background-color: var(--secondary-bg);
      border: 1px solid var(--primary-color);
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.5);
      text-align: center;
      cursor: pointer;
      transition: transform 0.3s;
      padding: 10px;
    }
    .video-card img {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
      border: 1px solid var(--primary-color);
    }
    .video-card h2 {
      margin: 10px 0 5px;
      font-size: 1rem;
      color: var(--text-color);
    }
    .video-card p {
      margin: 0;
      font-size: 0.9rem;
      color: var(--subtext-color);
    }
    .video-card .genre {
      margin-top: 5px;
      font-size: 0.8rem;
      color: var(--subtext-color);
    }
    .video-card:hover {
      transform: scale(1.05);
    }
    
    /* Favorite Star */
    .favorite-icon {
      position: absolute;
      top: 10px;
      left: 20px;
      font-size: 30px;
      color: var(--text-color);
      cursor: pointer;
      transition: color 0.3s, text-shadow 0.3s;
      z-index: 2;
      text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
    }
    .favorite-icon.favorited {
      color: yellow;
      text-shadow: -1px -1px 0 yellow, 1px -1px 0 yellow, -1px 1px 0 yellow, 1px 1px 0 yellow;
    }
    .favorite-icon:hover {
      color: #ffc107;
      text-shadow: -1px -1px 0 #ffc107, 1px -1px 0 #ffc107, -1px 1px 0 #ffc107, 1px 1px 0 #ffc107;
    }
    
    /* Button Group and Card Buttons */
    .button-group {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-top: 10px;
    }
    .button-group button {
      flex: 1;
    }
    .lineup-button,
    .tickets-button {
      background-color: var(--primary-color);
      color: var(--text-color);
      border: none;
      padding: 8px 12px;
      border-radius: 20px;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }
    .lineup-button:hover,
    .tickets-button:hover {
      background-color: var(--primary-hover);
    }
    body.spotify .lineup-button,
    body.spotify .tickets-button {
      background-color: var(--spotify-primary) !important;
      color: black !important;
    }
    
    /* Footer */
    footer {
      text-align: center;
      font-size: 0.8rem;
      color: #aaa;
      padding: 20px;
    }
    
    /* Spotify Mode Adjustments */
    body.spotify header { border-bottom: 2px solid var(--spotify-primary); }
    body.spotify .header-left h1 { border: 2px solid var(--spotify-primary); }
    body.spotify .header-right a { background-color: var(--spotify-primary); }
    body.spotify .header-right a:hover { background-color: var(--spotify-hover); }
    body.spotify .header-right .iconify { color: black; }
    body.spotify .header-search input { border: 1px solid var(--spotify-primary); }
    body.spotify .letters button { background-color: var(--spotify-primary); color: black; }
    body.spotify .letters button:hover { background-color: var(--spotify-hover); }
    body.spotify .video-card { border: 1px solid var(--spotify-primary); }
    body.spotify .video-card img { border: 1px solid var(--spotify-primary); }
    body.spotify .modal-content { border: 1px solid var(--spotify-primary); }
    
    /* Calendar Modal List Styles */
    .calendar-list {
      max-height: 50vh;
      overflow-y: auto;
      text-align: left;
      padding: 0 10px;
    }
    .calendar-list-item {
      border-bottom: 1px solid var(--primary-color);
      padding: 10px 0;
      font-size: 0.9rem;
      white-space: nowrap;
    }
    .calendar-list-item a {
      color: inherit;
      text-decoration: underline;
    }
    body.spotify .calendar-list-item {
      border-bottom: 1px solid var(--spotify-primary);
    }
    
    /* Scroll-to-Top Button */
    .scroll-to-top-main {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 40px;
      height: 40px;
      background-color: var(--primary-color);
      color: var(--text-color);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s;
      z-index: 2000;
      font-weight: bold;
      font-size: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .scroll-to-top-main:hover {
      background-color: var(--primary-hover);
    }
    body.spotify .scroll-to-top-main {
      background-color: var(--spotify-primary);
      color: black;
    }
    body.spotify .scroll-to-top-main:hover {
      background-color: var(--spotify-hover);
    }
    
    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.8);
    }
    .modal-content {
      background-color: var(--secondary-bg);
      margin: 5% auto;
      padding: 20px;
      border: 1px solid var(--primary-color);
      border-radius: 8px;
      width: 90%;
      max-width: 600px;
      color: var(--text-color);
      text-align: center;
      position: relative;
      max-height: 80vh;
      overflow-y: auto;
    }
    .close-modal {
      position: absolute;
      top: 10px;
      right: 20px;
      color: var(--text-color);
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }
    .close-modal:hover,
    .close-modal:focus {
      color: var(--primary-hover);
      text-decoration: none;
    }

    /* Legal Modal Specific Styles */
    .legal-modal {
      max-width: 800px;
      text-align: left;
    }
    .legal-content {
      padding: 10px 0;
    }
    .legal-content h3 {
      color: var(--primary-color);
      margin-top: 20px;
      margin-bottom: 10px;
      font-size: 1.2em;
    }
    .legal-content p {
      margin: 10px 0;
      line-height: 1.6;
    }
    .legal-content ul {
      margin: 10px 0 10px 20px;
      line-height: 1.6;
    }
    .legal-content li {
      margin: 5px 0;
    }

    /* Responsive adjustments for narrower desktop windows */
    @media (max-width: 1200px) {
      .letters {
        flex-wrap: wrap;
      }
    }
    @media (max-width: 900px) {
      .header-right {
        margin-top: 20px;
        flex-basis: 100%;
        justify-content: center;
      }
    }
    /* Mobile Adjustments */
    @media (max-width: 600px) {
      header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
      }
      .header-left,
      .header-search,
      .header-right {
        width: 100%;
        margin: 10px 0;
        justify-content: center;
        align-items: center;
      }
      .header-left h1 {
        display: block;
      }
      /* Replace the grid with an inline-flex container with fixed width */
      .header-right {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 265px; /* 6 icons * 40px + 5 gaps * 5px = 240 + 25 = 265px */
        margin: 15px auto 0;
      }
      .header-right a {
        margin: 0;
        width: 40px;
        height: 40px;
      }
      .header-right .iconify {
        width: 24px;
        height: 24px;
      }
      .header-search {
        width: 90%;
        margin: 0 auto;
      }
      .header-search input {
        height: 35px;
        font-size: 0.9rem;
      }
      .letters button {
        height: 30px;
        padding: 0 6px;
        font-size: 0.8rem;
      }
      .letters button.round {
        width: 30px;
      }
      .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        justify-content: center;
        margin: 20px auto;
      }
      #switchFilter {
        margin: 5px 0;
      }
      .modal-content {
        max-height: 70vh;
        padding: 15px;
      }
      .scroll-to-top-main {
        right: 10px;
        bottom: 10px;
        z-index: 9999;
      }
    }
    
    /* Artist List Styling for Lineup Modal */
    .artist-list {
      font-size: 1rem;
      line-height: 1.5;
      word-break: break-word;
      margin-top: 10px;
      text-align: left;
    }
    .artist-list .artist:nth-child(odd) {
      color: var(--text-color);
    }
    .artist-list .artist:nth-child(even) {
      color: #dddddd;
    }