/* Reset e Base - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 70%, #fffaf0 100%);
    min-height: 100vh;
    color: #3b3f4f; /* Tom de azul escuro para texto */
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    overflow-x: hidden;
}

/* Holofotes do home.html aplicados aqui */
.spotlight-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-radius: 12px;
}

.spotlight {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: spotlightMove 8s ease-in-out infinite;
}

.spotlight-1 { top: -50px; left: 10%; background: radial-gradient(circle, rgba(255, 0, 150, 0.8) 0%, transparent 70%); animation-delay: 0s; }
.spotlight-2 { top: -60px; right: 15%; background: radial-gradient(circle, rgba(0, 255, 255, 0.8) 0%, transparent 70%); animation-delay: 2.7s; }
.spotlight-3 { top: -40px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 255, 0, 0.8) 0%, transparent 70%); animation-delay: 5.4s; }
.spotlight-4 { top: -70px; left: 25%; background: radial-gradient(circle, rgba(150, 255, 0, 0.8) 0%, transparent 70%); animation-delay: 1.8s; }
.spotlight-5 { top: -30px; right: 35%; background: radial-gradient(circle, rgba(255, 100, 255, 0.8) 0%, transparent 70%); animation-delay: 4.1s; }
.spotlight-6 { top: -80px; left: 75%; background: radial-gradient(circle, rgba(0, 150, 255, 0.8) 0%, transparent 70%); animation-delay: 6.7s; }

@keyframes spotlightMove {
    0%, 100% { transform: translateY(0) scale(1); background: radial-gradient(circle, rgba(255, 0, 150, 0.8) 0%, transparent 70%); }
    16% { transform: translateY(25px) scale(1.1); background: radial-gradient(circle, rgba(0, 255, 255, 0.8) 0%, transparent 70%); }
    33% { transform: translateY(30px) scale(1.2); background: radial-gradient(circle, rgba(255, 255, 0, 0.8) 0%, transparent 70%); }
    50% { transform: translateY(20px) scale(0.9); background: radial-gradient(circle, rgba(150, 255, 0, 0.8) 0%, transparent 70%); }
    66% { transform: translateY(15px) scale(1.0); background: radial-gradient(circle, rgba(255, 100, 255, 0.8) 0%, transparent 70%); }
    83% { transform: translateY(35px) scale(1.3); background: radial-gradient(circle, rgba(0, 150, 255, 0.8) 0%, transparent 70%); }
}

