/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
    opacity: 1 !important; /* Forçar visibilidade */
}

/* Cabeçalho */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem !important;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
    color: #ff6b35 !important;
    background: rgba(255, 107, 53, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu - Sobrescrevendo Bootstrap */
.navbar .dropdown-menu {
    background: #3949ab !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    margin-top: 0.5rem !important;
    padding: 0.5rem 0 !important;
    display: none !important;
    position: absolute !important;
    z-index: 1040 !important;
    min-width: 200px !important;
    top: 100% !important;
    left: 0 !important;
}

.navbar .dropdown-menu.show {
    display: block !important;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.8rem !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
}

.navbar .dropdown-item:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    text-decoration: none !important;
}

.navbar .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    text-decoration: none !important;
    outline: none !important;
}

.navbar .dropdown-item:active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Responsividade para Bootstrap */
@media (max-width: 991.98px) {
    .navbar .container-fluid {
        padding: 0 1rem;
    }
    
    .navbar-collapse {
        background: rgba(57, 73, 171, 0.95);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        text-align: center;
    }
    
    .navbar .dropdown-menu {
        background: rgba(57, 73, 171, 0.8) !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 0 !important;
    }
}

.header-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.site-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-top: 0.2rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.logo i {
    color: #ff6b35;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.logo:hover i {
    color: #f7931e;
    transform: scale(1.1);
}

/* Container Principal */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Seleção de Humor */
.mood-selection {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mood-selection h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.mood-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.mood-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mood-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mood-icon.active {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    transform: scale(1.05);
}

.mood-icon i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.mood-icon:hover i {
    transform: scale(1.1);
}

.mood-icon span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Container das Recomendações */
.recommendations-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Filme do Dia Vertical (à Esquerda) */
.daily-movie-card {
    position: relative;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem 3rem 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.daily-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #1a237e;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    backdrop-filter: blur(10px);
    min-width: 140px;
    text-align: center;
    border: 1px solid rgba(26, 35, 126, 0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.daily-badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.timer-countdown {
    font-size: 0.65rem;
    opacity: 0.9;
    margin-top: 0.2rem;
    font-weight: 500;
    display: block;
    line-height: 1.1;
}

.daily-poster {
    margin-bottom: 1.5rem;
    text-align: center;
}

.daily-poster img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.daily-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    text-align: center;
    color: white;
}

.daily-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.daily-synopsis {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
    flex: 1;
}

.daily-platform {
    font-size: 0.85rem;
    color: #ff6b35;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.daily-platform:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.daily-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
    justify-content: center;
    align-items: stretch;
}

.daily-actions .btn {
    padding: 0.8rem 1.5rem !important;
    border: none !important;
    border-radius: 25px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    text-align: center !important;
    min-width: 100px !important;
    flex: 1 1 auto !important;
    max-width: 155px !important;
}

.daily-actions .btn.btn-watch {
    background: linear-gradient(135deg, #1a237e, #3949ab) !important;
    color: white !important;
}

.daily-actions .btn.btn-details {
    background: linear-gradient(135deg, #2196F3, #1976D2) !important;
    color: white !important;
}

.daily-actions .btn.btn-share {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9) !important;
    color: white !important;
}

.daily-actions .btn:hover {
    transform: translateY(-2px) !important;
}

.daily-actions .btn.btn-watch:hover {
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4) !important;
}

.daily-actions .btn.btn-details:hover {
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4) !important;
}

.daily-actions .btn.btn-share:hover {
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4) !important;
}

/* Botões de Avaliação do Filme do Dia - Integrados ao daily-actions */
.daily-actions .btn.btn-like {
    background: linear-gradient(135deg, #4CAF50, #66BB6A) !important;
    color: white !important;
}

.daily-actions .btn.btn-dislike {
    background: linear-gradient(135deg, #f44336, #EF5350) !important;
    color: white !important;
}

.daily-actions .btn.btn-like:hover {
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4) !important;
}

.daily-actions .btn.btn-dislike:hover {
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4) !important;
}

