/* Reset Básico e Configuração da Fonte */
:root {
    --gradient-primary: linear-gradient(135deg, hsl(280 100% 60%), hwb(187 22% 6%));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: #0d0d0d; color: #fff; -webkit-tap-highlight-color: transparent; }

/* Sistema de Telas */
.app-screen { display: none; }
.app-screen.active-screen { display: block; }
#feed-screen { background-color: #000; }

/* --- TELA DE FEED --- */
.app-container { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #000; }
.video-background { position: absolute; inset: 0; }
.video-player { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, rgba(0, 0, 0, 0.2)); pointer-events: none; }
.loading-overlay { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); }
.loader-icon { width: 3rem; height: 3rem; color: white; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.balance-header { position: absolute; top: 1.5rem; left: 1rem; z-index: 20; }
.balance-box { display: flex; align-items: center; background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(12px); border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); overflow: hidden; }
.balance-usd, .balance-brl { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: white; }
.balance-brl { background-image: var(--gradient-primary); }
.balance-arrow { padding: 0 0.5rem; color: white; font-size: 0.75rem; background-color: rgba(255, 255, 255, 0.1); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 0.5rem; }
.video-actions { position: absolute; right: 1rem; bottom: 8rem; z-index: 20; display: flex; flex-direction: column; gap: 1rem; }
.action-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.action-button { width: 3rem; height: 3rem; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.2); color: white; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s; }
.action-button:hover { background-color: rgba(255, 255, 255, 0.2); }
.action-button svg { width: 1.5rem; height: 1.5rem; }
.action-label { color: white; font-size: 0.75rem; font-weight: 500; }
.video-info { position: absolute; bottom: 1.5rem; width: 100%; padding: 0 1rem; z-index: 20; }
.creator-info { display: flex; align-items: center; gap: 0.75rem; }
.creator-avatar { width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid white; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.creator-handle { display: flex; align-items: center; gap: 0.5rem; }
.creator-handle h3 { color: white; font-weight: 600; }
.verified-icon { width: 1rem; height: 1rem; color: #3b82f6; }
.super-video-badge { background-image: var(--gradient-primary); color: white; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 9999px; font-weight: 700; }

/* Modais e Animações */
.modal-container { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.modal-content { position: relative; z-index: 10; width: 100%; max-width: 24rem; margin: 0 1rem; background-color: black; backdrop-filter: blur(12px); border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); animation: fade-in 0.3s ease-out; }
.modal-body { padding: 1.5rem; text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.modal-title { font-size: 1.875rem; font-weight: 700; }
.modal-text { color: rgba(255, 255, 255, 0.7); }
.text-highlight { font-weight: 700; color: #4ade80; }
.modal-button { width: 100%; background-image: var(--gradient-primary); color: white; font-weight: 600; padding: 0.75rem 0; border: none; border-radius: 0.75rem; cursor: pointer; transition: filter 0.2s; font-size: 0.875rem; }
.modal-button:hover { filter: brightness(0.9); }
@keyframes fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.next-video-container { position: absolute; bottom: 5rem; left: 50%; transform: translateX(-50%); z-index: 60; display: none; }
#next-video-button { background-image: var(--gradient-primary); padding: 0.75rem 1.5rem; border-radius: 9999px; animation: fade-in 0.3s ease-out; }
.floating-reward { position: absolute; top: 6rem; left: 1rem; z-index: 30; background-color: #22c55e; color: white; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); pointer-events: none; animation: float-up 2s ease-out forwards; }
@keyframes float-up { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-50px); opacity: 0; } }
.modal-container-center { position: fixed; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; padding: 1rem; pointer-events: none; }
.video-completed-content { pointer-events: all; background-color: rgba(20, 20, 20, 0.8); backdrop-filter: blur(12px); border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); padding: 1.5rem; width: 100%; max-width: 24rem; text-align: center; animation: fade-in 0.3s ease-out; display: flex; flex-direction: column; gap: 1rem; }
.completed-title { font-size: 2.25rem; font-weight: 700; color: white; }
.completed-subtitle { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); margin-top: -0.5rem; }
.reward-display { background-color: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.75rem; padding: 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.reward-usd { font-size: 1.25rem; font-weight: 600; color: #4ade80; }
.reward-arrow { width: 1.5rem; height: 1.5rem; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.875rem; }
.reward-brl { font-size: 2.25rem; font-weight: 700; color: #4ade80; }
.instruction-box { background-color: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.75rem; padding: 0.75rem 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.hand-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* --- ESTILOS DAS OUTRAS TELAS --- */
.screen-container { max-width: 24rem; margin: 0 auto; padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; }
.screen-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.back-button { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: white; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.screen-title { font-size: 1.5rem; font-weight: 700; color: white; }
.balance-summary-card { background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(12px); border-radius: 1rem; padding: 1.5rem; text-align: center; color: white; border: 1px solid rgba(255, 255, 255, 0.1); }
.balance-summary-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; }
.balance-summary-card strong { font-size: 2.25rem; font-weight: 700; line-height: 1.2; color: #4ade80; }
.balance-summary-card span { font-size: 0.875rem; color: #bbf7d0; }

/* Formulário PIX & Saque */
.pix-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { color: rgba(255, 255, 255, 0.7); font-size: 0.75rem; font-weight: 500; }
.form-group input, .select-wrapper select { background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); color: white; border-radius: 0.5rem; height: 3rem; padding: 0 0.75rem; font-size: 1rem; }
.select-wrapper { position: relative; }
.select-wrapper::after { content: '▼'; position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; }
.select-wrapper select { width: 100%; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.error-message { color: #f87171; font-size: 0.75rem; margin-top: 0.25rem; }
.form-button { background-image: var(--gradient-primary); color: white; font-weight: 600; padding: 0.75rem 0; border-radius: 0.75rem; cursor: pointer; border: none; }
.form-button:disabled { opacity: 0.5; cursor: not-allowed; }
.pix-key-display { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.5rem; }
.pix-key-display svg { width: 1rem; height: 1rem; }
.input-with-currency { position: relative; }
.input-with-currency .currency-symbol { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.7); font-weight: 700; font-size: 1.25rem; }
.input-with-currency input { padding-left: 3.5rem; font-size: 1.25rem; font-weight: 700; }
.max-button { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: hsl(280, 100%, 70%); font-weight: 600; cursor: pointer; }
.withdraw-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.amount-option { background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); color: white; padding: 0.75rem; border-radius: 0.5rem; cursor: pointer; }

/* Caixas de Informação */
.info-box-yellow, .info-box-red, .info-box-blue { border-radius: 1rem; padding: 1rem; font-size: 0.875rem; line-height: 1.5; display: flex; gap: 0.75rem; align-items: flex-start; }
.info-box-yellow { background-color: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.2); color: #fde68a; font-size: 0.75rem; }
.info-box-red { background-color: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: rgba(255, 255, 255, 0.8); }
.info-box-red strong { color: #fca5a5; }
.info-box-blue { background-color: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); color: #bfdbfe; }
.info-box-blue p { font-size: 0.75rem; }
.info-box-blue strong { font-weight: 600; }
.secure-transaction-box { background-color: rgba(255, 255, 255, 0.05); border-radius: 0.75rem; padding: 1rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); text-align: center; }

/* Tela de Processamento */
.processing-screen { text-align: center; justify-content: center; min-height: 100vh; }
.processing-header { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.processing-header h1 { font-size: 1.5rem; font-weight: 700; }
.processing-header p { color: rgba(255, 255, 255, 0.7); }
.processing-header strong { color: #4ade80; }
.processing-icon-bg { width: 5rem; height: 5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background-image: var(--gradient-primary); animation: pulse-glow 2s infinite; }
.progress-section { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.progress-bar-container { width: 100%; height: 1rem; background-color: rgba(255, 255, 255, 0.1); border-radius: 9999px; overflow: hidden; }
.progress-bar { height: 100%; background-image: var(--gradient-primary); width: 0%; transition: width 0.5s ease-out; }
#progress-percent { font-size: 1.125rem; font-weight: 600; }
#progress-message { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.transaction-details { background: rgba(20, 20, 20, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.detail-item { display: flex; justify-content: space-between; font-size: 0.875rem; }
.detail-item span { color: rgba(255, 255, 255, 0.7); }
.detail-item strong { font-weight: 500; }
.security-icons { display: flex; justify-content: center; gap: 1.5rem; padding-top: 1rem; }
.security-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.security-item .icon-bg { width: 3rem; height: 3rem; background: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.security-item .icon-bg svg { width: 1.5rem; height: 1.5rem; color: rgba(255, 255, 255, 0.7); }
.security-item span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.footer-note { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); }

/* --- TELA DE VALIDAÇÃO DE TAXA (REFEITA) --- */
.hidden { display: none !important; }
.vsl-container { width: 100%; margin: 1rem 0; border-radius: 0.75rem; overflow: hidden; line-height: 0; }
#error-validation-screen { background-color: #f0f2f5; }
.validation-page { max-width: 100%; }
.validation-screen { background-color: #1c1c1e; color: white; padding-bottom: 2rem; }
.validation-header { display: flex; /* Adicionado para permitir alinhamento */ flex-direction: column; gap: 1rem; text-align: center; align-items: center; /* NOVO */ }
.warning-icon-bg { width: 4rem; height: 4rem; background-color: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.warning-icon { width: 2rem; height: 2rem; color: #f87171; }
.warning-icon-small { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.steps-section h3 { font-weight: 600; margin-bottom: 0.75rem; color: white; }
.steps-section ul { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.steps-section li { background-color: rgba(255, 255, 255, 0.05); border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); display: flex; align-items: center; gap: 0.75rem; }
.steps-section li svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: #9ca3af; }
.form-button-green { background-color: rgba(74, 222, 128, 0.9); color: white; font-weight: 700; padding: 1rem 0; border-radius: 0.75rem; cursor: pointer; border: none; font-size: 1.125rem; animation: pulse-glow 2s infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 10px rgba(74, 222, 128, 0.3); } 50% { box-shadow: 0 0 25px rgba(74, 222, 128, 0.7); } }
.refund-text { text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }

/* Seção de Comentários */
.comments-section-container { padding: 1rem; background-color: white; color: #333; }
.comments-section { max-width: 24rem; margin: 0 auto; }
.comments-section h3 { font-weight: 500; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; margin-bottom: 1rem; font-size: 1rem; }
.comment-item, .comment-reply { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.comment-reply { margin-left: 2.5rem; }
.comment-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.comment-avatar-reply { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }
.comment-body { flex-grow: 1; }
.comment-content { background-color: #f0f2f5; border-radius: 1rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; }
.comment-author { font-weight: 700; color: #365899; }
.comment-actions { font-size: 0.75rem; color: #606770; padding-left: 0.75rem; margin-top: 0.25rem; }
.comment-actions span { cursor: pointer; }
.comment-actions span:hover { text-decoration: underline; }

/* Notificação de Prova Social */
#social-proof-notifications { position: fixed; bottom: 1rem; left: 1rem; z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; }
.social-proof-notification { background-color: white; color: #333; border-radius: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: flex; align-items: center; padding: 0.5rem 0.75rem; animation: slide-in-out 5s ease-in-out forwards; opacity: 0; }
.social-proof-notification .icon { width: 1.5rem; height: 1.5rem; background-color: #22c55e; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 0.75rem; }
.social-proof-notification .icon svg { width: 0.75rem; height: 0.75rem; }
.social-proof-notification .text .author { font-weight: 700; font-size: 0.875rem; }
.social-proof-notification .text .action { font-size: 0.875rem; }
.social-proof-notification .time { font-size: 0.75rem; color: #9ca3af; margin-left: 0.5rem; white-space: nowrap; }
@keyframes slide-in-out { 0%, 100% { opacity: 0; transform: translateY(20px); } 10%, 90% { opacity: 1; transform: translateY(0); } }