/* Notas musicais flutuantes - passam por cima de tudo */
.musical-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.note {
    position: absolute;
    color: #d4af37; /* Dourado */
    font-size: 20px;
    opacity: 0;
    animation: noteFloat 15s linear infinite;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.note:nth-child(1) { left: 15%; animation-delay: 0.5s; animation-duration: 18s; }
.note:nth-child(2) { left: 50%; animation-delay: 5s; animation-duration: 14s; }
.note:nth-child(3) { left: 85%; animation-delay: 9s; animation-duration: 20s; }
.note:nth-child(4) { left: 30%; animation-delay: 13s; animation-duration: 16s; }

@keyframes noteFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.container {
    width: 100%;
    padding: 8px;
    margin: 0;
    position: relative;
    z-index: 10;
}

/* Header Mobile First */
.header {
    background: url('/images/capa/capa.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 15px 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 70, 150, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
}

.profile-pic {
    width: 80px; height: 80px; border-radius: 60%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-size: 50%; background-position: center; background-repeat: no-repeat;
    flex-shrink: 0;
}

.profile-pic img { width: 90%; height: 90%; object-fit: contain; }
.profile-info { width: 100%; text-align: center; }
.profile-info h1 { font-size: clamp(0.9rem, 4vw, 2.4rem); color: white; margin-bottom: 8px; font-weight: 700; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.profile-info .subtitle { color: rgba(255, 255, 255, 0.95); font-size: clamp(0.7rem, 2.5vw, 1.2rem); margin-bottom: 12px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); font-weight: 500; }

.stats { display: flex; gap: 8px; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
.stat { text-align: center; background: rgba(255, 255, 255, 0.1); padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); min-width: 60px; flex: 1; max-width: 80px; }
.stat-number { font-size: 1.1rem; font-weight: bold; color: #ffd700; }
.stat-label { color: rgba(255, 255, 255, 0.9); font-size: 0.65rem; font-weight: 500; }

/* Stories Mobile First */
.stories-container { position: relative; margin-bottom: 15px; padding: 8px 0; }
.stories { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 0 10px; scroll-behavior: smooth; justify-content: center; }
.stories::-webkit-scrollbar { display: none; }
.story { min-width: 50px; text-align: center; cursor: pointer; transition: transform 0.3s ease; flex-shrink: 0; }
.story-circle { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(45deg, #4682b4, #89cff0); padding: 2px; margin-bottom: 6px; box-shadow: 0 2px 8px rgba(70, 130, 180, 0.2); }
.story-inner { width: 100%; height: 100%; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.story-label { font-size: 0.6rem; color: #3b3f4f; font-weight: 500; }

/* Highlight Card Mobile */
.highlight-card-container { margin: 15px 0; position: relative; }
.flexible-news { position: relative; overflow: hidden; min-height: 170px; background: linear-gradient(135deg, #4682b4, #87ceeb); color: white; border-radius: 15px; box-shadow: 0 4px 15px rgba(70, 130, 180, 0.2); }
.news-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 50px 50px 55px 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: 0; transform: translateX(100%); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); text-align: center; z-index: 1; }
.news-item.active { opacity: 1; transform: translateX(0); z-index: 2; }
.news-icon { font-size: 1.8rem; min-width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.2); border-radius: 50%; backdrop-filter: blur(10px); border: 2px solid rgba(255, 255, 255, 0.3); text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); }
.news-content h2 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.news-content p { font-size: 0.8rem; line-height: 1.4; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); margin-bottom: 8px; }
.news-date { font-size: 0.7rem; background: rgba(255, 255, 255, 0.2); padding: 3px 8px; border-radius: 10px; }
.news-navigation { position: absolute; bottom: -3px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; z-index: 10; }
.news-prev, .news-next { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); color: white; width: 35px; height: 35px; border-radius: 50%; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.news-indicators { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.news-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: all 0.3s ease; }
.news-dot.active { background: white; transform: scale(1.3); }
.news-counter { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); color: white; padding: 4px 8px; border-radius: 15px; font-size: 0.7rem; z-index: 10; }

/* Menu Lateral Esquerdo - Patrocinadores */
.sponsors-menu { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 1000; }
@media (max-width: 768px) { .sponsors-menu { left: 12px; top: auto; bottom: 12px; transform: none; } }
.sponsors-toggle { width: 45px; height: 45px; background: linear-gradient(45deg, #d4af37, #f4e87d); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #3b3f4f; font-size: 1.1rem; cursor: pointer; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); transition: all 0.3s ease; }
.sponsors-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5); }
.sponsors-tooltip { position: absolute; left: 55px; top: 50%; transform: translateY(-50%); background: #3b3f4f; color: white; padding: 8px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s ease; pointer-events: none; }
.sponsors-toggle:hover .sponsors-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(5px); }

/* Floating Menu Mobile */
.floating-menu { position: fixed; bottom: 12px; right: 12px; z-index: 1000; }
.menu-toggle { width: 45px; height: 45px; background: linear-gradient(45deg, #d4af37, #f4e87d); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #3b3f4f; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); transition: all 0.3s ease; font-weight: bold; line-height: 1; }
.menu-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6); }
.menu-items { position: absolute; bottom: 55px; right: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; }
.menu-items.active { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-item { width: 40px; height: 40px; background: #ffffff; border: 1px solid #e0e0e0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; color: #4682b4; position: relative; }
.menu-item:hover { background: #f0f8ff; transform: scale(1.1); }
.menu-tooltip { position: absolute; right: 50px; top: 50%; transform: translateY(-50%); background: #3b3f4f; color: white; padding: 4px 8px; border-radius: 6px; font-size: 0.7rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s ease; pointer-events: none; }
.menu-item:hover .menu-tooltip { opacity: 1; visibility: visible; }
    #homeModal .modal-button-confirm {
        display: inline-block;
        padding: 12px 25px;
        border-radius: 25px;
        text-decoration: none;
        margin-top: 20px;
        background: linear-gradient(45deg, #4682b4, #3b6f9e); /* Gradiente azul */
        color: white;
        font-weight: 600;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    #homeModal .modal-button-confirm:hover {
        background: linear-gradient(45deg, #3b6f9e, #2c5f41); /* Gradiente de azul para verde */
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
/* Footer discreto */
.footer { position: fixed; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 0.7rem; color: rgba(59, 63, 79, 0.5); z-index: 100; pointer-events: none; }
.footer a { color: rgba(59, 63, 79, 0.7); text-decoration: none; pointer-events: all; transition: color 0.3s ease; }
.footer a:hover { color: #d4af37; }

/* Ajustes de responsividade */
@media (min-width: 768px) {
    .container { max-width: 800px; margin: 0 auto; padding: 20px; }
    .header { padding: 30px 25px; min-height: 280px; border-radius: 20px; }
    .profile-pic { width: 100px; height: 100px; }
    .stories { padding: 0; gap: 15px; }
    .menu-toggle { width: 55px; height: 55px; font-size: 1.8rem; }
    .menu-item { width: 50px; height: 50px; }
}

@media (min-width: 1024px) {
    .container { max-width: 1200px; padding: 25px; }
    .header { padding: 50px 40px; min-height: 350px; }
    .profile-pic { width: 140px; height: 140px; }
    .menu-toggle { width: 65px; height: 65px; font-size: 2.2rem; }
    .menu-item { width: 55px; height: 55px; }
}