/* Recomendação por Humor */
.mood-recommendation {
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.mood-recommendation h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.mood-recommendation p {
    color: #666;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Container dos Cards de Recomendação */
.recommendation-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Cards de Recomendação */
.recommendation-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: none;
    text-align: center;
    position: relative;
}

/* Labels de Tipo de Conteúdo */
.content-type-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.content-type-label.movie-label {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.content-type-label.series-label {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.recommendation-card:hover {
    transform: translateY(-5px);
}

.recommendation-card.show {
    display: block;
}

.movie-poster,
.series-poster {
    text-align: center;
    margin-bottom: 1rem;
}

.movie-poster img,
.series-poster img {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.movie-title,
.series-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.movie-meta,
.series-meta {
    margin-bottom: 0.75rem;
    text-align: center;
}

.movie-year,
.series-year,
.movie-rating,
.series-rating {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin: 0 0.25rem;
    display: inline-block;
}

.movie-synopsis,
.series-synopsis {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.85rem;
    text-align: center;
    max-height: 8.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
}

.movie-platform,
.series-platform {
    font-size: 0.85rem;
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    display: inline-block;
    text-align: center;
}

.movie-info,
.series-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.movie-actions,
.series-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.movie-actions .btn,
.series-actions .btn {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 0.85rem !important;
    padding: 0.7rem 0.6rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
    min-height: 40px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    color: inherit !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.movie-actions .btn.btn-watch,
.series-actions .btn.btn-watch {
    background: linear-gradient(135deg, #1a237e, #3949ab) !important;
    color: white !important;
}

.movie-actions .btn.btn-details,
.series-actions .btn.btn-details {
    background: transparent !important;
    color: #ff6b35 !important;
    border: 2px solid #ff6b35 !important;
}

.movie-actions .btn.btn-share,
.series-actions .btn.btn-share {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9) !important;
    color: white !important;
    width: 100% !important;
    margin-top: 0.5rem;
    justify-content: center !important;
    flex: 1 1 100% !important;
}

.movie-actions .btn:hover,
.series-actions .btn:hover {
    transform: translateY(-2px) !important;
}

.movie-actions .btn.btn-watch:hover,
.series-actions .btn.btn-watch:hover {
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4) !important;
}

.movie-actions .btn.btn-details:hover,
.series-actions .btn.btn-details:hover {
    background: #ff6b35 !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4) !important;
}

.movie-actions .btn.btn-share:hover,
.series-actions .btn.btn-share:hover {
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4) !important;
}

/* Mensagem quando não há recomendação */
.no-recommendation {
    color: #666;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

/* Seção de Estatísticas */
.user-stats {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.user-stats h2 {
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    color: #333;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    color: #1a237e;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.mood-chart-container {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mood-chart-container h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mood-chart {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 60px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    justify-content: center;
}

.mood-bar {
    flex: 1;
    background: #1a237e;
    border-radius: 4px 4px 2px 2px;
    position: relative;
    min-height: 10px;
    transition: all 0.3s ease;
}

.mood-bar:hover {
    background: #3949ab;
}

.mood-bar::after {
    content: attr(data-mood);
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* Rodapé */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #888;
}

/* Botões */
.btn {
    padding: 0.8rem 1.5rem !important;
    border: none !important;
    border-radius: 25px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    text-align: center !important;
}

.btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .recommendations-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .daily-movie-card {
        min-height: auto;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .daily-poster img {
        width: 150px;
        height: 225px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .mood-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .mood-icon {
        padding: 1rem 0.8rem;
        min-height: 100px;
    }
    
    .mood-icon i {
        font-size: 2rem;
    }
    
    .mood-icon span {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .daily-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .daily-actions .btn {
        max-width: none !important;
        min-width: auto !important;
        padding: 0.8rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .daily-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .daily-actions .btn {
        max-width: none !important;
        min-width: auto !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .recommendation-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .movie-actions .btn,
    .series-actions .btn {
        width: 100% !important;
    }
    
    .movie-actions .btn.btn-share,
    .series-actions .btn.btn-share {
        margin-top: 0 !important;
    }
}

/* Media query para tablets */
@media (max-width: 992px) {
    .daily-actions .btn {
        padding: 0.7rem 1.3rem !important;
        font-size: 0.9rem !important;
        min-width: 100px !important;
        max-width: 130px !important;
    }
}

@media (max-width: 480px) {
    .mood-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.3rem;
    }
    
    .mood-icon {
        padding: 0.8rem 0.6rem;
        min-height: 90px;
    }
    
    .mood-icon i {
        font-size: 1.8rem;
    }
    
    .mood-icon span {
        font-size: 0.75rem;
    }
    
    .stat-card {
        padding: 1.2rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .user-stats {
        padding: 1.5rem 1rem;
    }
    
    .user-stats h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .mood-chart-container {
        padding: 1rem;
    }
    
    .mood-chart-container h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .mood-chart {
        height: 50px;
        gap: 0.4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mood-icon {
    animation: fadeInUp 0.6s ease-out;
}

/* Estados de loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Regra global para centralização de botões - Sobrescrevendo Bootstrap */
.btn,
button.btn,
input[type="button"].btn,
input[type="submit"].btn,
input[type="reset"].btn {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
