:root {
    --primary-color: #fc174b;
    --secondary-color: #01db9a;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #1a1a1d;
    color: var(--light-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

.player-container {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: fixed;
}

.wave-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#waveCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.player-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
}

.radio-info {
    display: flex;
    align-items: center;
}

.radio-logo-player {
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
}

.now-playing {
    font-size: 0.9rem;
}

.audio-player {
    display: flex;
    align-items: center;
}

#play-pause-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 1rem;
    transition: background-color 0.3s;
}

#play-pause-btn:hover {
    background: #8e44ad;
}

.volume-control {
    display: flex;
    align-items: center;
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    border-radius: 5px;
    margin: 0 0.5rem;
}

#volume-slider:hover {
    opacity: 1;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    cursor: pointer;
    border-radius: 50%;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.time-circle {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--light-color);
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.main-nav {
    background: var(--dark-color);
    padding: 1rem 0;
    margin-top: 90px;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-brand img {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-title);
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

#hero {
    background: url('images/BG_UMX_25.png') no-repeat center center/cover;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn:hover {
    background: var(--secondary-color);
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--dark-color);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.news-item {
    background: var(--dark-color);
    border-radius: 10px;
    overflow: hidden;
}

.news-item img {
    width: 100%;
    height: auto;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
}

#read-more:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.main-footer {
    background: var(--dark-color);
    color: #aaa;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid #444;
}

.footer-social a {
    color: #aaa;
    margin-left: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu {
    list-style: none;
    display: flex;
}

.header-social {
    display: flex;
    align-items: center;
}

.header-social a {
    color: white;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--primary-color);
}


.card.current-program {
    background: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(155, 89, 182, 0.4);
}

.card.current-program h3,
.card.current-program p {
    color: white;
}

.news-item .news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
}

#read-more:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

@media(max-width: 992px) {
    .main-nav .container {
        flex-direction: column;
    }
    .main-menu {
        margin-top: 1rem;
    }
    .header-social {
        margin-top: 1rem;
    }
}

@media(max-width: 768px) {
    #hero {
	height: 60vh;
    }
    .main-nav {
	background: var(--dark-color);
        padding: 1rem 0;
	margin-top: 155px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .main-nav .container {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 1rem;
    }
    .player-content {
        flex-direction: column;
        text-align: center;
    }
    .audio-player {
        margin-top: 1rem;
    }
    .hero-content p {
	font-size: 1rem;
	margin: 2rem;
    }
    .countdown {
        gap: 0.5rem;
    }
    .time-circle {
        width: 80px;
        height: 80px;
    }
    .time-value {
        font-size: 1.5rem;
    }
    .time-label {
        font-size: 0.7rem;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    .main-nav ul li {
        margin: 5px 0;
    }
   .footer-bottom {
	font-size: 0.7rem;
    }
}