:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #f9fafb;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --text: #f3f4f6;
    --text-light: #9ca3af;
    --bg: #111827;
    --bg-card: #1f2937;
    --border: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding-bottom: 80px;
    transition: var(--transition);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.logo i {
    -webkit-text-fill-color: initial;
    color: var(--primary);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--bg);
    transform: rotate(180deg);
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

/* Streak Card */
.streak-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease;
}

.streak-icon {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.streak-info h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.streak-info p {
    font-size: 0.75rem;
    opacity: 0.9;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Navegação Devocional */
.devocional-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.nav-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-btn:not(.disabled):hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

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

.current-date {
    font-weight: 600;
    font-size: 1rem;
}

/* Devocional Card */
.devocional-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.5s ease;
}

.devocional-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.verse-box {
    background: var(--bg);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary);
}

.verse-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.6;
}

.verse-ref {
    color: var(--text-light);
    font-size: 0.875rem;
}

.reflection h3, .premium-content h4 {
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.reflection p {
    line-height: 1.7;
    color: var(--text);
}

/* Music Player */
.music-player {
    background: var(--bg);
    border-radius: 20px;
    padding: 16px;
    margin: 20px 0;
}

.music-header {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 8px;
}

.music-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.music-info {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Premium */
.premium-content {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.premium-lock {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg);
    border-radius: 20px;
    margin: 20px 0;
}

.premium-lock i {
    font-size: 3rem;
    color: var(--warning);
    margin-bottom: 12px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 16px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 30px;
}

.nav-item i {
    font-size: 1.3rem;
    transition: var(--transition);
}

.nav-item span {
    font-size: 0.65rem;
}

.nav-item.active {
    color: var(--primary);
    background: var(--bg);
}

.nav-item:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

/* Comentários */
.comentarios-section {
    margin-top: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.count {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.comentario-form {
    margin-bottom: 24px;
}

.comentario-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    resize: vertical;
    margin-bottom: 8px;
    transition: var(--transition);
}

.comentario-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comentarios-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comentario-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

.comentario-card:hover {
    transform: translateX(4px);
    border-color: var(--primary);
}

.comentario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comentario-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    overflow: hidden;
}

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

.author-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.comentario-date {
    color: var(--text-light);
    font-size: 0.7rem;
}

.comentario-text p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.comentario-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.action-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edit-btn {
    color: var(--primary);
}

.edit-btn:hover {
    background: var(--bg);
}

.delete-btn {
    color: var(--danger);
}

.delete-btn:hover {
    background: var(--bg);
}

.success-btn {
    color: var(--success);
}

.edit-form {
    margin-top: 12px;
}

.edit-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    resize: vertical;
}

.edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: flex-end;
}

/* Orações */
.oracao-header-page {
    text-align: center;
    margin-bottom: 32px;
}

.oracao-header-page h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.oracoes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oracao-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

.oracao-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.oracao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.oracao-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oracao-date {
    color: var(--text-light);
    font-size: 0.7rem;
}

.oracao-text {
    margin-bottom: 16px;
    line-height: 1.6;
}

.oracao-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.oracao-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.reaction-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-light);
    background: var(--bg);
    transition: var(--transition);
}

.reaction-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

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

