/* 1. Register the custom downloaded LCD font */
@font-face {
    font-family: 'ClassicLCD';
    src: url('LCD14.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Fallback digital font if the file hasn't been downloaded yet */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

body {
    background-color: #111;
    color: #eee;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    padding: 20px;
    margin: 0;
}

p {
max-width: 800px; 
text-align: center}

/* Setup Welcome screen Menu (Reverted to Red) */
.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.menu-content {
    background: #222;
    padding: 40px;
    border: 2px solid #ff3333; /* Red style restored */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
}
.button-group button {
    background: #333;
    color: #fff;
    border: 1px solid #ff3333; /* Red style restored */
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
}
.button-group button:hover {
    background: #ff3333; /* Red style restored */
    color: #000;
}

.hidden { display: none !important; }

/* Alarm Clock Style - Dedicated Green Element */
.clock-container {
    margin: 20px auto;
    background: #000;
    width: 280px;
    padding: 12px;
    border: 4px solid #252525;
    border-radius: 4px;
}
#alarm-clock {
    /* Uses custom font first, drops back to Orbitron if missing */
    font-family: 'ClassicLCD', 'Orbitron', monospace; 
    font-size: 2.8rem;
    color: #00ff66; /* Flat, crisp hardware green */
    letter-spacing: 2px;
    /* Glow effect completely removed */
}

/* Horizontal Presentation Grid Line */
.performance-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    margin: 40px auto;
    width: 95%;
}

.player-column {
    flex: 1;
    min-width: 90px;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a1a1a;
    padding: 15px 5px;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
}

/* The Scores Elements */
.score-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: #888;
    margin-bottom: 10px;
    height: 30px;
}

/* Red LED Indicator Dots */
.led-dot {
    width: 25px;
    height: 25px;
    background-color: #300;
    border-radius: 50%;
    border: 2px solid #222;
    transition: background 0.1s, box-shadow 0.1s;
    margin-bottom: 15px;
}
.led-dot.active {
    background-color: #ff3333;
    box-shadow: 0 0 15px #ff3333, 0 0 5px #ffffff;
}

/* Radio Metadata Wrappers */
.station-title {
    font-size: 0.8rem;
    color: #ccc;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    line-height: 1.2;
    height: 60px;
}
.part-label {
    font-size: 0.7rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
}

#reset-btn {
    background: #222;
    color: #ff3333; /* Red style restored */
    border: 1px solid #ff3333;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 15px;
}
#reset-btn:hover {
    background: #ff3333; /* Red style restored */
    color: #000;
}

.station-link {
    color: #ff3333; /* Matches your red theme color */
    text-decoration: none; /* Removes the default harsh underline */
    word-break: break-all; /* Forces long stream URLs to wrap perfectly inside the column */
    display: inline-block;
    transition: color 0.2s ease;
}

.station-link:hover {
    color: #ff9999; /* Lightens up when hovered */
    text-decoration: underline; /* Adds an intentional underline on hover */
}