/* Paz en la Cumbre de la Paz - Modern Poetry Theme */
:root {
    --celestial-blue: #38bdf8;
    --sapphire-deep: #0c192c;
    --accent-gold: #fbbf24;
    --gold-bright: #ffd700;
    --emerald-peace: #34d399;
    --crimson-soft: #fb7185;
    --dark-bg: #040914;
    --glass-bg: rgba(7, 16, 32, 0.66);
    --glass-border: rgba(251, 191, 36, 0.28);
    --glass-blue-border: rgba(56, 189, 248, 0.3);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: #f8fafc;
    background-color: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('background.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
    filter: brightness(0.80) saturate(1.18);
}

#effects-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
}

.main-wrapper {
    position: relative;
    z-index: 2;
    padding: 30px 20px 80px;
    max-width: 1150px;
    margin: 0 auto;
}

.brand {
    position: fixed;
    top: 20px; left: 25px;
    z-index: 100;
}
.paz-logo { max-height: 55px; transition: transform 0.3s; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7)); }
.paz-logo:hover { transform: scale(1.05); }

.lang-nav {
    position: fixed;
    top: 20px; right: 25px;
    z-index: 100;
}
.nav-container { display: flex; gap: 12px; align-items: center; }

.nav-btn {
    background: rgba(7, 16, 32, 0.78);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none !important;
    font-size: 0.9rem;
    display: flex; gap: 8px; align-items: center;
    transition: all 0.3s;
}
.nav-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); box-shadow: 0 0 15px rgba(251, 191, 36, 0.4); }

.lang-selector { position: relative; }
.current-lang {
    background: rgba(7, 16, 32, 0.78);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    display: flex; gap: 8px; align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}
.lang-dropdown {
    position: absolute;
    top: 45px; right: 0;
    background: rgba(5, 12, 24, 0.96);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    width: 175px;
    max-height: 340px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}
.lang-dropdown.active { display: flex; }
.lang-opt {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.88rem;
    display: flex; gap: 10px; align-items: center;
    transition: background 0.2s, color 0.2s;
    color: #e2e8f0;
}
.lang-opt:hover { background: rgba(251, 191, 36, 0.2); color: var(--accent-gold); }

.poem-section { margin-top: 80px; text-align: center; }

.poem-title {
    font-family: 'Philosopher', serif;
    font-size: 3.2rem;
    color: var(--accent-gold);
    margin-bottom: 35px;
    text-shadow: 0 0 25px rgba(251, 191, 36, 0.55), 0 2px 10px rgba(0,0,0,0.9);
    letter-spacing: 1.5px;
}

/* Snug Transparent Poem Container */
.poem-wrapper {
    width: fit-content;
    max-width: 860px;
    margin: 0 auto 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 25px;
    padding: 42px 48px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.75);
}

.poem-content { display: flex; flex-direction: column; gap: 22px; text-align: center; }

.stanza {
    padding: 20px 28px;
    border-radius: 18px;
    font-size: 1.22rem;
    line-height: 1.85;
    transition: all 0.3s ease;
}

/* Emotional Stanza Variations for Cumbre de la Paz */
.ascent-stanza {
    background: rgba(56, 189, 248, 0.11);
    border-left: 4px solid var(--celestial-blue);
    color: #e0f2fe;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.fellowship-stanza {
    background: rgba(52, 211, 153, 0.11);
    border-left: 4px solid var(--emerald-peace);
    color: #d1fae5;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.mission-stanza {
    background: rgba(251, 191, 36, 0.13);
    border-left: 4px solid var(--accent-gold);
    border-right: 1px solid rgba(251, 191, 36, 0.3);
    color: #fef3c7;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.valor-stanza {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-left: 4px solid var(--gold-bright);
    color: #fffbeb;
    font-weight: 500;
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

.sorrow-stanza {
    background: rgba(251, 113, 133, 0.11);
    border-left: 4px solid var(--crimson-soft);
    color: #ffe4e6;
    text-shadow: 0 0 8px rgba(251, 113, 133, 0.3);
}

.shadow-stanza {
    background: rgba(148, 163, 184, 0.11);
    border-left: 4px solid #94a3b8;
    color: #e2e8f0;
}

.wisdom-stanza {
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-left: 4px solid var(--accent-gold);
    color: #f0f9ff;
    font-style: italic;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.mantra-stanza {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fef08a;
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
}

.summit-climax-stanza {
    font-family: 'Philosopher', serif;
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.26) 0%, rgba(56, 189, 248, 0.18) 100%);
    border: 2px solid var(--gold-bright);
    color: #ffffff;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.8), 0 0 32px rgba(251, 191, 36, 0.55);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.signature {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-top: 15px;
    text-align: right;
}

