@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --bg-color: #f7f7f7;
    --card-color: #ffffff;
    --dark-section-bg: #222831;
    --text-primary: #333333;
    --text-light: #eeeeee;
    --accent-color: #00adb5;
    --accent-hover: #00939a;
    --whatsapp-color: #25D366;
    --hacker-green: #39ff14;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    text-align: center;
    line-height: 1.6;
    /* --- Solución Sticky Footer --- */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--dark-section-bg);
    color: var(--text-light);
    padding: 30px 20px;
    border-bottom: 4px solid var(--accent-color);
}

.radio-logo {
    width: 190px; height: 120px;
    border-radius: 1;
    margin-bottom: 0px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    object-fit: cover;
}

h1 { font-size: 2.5em; font-weight: 700; padding: 0 10px; }
h2 { font-size: 2em; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; }

main {
    max-width: 850px;
    width: calc(100% - 30px);
    margin: 40px auto;
    padding: 30px;
    background: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-color);
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* --- Parte de la solución Sticky Footer --- */
    flex-grow: 1;
}

.info-section .location-text {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-light);
    background-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap; 
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.contact-button.whatsapp-button {
    background-color: var(--whatsapp-color);
}

.contact-button i {
    font-size: 1.4em;
}

.player-section {
    padding: 20px 10px;
    border-radius: 12px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.audio-player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#radioPlayer {
    width: 100%;
    max-width: 500px;
}

#playPauseButton {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-hover));
    color: var(--text-light);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 173, 181, 0.4);
    transition: all 0.3s ease-in-out;
}

#playPauseButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 173, 181, 0.6);
}

footer { 
    padding: 30px 20px; 
    background-color: var(--dark-section-bg); 
    color: var(--text-light); 
}

.footer-content {
    max-width: 850px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 20px;
}

.designer-credit { display: flex; align-items: center; gap: 10px; }
.designer-credit a {
    color: var(--hacker-green);
    text-decoration: none; font-weight: 600; font-size: 0.9em;
    text-shadow: 0 0 5px var(--hacker-green);
    transition: all 0.3s ease;
}
.designer-credit a:hover { color: #fff; text-shadow: 0 0 10px var(--hacker-green); }
.thv-logo { height: 28px; width: auto; }

/* Media Queries para Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.7em; }
    main { padding: 20px; gap: 30px; }
    .radio-logo {
        width: 150px;
        height: 95px;
    }
}

@media (max-width: 600px) {
    .footer-content { flex-direction: column; justify-content: center; }
    .contact-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .contact-button i {
        font-size: 1.2em;
    }
    #playPauseButton {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}