* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    /* Fondo de página como en leer_libro.html */
    background-image: url('Fondo.jpg'); /* Asegúrate de que esta ruta sea correcta */
    background-size: cover; /* Cubre todo el body */
    background-position: center; /* Centra la imagen */
    background-attachment: fixed; /* Hace que la imagen de fondo sea fija al hacer scroll */
    min-height: 100vh;
    display: flex; /* Para centrar el contenido principal horizontalmente si es más pequeño que el body */
    flex-direction: column;
}

/* Contenedor principal para el contenido, para que el fondo se vea bien */
main.container {
    flex-grow: 1; /* Permite que el contenido ocupe el espacio restante */
    background-color: rgba(255, 255, 255, 0); /* Hace que el fondo del main sea transparente */
    box-shadow: none; /* Elimina la sombra del main si la tuviera */
}


/* Navigation Menu */
.nav-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Para posicionar el botón de hamburguesa */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    transform: translateY(-2px);
}

/* Hamburger Menu Icon */
.hamburger {
    display: none; /* Oculto por defecto en pantallas grandes */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100; /* Asegura que esté por encima del menú */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Activa la animación de la hamburguesa (para la X) */
.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Header */
.header {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    backdrop-filter: blur(10px);
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="%23f1c40f" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="7" cy="8" r="0.3" fill="%23e74c3c" opacity="0.4"><animate attributeName="opacity" values="0.4;0.9;0.4" dur="3s" repeatCount="indefinite"/></circle></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    opacity: 0.1;
    z-index: -1;
}

.header h1 {
    text-align: center;
    font-size: 3.5em;
    background: linear-gradient(45deg, #e74c3c, #9b59b6, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(231, 76, 60, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.6)); }
}

.subtitle {
    text-align: center;
    font-size: 1.3em;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
}

/* Book Cover Section */
.book-cover {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    border-radius: 20px;
    padding: 55px 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.book-cover img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.book-cover img:hover {
    transform: scale(1.05);
}

.placeholder-cover {
    width: 300px;
    height: 400px;
    background: transparent; /* fondo transparente */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    margin: 0 auto;
    cursor: pointer;
    text-decoration: none;
}

.placeholder-cover:hover {
    transform: scale(1.05);
}

/* Story Section */
.story-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '🐉';
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    right: -20px;
    top: -20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.story-section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

/* Texto de la historia levemente más chico */
.story-section p {
    font-size: 1.1em; /* Reducido de 1.2em */
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: #34495e;
    position: relative;
    z-index: 2;
}

/* Download Section */
.download-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.download-section h3 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.download-button {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 10px;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

/* Audio Section */
.audio-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.audio-section h3 {
    text-align: center;
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.audio-player {
    border-radius: 15px;
    text-align: center;
    color: white;
	box-sizing: content-box !important
}

.audio-player h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Comments Section */
.comments-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comments-section h3 {
    text-align: center;
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.comment-form {
    max-width: 600px;
    margin: 0 auto;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    font-size: 1.1em;
    font-family: inherit;
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form button {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Styles for comments display */
.comment-container {
    display: flex;
    align-items: flex-start;
    background-color: rgba(249, 249, 249, 0.8); /* Transparencia para los comentarios individuales */
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.comment-image {
    flex-shrink: 0;
    margin-right: 15px;
    max-width: 100px;
}
.comment-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}
.comment-content {
    flex-grow: 1;
}
.comment-content strong {
    color: #2c3e50;
    font-size: 1.1em;
}
.comment-content p {
    margin: 5px 0 0;
    font-size: 1em;
    color: #34495e;
}

/* Status Message */
.status-message {
    background-color: rgba(212, 237, 218, 0.9); /* Transparencia */
    color: #155724;
    border: 1px solid #badbcc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
/* Style for file upload label */
.upload-label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px dashed #3498db;
    border-radius: 10px;
    font-size: 1.1em;
    color: #3498db;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-label:hover {
    background-color: #ecf0f1;
}

#file-name-display {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Authors Section */
.authors-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.authors-section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.authors-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.author-card {
    flex-basis: 45%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-photo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e74c3c;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.dedication {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.9em;
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    margin-top: 15px;
}

/* Modal/Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #e74c3c;
}

.modal h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.modal input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    font-size: 1em;
}

.modal button {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1em;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 { font-size: 2.5em; }
    
    /* Mostrar botón de hamburguesa en móviles */
    .hamburger {
        display: block;
    }

    /* Ocultar la lista de navegación por defecto en móviles */
    .nav-menu ul.nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.98); /* Fondo del menú desplegado */
        position: absolute;
        top: 100%; /* Debajo de la barra de navegación */
        left: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding-top: 10px;
        z-index: 999;
        text-align: center; /* Centrar elementos del menú */
    }

    /* Mostrar la lista de navegación cuando la clase 'is-active' está presente */
    .nav-menu ul.nav-list.is-active {
        display: flex;
    }

    .nav-menu ul.nav-list li {
        margin: 10px 0; /* Espaciado vertical para los ítems del menú */
    }
    
    .story-section, .download-section, .audio-section,
    .comments-section, .authors-section { padding: 20px; }
    .container { padding: 0 15px; }
    .placeholder-cover { width: 250px; height: 350px; }
    .authors-grid { flex-direction: column; align-items: center; }
    .author-card { flex-basis: 90%; max-width: 350px; }
}

/* Magic particles */
.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    z-index: 1000;
}

.particle.active {
    opacity: 1;
    animation: sparkle 2s ease-out forwards;
}

@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* New Map Section */
.map-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.map-section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.map-form-toggle {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.map-form-toggle p {
    font-size: 1.2em;
    color: #34495e;
    margin-bottom: 20px;
}

/* Modal form adjustments for select inputs */
.modal select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    font-size: 1em;
    background-color: white; /* Asegura que el fondo sea blanco */
    appearance: none; /* Elimina estilos por defecto del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%22292.4%22 height%3D%22292.4%22 viewBox%3D%220 0 292.4 292.4%22%3E%3Cpath fill%3D%22%23e74c3c%22 d%3D%22M287 197.8L154.5 65.3c-4.4-4.4-11.5-4.4-15.9 0L5.4 197.8c-4.4 4.4-4.4 11.5 0 15.9l13.7 13.7c4.4 4.4 11.5 4.4 15.9 0l110-110 110 110c4.4 4.4 11.5 4.4 15.9 0l13.7-13.7c4.4-4.4 4.4-11.5 0-15.9z%22%2F%3E%3C%2Fsvg%3E"); /* Flecha personalizada */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}


/* New Map Section */
.map-section {
    background: rgba(255, 255, 255, 0.7); /* Transparencia */
    margin: 30px 0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.map-section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.map-form-toggle {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.map-form-toggle p {
    font-size: 1.2em;
    color: #34495e;
    margin-bottom: 20px;
}

/* Modal form adjustments for select inputs */
.modal select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    font-size: 1em;
    background-color: white; /* Asegura que el fondo sea blanco */
    appearance: none; /* Elimina estilos por defecto del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%22292.4%22 height%3D%22292.4%22 viewBox%3D%220 0 292.4 292.4%22%3E%3Cpath fill%3D%22%23e74c3c%22 d%3D%22M287 197.8L154.5 65.3c-4.4-4.4-11.5-4.4-15.9 0L5.4 197.8c-4.4 4.4-4.4 11.5 0 15.9l13.7 13.7c4.4 4.4 11.5 4.4 15.9 0l110-110 110 110c4.4 4.4 11.5 4.4 15.9 0l13.7-13.7c4.4-4.4 4.4-11.5 0-15.9z%22%2F%3E%3C%2Fsvg%3E"); /* Flecha personalizada */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/* Estilos para la leyenda del mapa */
.info.legend {
    background: white;
    padding: 6px 8px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.info.legend h4 {
    margin: 0 0 5px;
    color: #333;
}
.info.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}


/* para los mensajes */

.form-message {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95em;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* Estilos para el reproductor de audio por capítulos */
.audio-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.audio-section h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.audio-player-container {
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 30px;
	box-sizing: content-box !important
}

.audio-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid transparent;
}

.tab-button:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.tab-button.active {
    background: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.chapter-card {
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
	box-sizing: border-box;
    padding: 20px;
	min-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.chapter-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.chapter-card h4 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #fff;
}

.audio-player {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    border-radius: 10px;
}


.full-version {
    text-align: center;
    margin-bottom: 30px;
}

.full-version h4 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
}

.version-note {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid rgba(255,255,255,0.6);
}

.version-note h5 {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.version-note p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.magical-note {
    background: linear-gradient(45deg, rgba(255,215,0,0.2), rgba(255,182,193,0.2));
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    border: 2px solid rgba(255,215,0,0.3);
}

.magical-note p {
    font-size: 0.9em;
    color: #FFE4B5;
    margin: 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.audio-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 20px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.audio-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-button {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 2px solid transparent;
}

.tab-button:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.tab-button.active {
  background: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.audio-player-container {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.audio-player {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
  box-sizing: content-box !important;
}

/* Responsive design */
@media (max-width: 768px) {  
    .audio-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .chapter-grid {
        grid-template-columns: 1fr;
    }
    
    .audio-section h3 {
        font-size: 2em;
    }
}
@media (max-width: 600px) {
  .audio-player-container {
    padding-left: 0;
    padding-right: 0;
  }
  .version-note {
    padding-left: 0;
    padding-right: 0;
  }
  .chapter-card {
    padding-left: 0;
    padding-right: 0;
  }
  .audio-section {
    padding-left: 5px;
    padding-right: 5px;
  }
}