body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #020617;
    color: #e2e8f0;
}

header {
    background: rgba(11, 18, 36, 0.95);
    color: white;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-controls button {
    padding: 5px 12px;
    font-size: 14px;
    background: #7c5cff;
    border-radius: 40px;
}

.audio-controls input[type="range"] {
    width: 80px;
    accent-color: #7c5cff;
}

main,
.content-wrapper,
.discipline-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #0b1224;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 80px;
}

#welcome {
    text-align: center;
    margin-bottom: 3rem;
}

#welcome h2 {
    color: #7c5cff;
    font-weight: 800;
}

.discipline-selection {
    position: relative;
    margin: 40px auto;
    width: fit-content;
}

.background-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 15px;
    filter: brightness(0.7);
}

.discipline-words {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.discipline-word {
    position: absolute;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.discipline-word:hover {
    color: #22d3ee;
    transform: scale(1.1) translateY(-3px);
    background: rgba(124, 92, 255, 0.2);
    box-shadow: 0 5px 15px rgba(124, 92, 255, 0.3);
}

/* Posiciones específicas centradas al gráfico */
.word-gracia {
    top: 15%;
    left: 40%;
}

.word-adoracion {
    top: 33%;
    left: 55%;
}

.word-confesion {
    top: 33%;
    left: 25%;
}

.word-sobriedad {
    top: 48%;
    left: 60%;
}

.word-ayuno {
    top: 58%;
    left: 60%;
}

.word-oracion {
    top: 67%;
    left: 25%;
}

.word-meditacion {
    top: 80%;
    left: 25%;
}

.word-repaso {
    top: 85%;
    left: 65%;
}

#discipline-content h2 {
    color: #7c5cff;
    text-align: center;
    margin-bottom: 2rem;
}

.short-text {
    font-size: 1.2rem;
    color: #f8fafc;
    border-left: 4px solid #22d3ee;
    padding-left: 20px;
    margin: 30px 0;
}

.long-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #cbd5e1;
}

.video,
.image {
    text-align: center;
    margin: 40px 0;
}

.video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Contenedor de imágenes en el texto */
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
}

.image-container img {
    max-width: 45%;
    height: auto;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.image-container img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .image-container img {
        max-width: 100%;
    }
}

.buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

button,
.btn-custom {
    background: #7c5cff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

button:hover,
.btn-custom:hover {
    background: #6344d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 92, 255, 0.4);
}

footer {
    text-align: center;
    padding: 15px;
    background: rgba(11, 18, 36, 0.9);
    color: #94a3b8;
    max-width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    margin-top: 50px;
}