/*
Theme Name: LXLM Theme
Theme URI: https://radiolxlm.online/
Author: LXLM Radio
Author URI: https://radiolxlm.online/
Description: Un tema cyberpunk profesional para Radio LXLM, con soporte PWA.
Version: 1.0.0
Text Domain: lxlm-theme
*/

:root {
    --primary-color: #00ffff; /* Cian neón */
    --secondary-color: #ff00ff; /* Magenta neón */
    --dark-background: rgba(10, 10, 20, 0.9);
    --light-text: #e0e0e0;
    --border-glow: rgba(0, 255, 255, 0.6);
    --button-hover: #00dddd;
    --player-background: rgba(0, 255, 255, 0.05); /* Fondo más sutil para el iframe */
}

body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    color: var(--light-text);
    /* La imagen de fondo se establecerá dinámicamente en el body tag a través de functions.php y index.php */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--dark-background);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--border-glow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1em;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::before {
    width: 100%;
    visibility: visible;
}

main {
    flex-grow: 1;
    padding: 40px 5%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente para contenido */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    padding: 60px 30px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px var(--border-glow);
    max-width: 900px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
    margin-bottom: 20px;
    animation: textGlow 2s infinite alternate;
}

.hero p {
    font-size: 1.3em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-background);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-family: 'Orbitron', sans-serif;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px var(--secondary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    background-color: var(--button-hover);
    box-shadow: 0 0 25px var(--primary-color);
    transform: translateY(-3px);
    color: black;
}

.btn-primary:hover::before {
    left: 100%;
}

.section {
    background-color: var(--dark-background);
    padding: 50px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1000px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
    animation: slideInUp 1s ease-out;
}

.section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background-color: rgba(20, 20, 40, 0.8);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--border-glow);
}

.feature-item i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 8px var(--secondary-color);
}

.feature-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.player-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Estilos específicos para el iframe del reproductor */
.player-section iframe {
    background-color: var(--player-background); /* Fondo ligeramente visible para el iframe */
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px var(--border-glow);
    padding: 5px; /* Un pequeño padding para que el borde no quede pegado */
}

.player-section p {
    font-size: 1.1em;
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

footer {
    background-color: var(--dark-background);
    color: var(--light-text);
    text-align: center;
    padding: 20px 5%;
    border-top: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
    margin-top: auto;
}

footer .social-links a {
    color: var(--light-text);
    font-size: 1.8em;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 3%;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 15px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    .section {
        padding: 30px 20px;
    }
    .section h2 {
        font-size: 2em;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 15px var(--primary-color); }
    50% { text-shadow: 0 0 25px var(--primary-color), 0 0 30px var(--secondary-color); }
    100% { text-shadow: 0 0 15px var(--primary-color); }
}