:root {
    --primary: #FF8A00;
    --primary-dark: #E07900;
    --background-light: #f8f7f5;
    --background-dark: #0B1220;
    --card-dark: #16233A;
    --accent-blue: #4DA3FF;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(22, 35, 58, 0.7);
    --font-display: 'Inter', sans-serif;
}

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

/* Fix mobile viewport overflow issues */
html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-display);
    background-color: var(--background-dark);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base App Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Typography & Helpers */
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
.text-primary { color: var(--primary); }
.icon-blue { color: var(--accent-blue); }
.link-blue { color: var(--accent-blue); font-size: 0.875rem; font-weight: 600; transition: color 0.3s ease; }
.link-blue:hover { text-decoration: underline; color: #7bbaff; }

/* === Header === */
.main-header {
    position: fixed; /* Header Flutuante */
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    background: rgba(11, 18, 32, 0.2); /* Mais transparente para ver as fotos */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Borda bem sutil */
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.logo-img { 
    height: 48px; 
    width: auto; 
    max-width: 300px;
    object-fit: contain; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.logo-area:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 138, 0, 0.4)) brightness(1.1);
}
.logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; }
.logo-text span { color: var(--primary); }

.desktop-nav { display: flex; gap: 2rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-large { padding: 0.75rem 2rem; font-size: 1rem; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

/* === Main Content === */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem 1rem;
}

/* Banner Slider Full Width */
.banner-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupar 100% da altura da tela na home (moderno) */
    max-height: 800px; /* Limite caso seja um monitor muito alto */
    margin-top: 80px; /* Ajuste para não ficar embaixo do menu */
    border-radius: 0; /* Sem bordas arredondadas (full width) */
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: var(--background-dark);
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slider Text Overlay (Responsive) */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.8);
    pointer-events: none;
}
.slide-quote {
    font-size: clamp(1.25rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif; 
    letter-spacing: 0.5px;
}
.slide-ref {
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.95;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.9);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 18, 32, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 20;
    opacity: 0;
}

.banner-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 138, 0, 0.5);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.grid-left { grid-column: span 8; display: flex; flex-direction: column; gap: 2rem; }
.grid-right { grid-column: span 4; display: flex; flex-direction: column; gap: 2rem; }

/* Cards */
.card {
    background: var(--card-dark);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hover-glow { transition: all 0.3s ease; }
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(77, 163, 255, 0.15);
    border-color: rgba(77, 163, 255, 0.3);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Verse Card */
.verse-card { position: relative; overflow: hidden; padding: 2rem; }
.verse-icon-bg {
    position: absolute;
    top: 0; right: 0;
    padding: 1rem;
    opacity: 0.05;
    transition: opacity 0.3s, transform 0.3s;
}
.verse-card:hover .verse-icon-bg { opacity: 0.15; transform: scale(1.1) rotate(10deg); }
.verse-icon-bg span { font-size: 6rem; color: var(--accent-blue); }

.verse-text {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 1rem;
}
.verse-cite { color: var(--accent-blue); font-weight: 700; font-style: normal; }

/* Events Section */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.section-title { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }

.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.event-card {
    background: var(--card-dark);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}
.event-card:hover { border-color: rgba(255, 138, 0, 0.5); transform: translateY(-3px); }

.event-img { width: 5rem; height: 5rem; border-radius: 0.5rem; object-fit: cover; }
.event-details { display: flex; flex-direction: column; justify-content: space-between; }
.event-title { font-weight: 700; font-size: 1rem; transition: color 0.3s; }
.event-card:hover .event-title { color: var(--primary); }
.event-time { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.event-tag {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--accent-blue);
    background: rgba(77, 163, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    width: fit-content;
}

/* Spotify-Style Audio Player - ULTIMATE FIDELITY DESIGN */
.spotify-player {
    background: #121212; /* Official Spotify dark bg */
    border: none;
    padding: 1.25rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    overflow: hidden;
}

.album-container {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.album-art-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotify-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

/* Track Header (Title + Actions) */
.track-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.track-details {
    min-width: 0;
}

.track-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist-name {
    font-size: 0.9rem;
    color: #b3b3b3;
    font-weight: 500;
}

.top-actions {
    display: flex;
    gap: 0.5rem;
}

.circle-btn {
    background: transparent;
    color: #b3b3b3;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.circle-btn:hover {
    color: #fff;
}

.circle-btn.active {
    color: #1ed760; /* Spotify Green */
}

.circle-btn span {
    font-size: 1.5rem;
}

/* Progress Section (Center) */
.progress-section {
    width: 100%;
    margin: 0.5rem 0;
}

.progress-bar-container {
    height: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.progress-bar-bg {
    flex: 1;
    height: 4px;
    background: #4d4d4d;
    border-radius: 2px;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
}

.progress-bar-container:hover .progress-bar-fill {
    background: #1db954;
}

.progress-knob {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.1s;
}

.progress-bar-container:hover .progress-knob {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #b3b3b3;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Controls (Bottom) */
.player-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.control-btn {
    background: transparent;
    color: #b3b3b3;
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.control-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.control-btn span {
    font-size: 1.5rem;
}

.play-pause-btn {
    width: 3.2rem;
    height: 3.2rem;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.play-pause-btn:hover {
    transform: scale(1.05);
}

.play-pause-btn span {
    font-size: 2.2rem;
}

/* Adjustments for Sidebar */
@media (max-width: 480px) {
    .spotify-player {
        padding: 1rem;
        gap: 1rem;
    }
    .album-container {
        width: 100px;
        height: 100px;
    }
    .track-name {
        font-size: 1.1rem;
    }
}

/* Quick Access */
.quick-access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(11, 18, 32, 0.5);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.quick-link:hover { border-color: rgba(77, 163, 255, 0.5); background: rgba(77, 163, 255, 0.05); transform: translateY(-2px); }
.quick-link span:first-child { margin-bottom: 0.5rem; font-size: 1.5rem; transition: transform 0.3s; }
.quick-link:hover span:first-child { transform: scale(1.1); }
.quick-link span:last-child { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); transition: color 0.3s; }
.quick-link:hover span:last-child { color: #fff; }

/* === Footer === */
.main-footer {
    margin-top: 3rem;
    background: rgba(22, 35, 58, 0.5);
    border-top: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-logo { font-size: 1.25rem; font-weight: 900; margin-bottom: 1rem; }
.footer-logo span { color: var(--primary); }
.footer-text { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}
.social-links a:hover { background: rgba(255, 138, 0, 0.2); color: var(--primary); transform: translateY(-2px); }

.footer-heading { font-weight: 700; margin-bottom: 1rem; }
.footer-menu { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-menu a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.3s; }
.footer-menu a:hover { color: var(--primary); }

.map-preview {
    height: 8rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s;
    cursor: pointer;
}
.map-preview img { width: 100%; height: 100%; object-fit: cover; }
.map-preview:hover { filter: grayscale(0%) opacity(1); box-shadow: 0 4px 12px rgba(0,0,0,0.5); }

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748b;
}

/* Base Responsive Elements */
.menu-toggle {
    background: transparent;
    color: #fff;
    padding: 0.5rem;
}