/* Base variables */
:root {
    --bg-body: linear-gradient(to bottom, #f9f9f9, #e6e6e6);
    --bg-container: #fff;
    --border-container: #ccc;
    --text-color: #222;
    --header-bg: linear-gradient(to bottom, #666, #555); /* Dark grey default */
    --header-text: #fff;
    --header-subtext: #ccc;
    --header-border: #777;
    --nav-bg: linear-gradient(to bottom, #666, #555); /* Dark grey default */
    --nav-link-bg: linear-gradient(to bottom, #777, #666);
    --nav-link-hover-bg: linear-gradient(to bottom, #888, #777);
    --nav-link-border: #777;
    --nav-link-text: #fff;
    --radio-bg: #f7f7f7;
    --radio-border: #ccc;
    --player-bg: linear-gradient(to bottom, #666, #555); /* Dark grey default */
    --player-text: #fff;
    --now-playing-bg: rgba(255, 255, 255, 0.2);
    --playlist-bg: #fff;
    --playlist-border: #ddd;
    --playlist-text: #555;
    --content-bg: #f4f4f4;
    --content-text: #565656;
    --footer-bg: linear-gradient(to bottom, #ddd, #ccc);
    --footer-text: #444;
    --footer-link: #c03;
  }
  
  /* Station 1 (Pink) */
  .station1 {
    --header-bg: linear-gradient(to bottom, #f08ab9, #c94f89);
    --header-border: #ff6699;
    --nav-bg: linear-gradient(to bottom, #fce6f0, #ffe9f1);
    --nav-link-bg: linear-gradient(to bottom, #ff66a3, #cc3377);
    --nav-link-hover-bg: linear-gradient(to bottom, #ff99cc, #ff6699);
    --nav-link-border: #ff66a3;
    --player-bg: linear-gradient(to bottom, #ff99cc, #ff66a3);
    --content-text: #cc0066;
    --footer-link: #c03;
  }
  
  /* Station 2 (Blue) */
  .station2 {
    --header-bg: linear-gradient(to bottom, #4a90e2, #2a6395);
    --header-border: #66b3ff;
    --nav-bg: linear-gradient(to bottom, #e6f0fa, #d6e4f0);
    --nav-link-bg: linear-gradient(to bottom, #3385d6, #1c5580);
    --nav-link-hover-bg: linear-gradient(to bottom, #66b3ff, #3385d6);
    --nav-link-border: #3385d6;
    --player-bg: linear-gradient(to bottom, #66b3ff, #3385d6);
    --content-text: #1c5580;
    --footer-link: #3385d6;
  }
  
  /* Station 3 (Green) */
  .station3 {
    --header-bg: linear-gradient(to bottom, #34c759, #218838);
    --header-border: #66d47d;
    --nav-bg: linear-gradient(to bottom, #e6f5e9, #d6e9db);
    --nav-link-bg: linear-gradient(to bottom, #28a745, #1a682e);
    --nav-link-hover-bg: linear-gradient(to bottom, #66d47d, #28a745);
    --nav-link-border: #28a745;
    --player-bg: linear-gradient(to bottom, #66d47d, #28a745);
    --content-text: #1a682e;
    --footer-link: #28a745;
  }
  
  /* Station 4 (Orange) */
  .station4 {
    --header-bg: linear-gradient(to bottom, #ff9500, #cc7700);
    --header-border: #ffaa33;
    --nav-bg: linear-gradient(to bottom, #fff3e6, #ffe6cc);
    --nav-link-bg: linear-gradient(to bottom, #ff9500, #cc7700);
    --nav-link-hover-bg: linear-gradient(to bottom, #ffaa33, #ff9500);
    --nav-link-border: #ff9500;
    --player-bg: linear-gradient(to bottom, #ffaa33, #ff9500);
    --content-text: #cc7700;
    --footer-link: #ff9500;
  }
  
  /* Station 5 (Yellow) */
  .station5 {
    --header-bg: linear-gradient(to bottom, #ffeb3b, #ccbc00);
    --header-border: #ffee55;
    --nav-bg: linear-gradient(to bottom, #fffde6, #fffacc);
    --nav-link-bg: linear-gradient(to bottom, #ffeb3b, #ccbc00);
    --nav-link-hover-bg: linear-gradient(to bottom, #ffee55, #ffeb3b);
    --nav-link-border: #ffeb3b;
    --player-bg: linear-gradient(to bottom, #ffee55, #ffeb3b);
    --content-text: #ccbc00;
    --footer-link: #ffeb3b;
  }
  
  /* Station 6 (Red) */
  .station6 {
    --header-bg: linear-gradient(to bottom, #ff3b30, #cc2e26);
    --header-border: #ff5555;
    --nav-bg: linear-gradient(to bottom, #ffe6e6, #ffcccc);
    --nav-link-bg: linear-gradient(to bottom, #ff3b30, #cc2e26);
    --nav-link-hover-bg: linear-gradient(to bottom, #ff5555, #ff3b30);
    --nav-link-border: #ff3b30;
    --player-bg: linear-gradient(to bottom, #ff5555, #ff3b30);
    --content-text: #cc2e26;
    --footer-link: #ff3b30;
  }
  
  /* Station 7 (Purple) */
  .station7 {
    --header-bg: linear-gradient(to bottom, #ab47bc, #7b1fa2);
    --header-border: #ce93d8;
    --nav-bg: linear-gradient(to bottom, #f3e6f5, #e6cce9);
    --nav-link-bg: linear-gradient(to bottom, #ab47bc, #7b1fa2);
    --nav-link-hover-bg: linear-gradient(to bottom, #ce93d8, #ab47bc);
    --nav-link-border: #ab47bc;
    --player-bg: linear-gradient(to bottom, #ce93d8, #ab47bc);
    --content-text: #7b1fa2;
    --footer-link: #ab47bc;
  }
  
  /* Dark mode */
  .dark {
    --bg-body: linear-gradient(to bottom, #333, #222);
    --bg-container: #2a2a2a;
    --border-container: #555;
    --text-color: #ddd;
    --header-bg: linear-gradient(to bottom, #444, #333); /* Darker grey */
    --header-text: #eee;
    --header-subtext: #bbb;
    --nav-bg: linear-gradient(to bottom, #444, #333);
    --nav-link-bg: linear-gradient(to bottom, #555, #444);
    --nav-link-hover-bg: linear-gradient(to bottom, #666, #555);
    --nav-link-border: #555;
    --radio-bg: #333;
    --radio-border: #555;
    --player-bg: linear-gradient(to bottom, #444, #333);
    --player-text: #eee;
    --now-playing-bg: rgba(255, 255, 255, 0.1);
    --playlist-bg: #2a2a2a;
    --playlist-border: #444;
    --playlist-text: #aaa;
    --content-bg: #333;
    --footer-bg: linear-gradient(to bottom, #444, #333);
    --footer-text: #bbb;
  }
  
  .dark.station1 {
    --header-bg: linear-gradient(to bottom, #a03a6b, #7a204f);
    --header-border: #cc3366;
    --nav-bg: linear-gradient(to bottom, #3a2a33, #4a3540);
    --nav-link-bg: linear-gradient(to bottom, #cc3366, #992244);
    --nav-link-hover-bg: linear-gradient(to bottom, #ff6699, #cc3366);
    --nav-link-border: #cc3366;
    --player-bg: linear-gradient(to bottom, #cc3366, #992244);
    --content-text: #ff6699;
    --footer-link: #ff6699;
  }
  
  .dark.station2 {
    --header-bg: linear-gradient(to bottom, #2a6395, #1a3c5e);
    --header-border: #3385d6;
    --nav-bg: linear-gradient(to bottom, #2a3a4a, #354050);
    --nav-link-bg: linear-gradient(to bottom, #1c5580, #103a55);
    --nav-link-hover-bg: linear-gradient(to bottom, #3385d6, #1c5580);
    --nav-link-border: #1c5580;
    --player-bg: linear-gradient(to bottom, #3385d6, #1c5580);
    --content-text: #66b3ff;
    --footer-link: #3385d6;
  }
  
  .dark.station3 {
    --header-bg: linear-gradient(to bottom, #218838, #145523);
    --header-border: #28a745;
    --nav-bg: linear-gradient(to bottom, #2a3a2a, #354035);
    --nav-link-bg: linear-gradient(to bottom, #1a682e, #10401c);
    --nav-link-hover-bg: linear-gradient(to bottom, #28a745, #1a682e);
    --nav-link-border: #1a682e;
    --player-bg: linear-gradient(to bottom, #28a745, #1a682e);
    --content-text: #66d47d;
    --footer-link: #28a745;
  }
  
  .dark.station4 {
    --header-bg: linear-gradient(to bottom, #cc7700, #994f00);
    --header-border: #ff9500;
    --nav-bg: linear-gradient(to bottom, #4a3a2a, #40352a);
    --nav-link-bg: linear-gradient(to bottom, #ff9500, #cc7700);
    --nav-link-hover-bg: linear-gradient(to bottom, #ffaa33, #ff9500);
    --nav-link-border: #ff9500;
    --player-bg: linear-gradient(to bottom, #ff9500, #cc7700);
    --content-text: #ffaa33;
    --footer-link: #ff9500;
  }
  
  .dark.station5 {
    --header-bg: linear-gradient(to bottom, #ccbc00, #998c00);
    --header-border: #ffeb3b;
    --nav-bg: linear-gradient(to bottom, #4a4a2a, #404035);
    --nav-link-bg: linear-gradient(to bottom, #ffeb3b, #ccbc00);
    --nav-link-hover-bg: linear-gradient(to bottom, #ffee55, #ffeb3b);
    --nav-link-border: #ffeb3b;
    --player-bg: linear-gradient(to bottom, #ffeb3b, #ccbc00);
    --content-text: #ffee55;
    --footer-link: #ffeb3b;
  }
  
  .dark.station6 {
    --header-bg: linear-gradient(to bottom, #cc2e26, #991f1e);
    --header-border: #ff3b30;
    --nav-bg: linear-gradient(to bottom, #4a2a2a, #403535);
    --nav-link-bg: linear-gradient(to bottom, #ff3b30, #cc2e26);
    --nav-link-hover-bg: linear-gradient(to bottom, #ff5555, #ff3b30);
    --nav-link-border: #ff3b30;
    --player-bg: linear-gradient(to bottom, #ff3b30, #cc2e26);
    --content-text: #ff5555;
    --footer-link: #ff3b30;
  }
  
  .dark.station7 {
    --header-bg: linear-gradient(to bottom, #7b1fa2, #4a1266);
    --header-border: #ab47bc;
    --nav-bg: linear-gradient(to bottom, #3a2a4a, #352a40);
    --nav-link-bg: linear-gradient(to bottom, #ab47bc, #7b1fa2);
    --nav-link-hover-bg: linear-gradient(to bottom, #ce93d8, #ab47bc);
    --nav-link-border: #ab47bc;
    --player-bg: linear-gradient(to bottom, #ab47bc, #7b1fa2);
    --content-text: #ce93d8;
    --footer-link: #ab47bc;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Verdana, Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-color);
    padding: 20px;
  }
  
  .container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-container);
    border: 2px solid var(--border-container);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    overflow: hidden;
  }
  
  /* Header */
  header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 25px;
    text-align: center;
    border-bottom: 3px solid var(--header-border);
    position: relative;
  }
  header h1 {
    font-size: 36px;
    font-family: 'Trebuchet MS', sans-serif;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  }
  header p {
    font-size: 14px;
    color: var(--header-subtext);
  }
  #theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--nav-link-bg);
    color: var(--nav-link-text);
    border: 2px outset var(--nav-link-border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #theme-toggle:hover {
    background: var(--nav-link-hover-bg);
    border-style: inset;
  }
  
  /* Navigation */
  nav {
    text-align: center;
    background: var(--nav-bg);
    padding: 15px 0;
    border-bottom: 2px solid var(--radio-border);
  }
  nav a {
    display: inline-block;
    margin: 0 8px;
    padding: 10px 20px;
    font-size: 14px;
    text-decoration: none;
    background: var(--nav-link-bg);
    border: 2px outset var(--nav-link-border);
    border-radius: 5px;
    color: var(--nav-link-text);
    text-shadow: 1px 1px 1px #900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s;
  }
  nav a:hover,
  nav a.active {
    background: var(--nav-link-hover-bg);
    border-style: inset;
    transform: translateY(-2px);
  }
  
  /* Main */
  .main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
  }
  .radio-column {
    flex: 1 1 30%;
    background: var(--radio-bg);
    border-right: 2px solid var(--radio-border);
    padding: 15px;
  }
.radio-player {
    background: var(--player-bg);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: var(--player-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  .radio-player h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  #cover-art {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    border: 2px solid var(--player-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-bottom: 10px;
  }
  #now-playing {
    font-size: 14px;
    margin-bottom: 5px;
    background: var(--now-playing-bg);
    padding: 5px;
    border-radius: 5px;
  }
  #now-artist, #now-album {
    font-size: 12px;
    margin-bottom: 5px;
    font-style: italic;
  }
  audio {
    width: 100%;
    border-radius: 5px;
    background: var(--bg-container);
  }
  #now-playing {
    font-size: 14px;
    margin-bottom: 10px;
    background: var(--now-playing-bg);
    padding: 5px;
    border-radius: 5px;
  }
  audio {
    width: 100%;
    border-radius: 5px;
    background: var(--bg-container);
  }
  .playlist h3 {
    margin: 15px 0 10px;
    font-size: 16px;
    color: var(--playlist-text);
  }
  .playlist li {
    padding: 8px;
    background: var(--playlist-bg);
    margin-bottom: 5px;
    border: 1px solid var(--playlist-border);
    border-radius: 5px;
    font-size: 14px;
  }
  
  /* Right column */
  .content-column {
    flex: 1 1 70%;
    padding: 15px;
  }
  .welcome h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--content-text);
  }
  .welcome p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  #station-text {
    font-size: 14px;
    color: var(--text-color);
  }
  .news {
    background: var(--content-bg);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
  }
  .news h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .news-item {
    display: flex;
    margin-bottom: 15px;
  }
  .news-item img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    margin-right: 10px;
    border: 2px solid var(--border-container);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  
  }
  .news-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .news-item p {
    font-size: 14px;
  }
  
  /* Footer */
  footer {
    background: var(--footer-bg);
    text-align: center;
    font-size: 13px;
    padding: 15px 10px;
    color: var(--footer-text);
    width: 100%;
    box-sizing: border-box;
  }
  footer a {
    color: var(--footer-link);
    margin: 0 8px;
    text-decoration: none;
  }
  footer a:hover {
    text-decoration: underline;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .main-content {
      flex-direction: column;
    }
    .radio-column {
      border-right: none;
      border-bottom: 2px solid var(--radio-border);
    }
  }