@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1E3A8A; /* Azul Escuro */
    --primary-hover: #1e40af;
    --primary-light: #dbeafe;
    --bg-dark: #2E1A47; /* Roxo Escuro */
    --bg-main: #4A2C6D; /* Roxo Principal */
    --accent-orange: #ff7e00;
    --card-purple: #2d004d;
    --section-purple: #4a0072;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --error: #ef4444;
    --success: #16a34a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: linear-gradient(180deg, #1645A2 0%, #B869D6 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-container {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.8s ease-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 0.5rem;
    mix-blend-mode: screen;
}

.logo-container img {
    max-width: 400px;
    height: auto;
    mix-blend-mode: screen;
    filter: grayscale(100%) brightness(0.9) contrast(1.2);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 95%);
    mask-image: radial-gradient(circle, black 50%, transparent 95%);
}



.login-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-header {
    margin-bottom: 2rem;
    text-align: center;
}

.login-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
}

input:not([type="checkbox"]), select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.8); /* Branco levemente transparente para legibilidade */
}

select option {
    background-color: #2E1A47; /* Fundo roxo escuro para combinar com o modal */
    color: white;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

button {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.forgot-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: white;
    text-decoration: underline;
}

.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
    font-weight: 500;
}

.message.success {
    background: rgba(34, 197, 94, 0.2);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Streak Badge Styles */
.streak-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 126, 0, 0.1);
    color: #ff7e00;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 126, 0, 0.2);
    width: fit-content;
}

.streak-fire {
    font-size: 1.1rem;
    animation: fire-pulse 1.5s infinite alternate ease-in-out;
}

@keyframes fire-pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 126, 0, 0.4)); }
    100% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(255, 126, 0, 0.8)); }
}

/* Dashboard Styles */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    object-fit: cover;
    display: none; /* Mostra apenas quando tiver foto */
}

/* Upload de Avatar Estilo Premium */
.avatar-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.avatar-upload-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--glass-border);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid de Objetivos */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1; /* Garante que a linha de texto nÃ£o tenha altura extra */
}

.goal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: white;
}

.goal-item:has(input:checked) {
    background: rgba(184, 134, 11, 0.1); /* Sutil dourado se selecionado */
    border-color: var(--primary);
    color: white;
}

.goal-item input {
    margin: 0;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
    display: block; /* Remove comportamentos de linha (como respiro embaixo) */
}

.goal-item span {
    display: block;
    padding-top: 2px; /* Ajuste fino de 1 a 2 pixels costuma resolver a ilusÃ£o de Ã³tica de desalinhamento */
}