/* Language Visibility Rules */
body[data-lang="spanish"] .spanish { display: block; }
body[data-lang="english"] .english { display: block; }
body[data-lang="portuges"] .portuges { display: block; }
body[data-lang="italian"] .italian { display: block; }
body[data-lang="frances"] .frances { display: block; }
body[data-lang="aleman"] .aleman { display: block; }
body[data-lang="chinese"] .chinese { display: block; }
body[data-lang="arabic"] .arabic { display: block; }
body[data-lang="russian"] .russian { display: block; }
body[data-lang="ukrainian"] .ukrainian { display: block; }
body[data-lang="japones"] .japones { display: block; }

.spanish, .english, .portuges, .italian, .frances, .aleman, .chinese, .arabic, .russian, .ukrainian, .japones {
    display: none;
}

body[data-lang="arabic"] { direction: rtl; font-family: 'Amiri', 'Montserrat', serif; }

/* Music Section - 3 Albums (Castellano, Inglés & Italiano) */
.music-section { margin-top: 60px; text-align: center; }
.music-section h2, .inspiration-section h2 {
    font-family: 'Philosopher', serif;
    font-size: 2.3rem;
    color: var(--accent-gold);
    margin-bottom: 35px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.albums-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.album-card {
    flex: 1;
    min-width: 270px;
    max-width: 335px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-blue-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.32);
    border-color: var(--accent-gold);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.album-info h4 {
    font-family: 'Philosopher', serif;
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.album-tag {
    font-size: 0.93rem;
    color: #bae6fd;
    font-weight: 300;
    line-height: 1.45;
}

/* Art Gallery Section */
.art-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.art-frame {
    padding: 20px;
    background: rgba(7, 16, 32, 0.66);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid var(--glass-blue-border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    max-width: 680px;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.art-frame:hover {
    transform: scale(1.015);
    border-color: var(--accent-gold);
}

.art-frame img, .img-fluid {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: block;
}

.art-caption {
    margin-top: 15px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #e0f2fe;
    font-style: italic;
    text-align: center;
    padding: 0 10px;
}

/* Inspiration Section */
.inspiration-section {
    margin-top: 60px;
}

.inspiration-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 25px;
    padding: 40px 48px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}

.handwritten {
    font-family: 'Caveat', cursive !important;
    font-size: 3rem !important;
    color: var(--accent-gold) !important;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.inspiration-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #f0f9ff;
    text-align: justify;
    text-justify: inter-word;
}

/* Footer */
footer {
    border-top: 1px solid rgba(251, 191, 36, 0.15);
    padding-top: 35px;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-wrapper { padding: 20px 12px 60px; }
    .poem-title { font-size: 2.15rem; }
    .container { padding: 0 12px; }
    .poem-wrapper {
        width: 92%;
        max-width: 92%;
        padding: 2.2rem 1.2rem;
        margin: 8rem auto 2.5rem;
        border-radius: 26px;
        background: rgba(10, 15, 28, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .stanza { font-size: 1.05rem; padding: 16px 16px; }
    .summit-climax-stanza { font-size: 1.2rem; }
    .albums-row { flex-direction: column; align-items: center; }
    .album-card { width: 100%; max-width: 330px; }
    .art-frame { max-width: 100%; padding: 14px; }
    .inspiration-wrapper { padding: 25px 18px; }
    .inspiration-text { font-size: 1rem; text-align: left; }
    .brand { top: 12px; left: 15px; }
    .paz-logo { max-height: 42px; }
    .lang-nav { top: 12px; right: 15px; }
    .nav-btn span { display: none; }
}

