:root {
    --bg-color: #0d1b1e;
    --accent-glow: #2fb4b0;
    --glass: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --switch-on: #10b981; /* Success Green */
    --switch-off: #d1d5db; /* Neutral Gray */
    --thumb-color: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1000px;
    padding: 40px 0;
}

header {
    margin-bottom: 50px;
    text-align: left;
}

h1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    margin: 0;
    font-style: italic;
    text-transform: uppercase;
    line-height: 0.9;
    text-shadow: 0 0 20px rgba(47, 180, 176, 0.4);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 10px;
    font-weight: 300;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.now-playing img {
    width: 100%;
    border-radius: 15px;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 15px;
}

.track-info h2 { font-weight: 600; margin: 0; font-size: 1.4rem; }
.track-info p { opacity: 0.7; margin: 5px 0 0; }

.schedule-title {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent-glow);
    margin-bottom: 10px;
    display: block;
}

.play-btn {
    background: var(--text-main);
    color: var(--bg-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 10px;
    transition: 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-glow);
}

/* Full-screen overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 30, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: lightblue;
    color: var(--bg-color);
    padding: 40px;
    border-radius: 30px;
    max-width: 400px;
    width: 80%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: var(--bg-color);
}

.cta-btn {
    background: var(--accent-glow);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}

.input-container {
    position: relative;
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
}

.styled-input {
    width: 100%;
    padding: 16px 12px;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.input-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.styled-input:focus + .input-label,
.styled-input:not(:placeholder-shown) + .input-label {
    top: 0;
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
    background: white;
    padding: 0 4px;
}

.styled-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

input[readonly] {
    background-color: #f0f0f0;
    color: #888;
    cursor: not-allowed;
}

button:disabled {
    background-color: #ccc;
    cursor: wait;
}

/* Switch Styles */ 
.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 350px;
    padding: 16px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent; 
}

.switch-wrapper {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.hidden-switch {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--switch-off);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--thumb-color);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hidden-switch:checked + .slider {
    background-color: var(--switch-on);
}

.hidden-switch:checked + .slider:before {
    transform: translateX(22px);
}

.hidden-switch:focus-visible + .slider {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.hidden-checkbox:disabled ~ .custom-checkbox {
    background-color: #e5e7eb;
    border-color: #9ca3af;
    cursor: not-allowed;
}

.hidden-checkbox:disabled ~ .label-text {
    color: #9ca3af;
}

/* Footer Styles */
footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: var(--accent-glow);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.7;
    margin: 8px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.6;
    transition: 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-glow);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    opacity: 0.4;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Style for the tables */
.table-container {
    overflow-x: auto; /* Keeps it responsive on mobile */
    margin: 40px 0;
}

.radio-schedule {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
}

.radio-schedule th {
    font-family: 'Bricolage Grotesque', sans-serif;
    text-align: left;
    padding: 20px;
    background: rgba(47, 180, 176, 0.2); /* Tinted header */
    color: var(--accent-glow);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.radio-schedule td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.radio-schedule tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}