/* Perfil */
.profile-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.profile-avatar:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.avatar-overlay i {
    font-size: 1.5rem;
    color: white;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-email {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.plan-badge.premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.plan-badge.free {
    background: var(--text-light);
    color: white;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

.profile-info {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.info-row {
    display: flex;
    margin-bottom: 12px;
}

.info-label {
    width: 90px;
    font-weight: 600;
    color: var(--text-light);
}

.info-value {
    flex: 1;
}

/* Planos */
.plans-header {
    text-align: center;
    margin-bottom: 32px;
}

.plans-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plans-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border: 2px solid var(--primary);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 12px 0;
}

.currency {
    font-size: 1rem;
}

.value {
    font-size: 2.5rem;
    font-weight: 800;
}

.plan-features {
    list-style: none;
    margin: 20px 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.plan-features i {
    color: var(--success);
    width: 20px;
}

/* Receitas */
.receitas-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.receita-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.receita-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.receita-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.receita-header h3 {
    font-size: 1.1rem;
}

.receita-problema {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.receita-ingredientes, .receita-preparo, .receita-beneficio {
    margin-top: 16px;
}

.receita-ingredientes h4, .receita-preparo h4, .receita-beneficio h4 {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.premium-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
}

.receita-lock {
    text-align: center;
    padding: 30px;
    background: var(--bg);
    border-radius: 16px;
    margin: 16px 0;
}

.receita-lock i {
    font-size: 2rem;
    color: var(--warning);
    margin-bottom: 12px;
}

/* Alertas */
.alert {
    padding: 12px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: #10b98120;
    color: #10b981;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #ef444420;
    color: #ef4444;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: #f59e0b20;
    color: #f59e0b;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #3b82f620;
    color: #3b82f6;
    border-left: 4px solid #3b82f6;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    border-radius: 28px;
    max-width: 500px;
    width: 100%;
    padding: 24px;
    animation: modalIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    resize: vertical;
    margin-bottom: 16px;
}

.checkbox-group {
    margin-bottom: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Formulários */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Histórico */
.historico-section {
    margin-top: 24px;
}

.historico-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.historico-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.historico-item:hover {
    transform: translateX(4px);
    border-color: var(--primary);
}

.historico-item .date {
    font-weight: 600;
    color: var(--text);
}

.historico-item .title {
    color: var(--text-light);
    font-size: 0.875rem;
}

.historico-item.active {
    border-color: var(--primary);
    background: var(--bg);
}

/* Login/Cadastro */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.auth-container {
    max-width: 400px;
    width: 100%;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.auth-form .form-group {
    position: relative;
}

.auth-form .form-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.auth-form .form-group input {
    padding-left: 44px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .streak-card {
        padding: 16px;
    }
    
    .streak-icon {
        font-size: 2rem;
    }
    
    .streak-info h2 {
        font-size: 1.5rem;
    }
    
    .verse-text {
        font-size: 0.95rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
}/* ============================================
   COMENTÁRIOS - ESTILO MODERNO (INSTAGRAM/WHATSAPP)
   ============================================ */

.comentarios-section {
    margin-top: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.count-badge {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Formulário de comentário estilo moderno */
.comentario-form-moderno {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 12px;
    border-radius: 28px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.comentario-form-moderno:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-avatar {
    flex-shrink: 0;
}

.avatar-comentario {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-comentario-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.form-input-wrapper {
    flex: 1;
    position: relative;
}

.form-input-wrapper textarea {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: none;
    background: var(--bg);
    border-radius: 28px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
    resize: none;
    line-height: 1.4;
    transition: all 0.2s;
}

.form-input-wrapper textarea:focus {
    outline: none;
    background: var(--bg);
}

.send-btn {
    position: absolute;
    right: 12px;
    bottom: 8px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s;
}

.send-btn:hover {
    transform: scale(1.1);
    color: var(--secondary);
}

/* Lista de comentários */
.comentarios-list-moderno {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comentario-moderno {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.3s ease;
}

.comentario-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder-moderno {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.comentario-conteudo {
    flex: 1;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.comentario-conteudo:hover {
    border-color: var(--primary);
}

.comentario-header-moderno {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.autor-nome {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}

.comentario-tempo {
    font-size: 0.7rem;
    color: var(--text-light);
}

.comentario-actions-moderno {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.action-edit, .action-delete {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
}

.action-edit:hover {
    color: var(--primary);
    background: var(--bg);
}

.action-delete:hover {
    color: var(--danger);
    background: var(--bg);
}

.comentario-texto p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
    word-break: break-word;
}

/* Formulário de edição */
.edit-form-moderno {
    margin-top: 12px;
}

.edit-form-moderno textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
}

.edit-actions-moderno {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: flex-end;
}

.btn-save {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* Empty state */
.empty-comments {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-card);
    border-radius: 28px;
    border: 1px solid var(--border);
}

.empty-comments i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-comments p {
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text);
}

.empty-comments span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.login-to-comment {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 28px;
    border: 1px solid var(--border);
}

.login-to-comment i {
    font-size: 1.5rem;
    color: var(--warning);
    margin-bottom: 8px;
}

.login-to-comment a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   MODAL DE ORAÇÃO - ESTILO BONITO
   ============================================ */

.modal-oracao {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-oracao-content {
    background: var(--bg-card);
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    padding: 0;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

.modal-oracao-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-oracao-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.modal-oracao-header h3 i {
    color: var(--primary);
}

.modal-oracao-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-oracao-close:hover {
    background: var(--bg);
    transform: rotate(90deg);
}

.modal-oracao-body {
    padding: 24px;
}

.modal-oracao-body textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.2s;
}

.modal-oracao-body textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modal-oracao-body textarea::placeholder {
    color: var(--text-light);
    font-style: italic;
}

.checkbox-anonimo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 12px;
    background: var(--bg);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-anonimo:hover {
    background: var(--bg-card);
}

.checkbox-anonimo input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-anonimo span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.checkbox-anonimo span i {
    margin-right: 6px;
    color: var(--primary);
}

.modal-oracao-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-modal-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-modal-secondary {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 14px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-secondary:hover {
    border-color: var(--danger);
    color: var(--danger);
}

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

/* Auto-resize para textarea */
.form-input-wrapper textarea {
    overflow: hidden;
}