/* HUB DE ESTUDOS - TEMA LIGHT */
.hub-body {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    color: #1e293b;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

.hub-container {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sidebar Esquerda */
.hub-sidebar {
    background: #ffffff;
    border-radius: 2rem;
    padding: 2rem 1.25rem;
    height: fit-content;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(6, 95, 70, 0.4);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.hub-sidebar::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #f1f5f9;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: #383363;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.profile-level {
    font-size: 0.75rem;
    color: #d97706; /* Laranja/Dourado para contraste no fundo claro */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.edit-profile-link {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.edit-profile-link:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* Menu de NavegaÃ§Ã£o */
.hub-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    perspective: 1000px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    color: #9383a3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 0.6rem;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid #e2e8f0;
}

.menu-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.menu-item:hover::after {
    left: 100%;
}

.menu-item span {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    background: var(--section-purple);
    color: white;
    transform: translateX(8px) rotateY(-15deg) translateZ(10px);
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(124, 58, 237, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.menu-item:hover span {
    transform: scale(1.2) translateZ(20px);
}

.menu-item.active {
    background: var(--section-purple);
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.menu-item.active span {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Dictionary Widget */
.dictionary-widget {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: #003366; /* Azul Cambridge */
    border-radius: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 51, 102, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.dictionary-widget:hover {
    transform: translateY(-4px);
}

.dictionary-banner-img {
    width: 100%;
    height: 80px; /* Reduzido para metade do tamanho visual aproximado */
    border-radius: 0.5rem;
    object-fit: contain;
    background: #003366;
}

.dictionary-widget p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
}

.dictionary-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dictionary-form input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 0.6rem 0.875rem !important;
    font-size: 0.85rem !important;
    border-radius: 0.5rem !important;
}

.dictionary-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dictionary-form button {
    background: white !important;
    color: #003366 !important;
    padding: 0.6rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    border-radius: 0.5rem !important;
}

.dictionary-form button:hover {
    background: #f8fafc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ConteÃºdo Central */
.hub-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.banner-feature {
    background: linear-gradient(135deg, #1E3A8A 0%, #4A2C6D 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.banner-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* SeÃ§Ã£o de ConteÃºdo */
.content-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* Coluna Direita - Widget */
.hub-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: #764398;
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
    height: fit-content;
}

.widget-card {
    background: var(--card-purple);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: none;
    position: relative;
    border-top: 4px solid var(--accent-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.widget-card::before {
    content: "\2714";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border: 3px solid var(--card-purple);
}

.widget-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.widget-card.linkedin-widget {
    background: var(--card-purple);
    color: white;
    border-top: 4px solid var(--accent-orange);
}

.widget-card.linkedin-widget .widget-title,
.widget-card.linkedin-widget p {
    color: white;
}

.widget-card.linkedin-widget .social-mockup {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-card.linkedin-widget .social-mockup a {
    color: #fff;
    background: var(--accent-orange);
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.widget-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.widget-card .inner-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

/* Ajustes Responsivos */
@media (max-width: 1200px) {
    .hub-container {
        grid-template-columns: 250px 1fr;
    }
    .hub-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .hub-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .hub-sidebar {
        display: none;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.logout-btn {
    width: auto;
    margin-top: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid var(--glass-border);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

/* Modal de Boas-vindas */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none; /* Escondido por padrÃ£o */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal-content {
    background: var(--bg-main);
    color: white;
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-group input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.modal-ok-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-ok-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.modal-ok-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* RANKING SECTION */
.ranking-section {
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
    padding: 0 1rem;
}

.ranking-badge {
    background: #f1f5f9;
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.ranking-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.ranking-subtitle {
    color: #64748b;
    margin-bottom: 4rem;
}

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    padding-top: 3rem;
}

.podium-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    width: 250px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: transform 0.3s ease;
}

/* Segundo e Terceiro Lugares */
.podium-card.second, .podium-card.third {
    padding-top: 3rem;
}

/* Primeiro Lugar (Destaque) */
.podium-card.first {
    width: 300px;
    padding: 3rem 2rem 2.5rem;
    border: 3px solid #fef9c3; /* Sutil destaque amarelo */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.podium-avatar-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.first .podium-avatar {
    width: 100px;
    height: 100px;
}

.crown-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

.podium-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    display: block;
    margin-bottom: 1.5rem;
}

.rank-pill {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
}

.first .rank-pill { background: #fef9c3; color: #854d0e; }
.second .rank-pill { background: #f1f5f9; color: #475569; }
.third .rank-pill { background: #ffedd5; color: #9a3412; }

.points-display {
    margin: 1.5rem 0;
}

.points-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.points-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 0.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.stat-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
}

/* HUB HEADER (BANNER TOPO - FULL WIDTH DEFINITIVO) */
.hub-header {
    background: #383363;
    width: 100%;
    margin: 0;
    padding: 0.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    color: white;
}

.header-brand {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 60px; /* Reduzido para um tamanho bem mais compacto */
    object-fit: contain;
    filter: invert(1); 
    mix-blend-mode: screen; 
    margin: -5px 0; 
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    padding: 5px 0;
    width: auto;
    display: flex;
    align-items: center;
    line-height: 1;
}

.lang-btn.active {
    color: white;
}

.lang-btn:hover {
    color: white;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.logout-header-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    height: auto;
    width: auto;
    outline: none;
    transition: all 0.2s;
}

.logout-header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.logout-header-btn:active {
    outline: none;
}

.logout-header-btn:hover {
    color: #ef4444;
}

.brand-separator {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.panel-tag {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-header-btn {
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    color: #94a3b8;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
}

.logout-header-btn:hover {
    color: #ef4444;
}

.hub-container {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem; /* Reduzi o padding superior para encostar no banner */
}

@media (max-width: 900px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 5rem;
        padding-top: 5rem;
    }
}

/* Estilos para os Cards de ConteÃºdo (Podcasts, etc) */
.content-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-light);
}

.content-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover::before {
    opacity: 1;
}

.card-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f1f5f9;
    color: #475569;
    width: fit-content;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.card-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.content-card:hover .card-footer {
    opacity: 1;
    transform: translateX(0);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "â€œ";
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    color: rgba(74, 44, 109, 0.05);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 1;
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0f172a;
    line-height: 1.2;
}

.testimonial-title {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #f59e0b;
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.stars {
    letter-spacing: 2px;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    font-style: normal;
    flex-grow: 1;
    z-index: 1;
    position: relative;
}

/* Estilos para Imagens em Cards de ConteÃºdo */
.card-image {
    width: 100%;
    height: 320px;
    object-fit: contain; /* MantÃ©m a proporÃ§Ã£o e mostra a imagem inteira */
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.02);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.content-card:hover .card-image {
    transform: scale(1.02) translateY(-5px);
}

/* PROFILE PAGE REDESIGN - CLEAN & PREMIUM */
.profile-overlay {
    background: #f1f5f9 !important; /* Fundo cinza bem claro e limpo */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    overflow-y: auto;
    padding: 2rem 1rem;
    animation: fadeIn 0.4s ease-out;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .profile-container {
        grid-template-columns: 1.5fr 1fr;
    }
}

.profile-card-clean {
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-top: 6px solid var(--section-purple);
}

.profile-summary-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #1ca54e;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.summary-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.summary-info h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.summary-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.summary-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-section-title::before {
    content: "•";
    color: var(--primary);
    font-size: 1.2rem;
}

.summary-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.summary-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    background: #f1f5f9;
    color: #475569;
}

.summary-tag.style-0 { background: #e0e7ff; color: #4f46e5; }
.summary-tag.style-1 { background: #dcfce7; color: #16a34a; }
.summary-tag.style-2 { background: #fef9c3; color: #ca8a04; }
.summary-tag.style-3 { background: #f3e8ff; color: #9333ea; }
.summary-tag.style-4 { background: #ffe4e6; color: #e11d48; }

.document-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.document-btn:hover {
    background: white;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.document-btn span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-contact {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-header-clean {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header-clean h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.profile-header-clean p {
    color: #64748b;
    font-size: 1rem;
}

.avatar-edit-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.avatar-circle-edit {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-circle-edit:hover {
    transform: scale(1.05);
    border-color: var(--primary-light);
}

.avatar-circle-edit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-icon-badge {
    position: absolute;
    bottom: 5px;
    right: 5px; /* Agora relativo ao container da imagem, nÃ£o Ã  seÃ§Ã£o inteira */
    background: var(--section-purple);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    pointer-events: none;
}

.form-grid-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .form-grid-clean {
        grid-template-columns: 1fr;
    }
}

.form-group-clean {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-clean label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
    margin-left: 0.25rem;
}

.input-clean {
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    padding: 1rem 1.25rem !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    transition: all 0.3s !important;
}

.input-clean:focus {
    border-color: var(--section-purple) !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(74, 0, 114, 0.1) !important;
    outline: none !important;
}

.goals-section-clean {
    margin-top: 2rem;
}

.goals-section-clean label.section-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--section-purple); /* TÃ­tulos das seÃ§Ãµes em roxo */
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.goals-section-clean label.section-label::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--accent-orange); /* Detalhe em laranja para contrastar */
    border-radius: 2px;
}

.goals-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.goal-pill {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.goal-pill:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.goal-pill input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary);
    margin: 0;
}

.goal-pill span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.goal-pill.selected {
    background: rgba(74, 0, 114, 0.05); /* Sutil fundo roxo */
    border-color: var(--section-purple);
}

.goal-pill.selected span {
    color: var(--section-purple);
}

.save-profile-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #051937 100%) !important;
    color: white !important;
    padding: 1.25rem !important;
    border-radius: 1rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-top: 3rem !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2) !important;
    transition: all 0.3s !important;
}

.save-profile-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.3) !important;
    filter: brightness(1.1) !important;
}

.close-profile-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 1.5rem;
    transition: all 0.2s;
    z-index: 3001;
}

.close-profile-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Challenge Banner Premium Styles */
.challenge-banner {
    background: linear-gradient(135deg, #22225b 0%, #734596 100%);
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.challenge-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.challenge-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.challenge-info {
    flex: 1;
    text-align: left;
}

.challenge-badge {
    background: #ff7e00;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.challenge-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white !important;
}

.challenge-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 500px;
}

.challenge-action-btn {
    background: white !important;
    color: #1e3a8a !important;
    width: 180px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    font-size: 0.9rem !important;
    margin-top: 0 !important;
    white-space: nowrap;
    border-radius: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.challenge-action-btn:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 992px) {
  .challenge-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .challenge-info {
    text-align: center;
  }
  
  .challenge-desc {
    margin: 0 auto;
  }
}

/* Recommendation Banner Premium Styles */
.recommendation-banner {
    background: linear-gradient(135deg, #22225b 0%, #734596 100%);
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(74, 44, 109, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recommendation-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.recommendation-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    z-index: 1;
}

.recommendation-info {
    flex: 1;
    z-index: 1;
}

.recommendation-tag {
    background: #ff7e00;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;

}

.recommendation-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white !important;
}

.recommendation-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    max-width: 600px;
}

.recommendation-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.channel-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.recommendation-action-btn {
    background: white !important;
    color: #1e3a8a !important;
    padding: 1rem 2rem !important;
    border-radius: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s; /* Matched with challenge-action-btn */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 180px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    margin-top: 0 !important;
}

.recommendation-action-btn:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
}

.play-circle {
    background: rgba(115, 69, 150, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-circle svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .recommendation-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    .recommendation-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .recommendation-footer {
        justify-content: center;
    }
    .recommendation-action-btn {
        width: 100% !important;
        justify-content: center;
    }
}

/* Quiz Banner Premium Styles */
.quiz-banner {
    background: linear-gradient(135deg, #22225b 0%, #734596 100%);
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(115, 69, 150, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.quiz-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    z-index: 1;
}

.quiz-info {
    flex: 1;
    z-index: 1;
}

.quiz-badge {
    background: #ff7e00;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;

}

.quiz-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white !important;
}

.quiz-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 600px;
}

.quiz-action-btn {
    background: white !important;
    color: #1e3a8a !important;
    padding: 1rem 2rem !important;
    border-radius: 1rem;
    font-weight: 800;
    text-decoration: none;
    border: none !important;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
    z-index: 1;
    cursor: pointer;
    width: 180px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0 !important;
}

.quiz-action-btn:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 992px) {
    .quiz-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    .quiz-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .quiz-action-btn {
        width: 100% !important;
        justify-content: center;
    }
}

/* Estilos para Cards Interativos */
.content-card-wrapper {
    perspective: 1000px;
}

.content-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.content-card.completed {
    border-color: #22c55e;
    background: #f0fdf4;
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0 !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
    z-index: 10;
    margin: 0 !important;
}

.favorite-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ef4444;
    border-color: #fecaca !important;
}

.card-link-area {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.card-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

.complete-btn {
    background: #1ca54e !important;
    color: white !important;
    font-size: 0.8rem !important;
    padding: 0.6rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    margin: 0 !important;
    transition: all 0.2s;
    border: 1px solid #1ca54e !important;
}

.complete-btn:hover {
    background: #168a41 !important;
    border-color: #168a41 !important;
    transform: translateY(-2px) !important;
}

.complete-btn.active {
    background: #168a41 !important; /* Slightly darker green for completed state */
    color: white !important;
    border-color: #168a41 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(28, 165, 78, 0.2) !important;
}

/* Novos estilos para botão externo e modais de conclusão */
.card-external-actions {
    margin-top: 0.75rem;
    width: 100%;
}

.complete-btn-external {
    background: #1ca54e !important;
    color: white !important;
    font-size: 0.85rem !important;
    padding: 0.75rem !important;
    border-radius: 1rem !important;
    width: 100% !important;
    margin: 0 !important;
    transition: all 0.2s;
    border: 1px solid #1ca54e !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.complete-btn-external:hover {
    background: #168a41 !important;
    border-color: #168a41 !important;
    transform: translateY(-2px);
}

.complete-btn-external.active {
    background: #168a41 !important;
    color: white !important;
    border-color: #168a41 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(28, 165, 78, 0.2) !important;
}

.input-clean {
    width: 100%;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1rem !important;
    color: #1e293b !important;
    font-size: 1rem !important;
    transition: all 0.2s;
}

.input-clean:focus {
    border-color: var(--primary) !important;
    background: white !important;
    outline: none;
}

/* Ajustes Finos: Botão Centralizado e Divisores */
.content-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza tudo dentro do wrapper */
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0; /* Linha que separa uma fileira da outra */
}

.complete-btn-external {
    width: auto !important; /* Botão menor */
    min-width: 160px;
    margin: 1rem auto 0 !important; /* Centralizado */
    padding: 0.5rem 1.25rem !important;
    font-size: 0.75rem !important;
    border-radius: 2rem !important; /* Mais arredondado/compacto */
}

/* Cores Customizadas: Botão Verde e Linha Roxa */
.content-card-wrapper {
    border-bottom: 2px solid rgba(74, 44, 109, 0.2); /* Linha Roxa Sutil */
}

.complete-btn-external {
    background: #1ca54e !important;
    color: white !important;
    border: 1px solid #1ca54e !important;
    font-weight: 700 !important;
}

.complete-btn-external:hover {
    background: #168a41 !important;
    border-color: #168a41 !important;
}

.complete-btn-external.active {
    background: #168a41 !important; /* Slightly darker green when completed */
    color: white !important;
    border-color: #168a41 !important;
    box-shadow: 0 4px 12px rgba(28, 165, 78, 0.3) !important;
}

/* Card de Status e Pontuação (Gamificação) Premium */
.stats-banner {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #4a2c6d, #1e3a8a);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    min-height: 160px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(74, 44, 109, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stats-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 44, 109, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.stats-banner::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}


.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.2);
    transform: scale(1.05) rotate(5deg);
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #94a3b8, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@keyframes float-banner {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.stat-item:first-child .stat-icon {
    animation: float-banner 3s ease-in-out infinite;
}

.stat-item:last-child .stat-icon {
    animation: float-banner 3s ease-in-out infinite 1.5s;
}

.btn-ranking-view {
    background: #4A2C6D !important;
    color: white !important;
    width: auto !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.85rem !important;
    border-radius: 0.75rem !important;
    margin-top: 0 !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

/* Estilos para Botão Flutuante de Indicação */
.floating-referral-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    color: #4A2C6D;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 900;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.floating-referral-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(74, 44, 109, 0.2);
    background: #f8fafc;
}

.floating-referral-btn .btn-icon {
    font-size: 1.25rem;
    animation: bounce-in 2s infinite;
}

@keyframes bounce-in {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* Responsividade Mobile */
@media (max-width: 900px) {
    .stats-banner {
        flex-wrap: wrap;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        min-width: 140px;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .stats-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    .stat-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .floating-referral-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    .floating-referral-btn .btn-text {
        display: none; /* Em mobile mostra apenas o ícone para ser discreto */
    }
    .floating-referral-btn {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }
    .floating-referral-btn .btn-text { display: none; }
}

/* Ajuste final para o botão flutuante ser compacto */
.floating-referral-btn {
    width: fit-content !important;
    max-width: 170px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
}

/* Quiz Modal Specific Styles */
.quiz-modal {
    max-width: 600px !important;
    padding: 2.5rem !important;
    background: #f8fafc !important;
    color: #1e293b !important;
}

.quiz-question-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.quiz-options-grid {
    display: grid;
    gap: 1rem;
}

.quiz-option-btn {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 1rem !important;
    text-align: left !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer;
    transition: all 0.2s;
    width: 100% !important;
    margin: 0 !important;
}

.quiz-option-btn:hover {
    border-color: #6366f1 !important;
    background: #f5f3ff !important;
    color: #4338ca !important;
    transform: translateX(5px);
}

.quiz-feedback-area {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
}

#feedbackText {
    color: #475569;
    line-height: 1.6;
    font-size: 1.1rem;
}

.next-quiz-btn {
    margin-top: 1.5rem;
    background: #6366f1 !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s;
    width: auto !important;
}

.next-quiz-btn:hover {
    background: #4f46e5 !important;
    transform: translateY(-2px);
}

/* Ranking Banner Premium Styles */
.ranking-banner {
    background: linear-gradient(135deg, #22225b 0%, #734596 100%);
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(115, 69, 150, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.ranking-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    z-index: 1;
}

.ranking-info {
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ranking-badge {
    background: #ff7e00;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.ranking-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white !important;
}

.ranking-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 600px;
}

/* Container for Top Students */
.ranking-students-container {
    display: flex;
    gap: 1rem;
    z-index: 1;
    justify-content: center;
    align-items: flex-end;
}

.ranking-student {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    min-width: 90px;
    backdrop-filter: blur(5px);
    position: relative;
    transition: transform 0.2s;
}
.ranking-student:hover {
    transform: translateY(-5px);
}
.ranking-student.first-place {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    padding: 1.25rem 1rem; 
}

.ranking-medal {
    font-size: 1.2rem;
    position: absolute;
    top: -15px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ranking-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid white;
}
.first-place .ranking-avatar {
    width: 60px;
    height: 60px;
    border-color: #ffd700;
}

.ranking-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
}

.ranking-score {
    font-size: 0.8rem;
    color: #ff7e00;
    font-weight: 800;
}
.first-place .ranking-score {
    color: #ffd700;
}

@media (max-width: 992px) {
    .ranking-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    .ranking-badge {
        align-self: center;
    }
    .ranking-desc {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }
    .ranking-students-container {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }
}

/* --- Podcasts Layout --- */
.podcasts-container {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
}

.podcasts-header {
    margin-bottom: 1.5rem;
}

.podcast-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    max-width: 400px;
    outline: none;
}

.podcasts-list {
    display: flex;
    flex-direction: column;
}

.podcast-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.podcast-list-item:last-child {
    border-bottom: none;
}

.podcast-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.podcast-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 0.5rem;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: block !important;
}

.site-logo {
    object-fit: contain;
    background: #f8fafc;
    padding: 5px;
}

.podcast-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: #94a3b8;
    min-width: 30px;
    text-align: center;
}

.podcast-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.podcast-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.podcast-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.podcast-author {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.podcast-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.podcast-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listen-btn {
    background: transparent;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.listen-btn:hover {
    border-color: #1e293b;
    background: #f8fafc;
}

.complete-btn {
    background: transparent;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.complete-btn:hover {
    border-color: #1e293b;
    background: #f8fafc;
}

.complete-btn.active {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
}

@media (max-width: 768px) {
    .podcast-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .podcast-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   NOVO CSS RESPONSIVO PARA TABLETS E MOBILE
   (Mantém a estética desktop inalterada, otimiza apenas telas menores)
   ========================================================================== */

/* Substituir regras antigas (max-width: 1200px / 768px) que ocultavam menus */
@media (max-width: 1200px) {
    .hub-container {
        grid-template-columns: 1fr;
    }
    .hub-right {
        display: flex !important; /* Sobrescreve o display: none antigo */
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 1024px) {
    /* Menu Hamburguer e Cabeçalho */
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .hub-header {
        padding: 1rem;
    }

    .header-brand {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .header-logo-img {
        max-width: 150px;
    }

    /* Transformar Left Sidebar em Menu Off-canvas */
    .hub-sidebar {
        display: block !important; /* Sobrescreve antigo display:none */
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        z-index: 9999;
        overflow-y: auto;
        border-radius: 0;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    }

    .hub-sidebar.open {
        left: 0;
    }

    .close-sidebar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(0,0,0,0.05);
        border: none;
        color: #4A2C6D;
        font-size: 2rem;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10000;
        line-height: 1;
    }

    /* Formulários e Modais Mobile */
    .modal-content {
        padding: 1.5rem;
        max-width: 95%;
    }

    .form-grid-clean {
        grid-template-columns: 1fr;
    }

    .goals-grid-clean {
        grid-template-columns: 1fr;
    }

    .profile-card-clean {
        padding: 1.5rem;
    }

    /* Grids e Elementos de Conteúdo Mobile */
    #category-content {
        grid-template-columns: 1fr !important;
    }

    .banner-feature {
        padding: 1.5rem;
    }
    
    .stats-banner, .challenge-banner, .recommendation-banner, .quiz-banner, .ranking-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .challenge-icon, .recommendation-icon, .quiz-icon {
        margin: 0 auto;
    }

    .challenge-action-btn, .recommendation-action-btn, .quiz-action-btn {
        width: 100%;
    }
    
    #monthly-progress-banner > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    #monthly-points-text {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    /* Ajustes refinados para mobile pequeno */
    .login-card {
        padding: 1.5rem;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-img {
        margin: 0 auto;
    }
    .hub-right {
        padding: 1rem;
    }
    .widget-card {
        padding: 1.5rem 1rem 1rem;
    }
    .dictionary-widget {
        margin-top: 2rem;
    }
}

/* Ocultar elementos mobile no Desktop */
@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none !important;
    }
    .close-sidebar-btn {
        display: none !important;
    }
}
