/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #212121;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-red: #ff0000;
    --accent-red-hover: #cc0000;
    --green-success: #22c55e;
    --border-color: #333333;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.app {
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.95);
    position: relative;
}

/* Header */
.header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rewards-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.logo-subtext {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.balance-badge {
  display: flex;
  flex-direction: center;
  background: linear-gradient(to right, rgba(34,197,94,0.2), rgba(16,185,129,0.2)); /* from-green-500/20 to-emerald-500/20 */
  backdrop-filter: blur(4px); /* backdrop-blur-sm */
  padding: 0.6rem 0.8rem; /* px-4 py-2 */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid rgba(74,222,128,0.3); /* border-green-400/30 */
  box-shadow: 0 4px 6px -1px rgba(34,197,94,0.1), 0 2px 4px -2px rgba(34,197,94,0.1); /* shadow-lg shadow-green-500/10 */
}

.balance-text {
  color: rgb(74,222,128); /* text-green-400 */
  font-weight: bold; /* font-bold */
  font-size: 0.675rem; /* text-sm */
  letter-spacing: 0.05em; /* tracking-wide */
}

/* Main Content */
.main {
    flex: 1;
    padding: 20px 16px 100px;
    background: rgba(15, 15, 15, 0.95);
    overflow-y: auto;
    min-height: calc(100vh - 120px);
}

.security-container {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content {
    max-width: 400px;
    margin: 0 auto;
}

/* Brand Logo */
.brand-logo {
    text-align: center;
    margin: 30px 0;
}

.brand-text {
    font-size: 42px;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Video Card */
.video-card {
    background: rgba(33, 33, 33, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.product-display {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for small mobile only */
@media(max-width: 320px){
    .product-display: {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .product-display {
        height: 280px;
    }
    
    .video-card {
        margin-bottom: 16px;
    }
    
    .main {
        padding-bottom: 160px; /* Extra space for button visibility */
    }
    
    .content {
        padding-bottom: 20px;
    }
    
    .action-btn {
        margin-top: 16px;
        position: relative;
        z-index: 50;
    }
    
    .video-info {
        padding: 12px 16px;
    }
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 72px;
    height: 72px;
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.6);
}

.play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

/* Pause Button */
.pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30;
}

.pause-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.pause-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.pause-btn svg {
    width: 28px;
    height: 28px;
}

.pause-btn.hidden {
    display: none;
}

/* Video Info */
.video-info {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.95);
    position: relative;
    z-index: 5;
}

.info-content {
    flex: 1;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.video-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.timer {
    background: var(--accent-red);
    padding: 6px 12px;
    border-radius: 16px;
    min-width: 50px;
    text-align: center;
}

.timer-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.timer.complete {
    background: var(--green-success);
}

/* Action Button */
.action-btn {
    width: 100%;
    background: rgba(33, 33, 33, 0.95);
    color: var(--text-primary);
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
}

.action-btn:hover {
    background: rgba(40, 40, 40, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn.success {
    background: var(--green-success);
}

.action-btn.success:hover {
    background: #1ea750;
}

/* Reward Popup */
.reward-popup-content {
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 350px;
    width: 90%;
    animation: slideInFromBottom 0.4s ease-out;
}

.reward-icon {
    margin-bottom: 25px;
}

.dollar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.dollar-sign {
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.reward-text h2 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.reward-amount {
    color: #10b981;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.reward-subtitle {
    color: #9ca3af;
    font-size: 16px;
    font-weight: 400;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reward-popup-content.closing {
    animation: slideOutToBottom 0.4s ease-in forwards;
}

@keyframes slideOutToBottom {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
}

/* Security Validation Page */
.security-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--bg-primary);
    padding: 20px;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.alert-section {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 1000;
}

.alert-box {
    background: #fff2f2;
    border: 2px solid #ff4757;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content h3 {
    color: #ff4757;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.alert-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #ff6b7a);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #ff4757;
    font-weight: 600;
}

.security-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-title {
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.security-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
}

.security-video-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
}

.security-video-player {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.security-verify-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}

.security-verify-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.security-footer {
    text-align: center;
    margin-top: auto;
    padding: 20px 0;
}

.security-footer p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Bottom Navigation */
.navigation {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    padding: 12px 20px 20px 20px;
    margin-top: auto;
    z-index: 100;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
}

/* Security Page Static Navigation */
.security-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
}

.security-nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
    transition: color 0.2s;
    min-width: 70px;
}

.security-nav-btn.security-active {
    color: var(--accent-red);
}

.security-nav-btn svg {
    width: 24px;
    height: 24px;
}

.security-nav-text {
    font-size: 10px;
    font-weight: 500;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s;
    min-width: 70px;
}

.nav-btn:hover {
    color: var(--text-primary);
}

.nav-btn.active {
    color: var(--accent-red);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.nav-text {
    font-size: 11px;
    font-weight: 500;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 6px 30px rgba(255, 0, 0, 0.6);
    }
}

.play-btn.pulsing {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.video-card {
    animation: fadeIn 0.6s ease-out;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {
    .app {
        max-width: 100%;
        border-radius: 0;
    }
    
    .bottom-nav {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .app {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
}

/* Page Management */
.page {
    display: block;
}

.page.hidden {
    display: none;
}

/* Account Page Styles - Baseado na imagem copiar.png */
.account-container {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* Account Info Card */
.account-info-card {
    background: rgba(33, 33, 33, 0.8);
    border-radius: 16px;
    padding: 24px;
    margin: 40px auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: justify-between
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
    color: var(--accent-red);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
}

.detail-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.balance-value {
    color: var(--green-success);
    font-weight: 600;
    font-size: 16px;
}

.status-active {
  background: linear-gradient(to right, rgba(34,197,94,0.2), rgba(16,185,129,0.2)); /* from-green-500/20 to-emerald-500/20 */
  padding: 0.6rem 0.8rem; /* px-4 py-2 */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid rgba(74,222,128,0.3); /* border-green-400/30 */
  color: rgb(74,222,128);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Withdraw Page Styles - Seguindo padrão do copiar.png */
.withdraw-container {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Balance Info Card */
.balance-info-card {
    background: rgba(33, 33, 33, 0.8);
    border-radius: 16px;
    padding: 24px;
    margin: 40px auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-amount-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-top: 20px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.balance-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--green-success);
}

/* Withdrawal Methods Card */
.withdraw-methods-card {
    background: rgba(33, 33, 33, 0.8);
    border-radius: 16px;
    padding: 24px;
    margin: 30px auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.withdraw-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.method-option {
    background: rgba(40, 40, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.method-option:hover {
    background: rgba(50, 50, 50, 0.7);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.method-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.method-description {
    font-size: 12px;
    color: var(--text-secondary);
}

.method-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.method-time {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.method-arrow {
    color: var(--text-secondary);
}

/* Requirements Card */
.requirements-card {
    background: rgba(33, 33, 33, 0.8);
    border-radius: 16px;
    padding: 24px;
    margin: 30px auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.requirement-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.requirement-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* FAQ Styles */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: rgba(33, 33, 33, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.calendar-icon {
  width: 24px;           /* width="24" */
  height: 24px;          /* height="24" */
  fill: none;            /* fill="none" */
  stroke: currentColor;  /* stroke="currentColor" */
  stroke-width: 2;       /* stroke-width="2" */
  stroke-linecap: round; /* stroke-linecap="round" */
  stroke-linejoin: round;/* stroke-linejoin="round" */
  color: rgb(248,113,113); /* text-red-400 → #f87171 */
}

/* Container do card */
.withdraw-card {
  width: 420px;
  padding: 16px 18px;
  border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, #161a1f 0%, #0f1216 60%, #0c0f13 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #e5e7eb; /* texto padrão */
  font: 500 14px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* Linhas */
.withdraw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
}

/* Rótulos à esquerda */
.withdraw-label {
  color: #cfd6dd;
  letter-spacing: 0.1px;
}

/* Valores à direita */
.withdraw-value {
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Verde destacado */
.withdraw-value-green {
  color: #22c55e;
}

/* Divisor */
.withdraw-divider {
  border: none;
  height: 1px;
  margin: 8px 0 4px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.04) 30%,
    rgba(255,255,255,0.04) 70%,
    rgba(255,255,255,0.06));
  border-radius: 1px;
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 90px;
  border-radius: 12px;

  background: #111; /* fundo escuro */
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #e5e7eb;
  font: 500 14px system-ui, sans-serif;
  cursor: pointer;

  margin-top: 24px;

  transition: all 0.2s ease;
}

/* Ícone */
.option-card .icon {
  font-size: 22px;
  margin-bottom: 6px;
}

/* Texto */
.option-card .label {
  font-size: 14px;
}

/* Estado ativo (vermelho igual ao CPF da imagem) */
.option-card.active {
  background: linear-gradient(145deg, #1a0000, #330000);
  border: 1px solid #991b1b;
  color: #f87171;
}

/* ---------- Base do card ---------- */
.withdraw-card {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, #15181d 0%, #0f1216 60%, #0c0f13 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  font: 500 14px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans";
}

/* ---------- Formulário ---------- */
.withdraw-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

/* ---------- Campo ---------- */
.withdraw-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
}

/* ---------- Rótulo ---------- */
.withdraw-label {
  color: #cfd6dd;
  font-weight: 500;
  font-size: 14px;
}

/* ---------- Input padrão ---------- */
.withdraw-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161a1f; /* fundo escuro do input */
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-input::placeholder {
  color: #9aa3ac;
}

/* Hover / Focus */
.withdraw-input:hover,
.withdraw-input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* ---------- Input com prefixo (U$) ---------- */
.withdraw-input.with-prefix {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0; /* container cuida apenas do layout */
}

.withdraw-prefix {
  flex: 0 0 auto;
  padding: 14px 16px 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161a1f;
  color: #9aa3ac;
  line-height: 1;
}

.withdraw-input-el {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161a1f;
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-input-el:hover,
.withdraw-input-el:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* ---------- Texto auxiliar ---------- */
.withdraw-helper {
  margin-top: 6px;
  color: #9aa3ac;
  font-size: 13px;
}

/* ---------- Botão ---------- */
.withdraw-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: #ef4444;         /* vermelho principal */
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.02s ease-in;
}

.withdraw-submit:hover {
  background: #dc2626;         /* hover mais escuro */
}

.withdraw-submit:active {
  transform: translateY(1px);
}

/* ---------- Acessibilidade (focus) ---------- */
.withdraw-submit:focus-visible,
.withdraw-input:focus-visible,
.withdraw-input-el:focus-visible {
  outline: 2px solid rgba(239, 68, 68, 0.55);
  outline-offset: 2px;
}

.withdraw-input-group {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161a1f;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-input-group:hover,
.withdraw-input-group:focus-within {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* Prefixo */
.withdraw-prefix {
  flex: 0 0 auto;
  padding: 14px 16px;
  background: #161a1f;
  color: #9aa3ac;
  font-weight: 500;
  border: none;
}

.withdraw-input::placeholder {
  color: #9aa3ac;
}

/* Hover / Focus no grupo */
.withdraw-input-group:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.withdraw-input:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Texto auxiliar */
.withdraw-helper {
  margin-top: 6px;
  color: #9aa3ac;
  font-size: 13px;
}

.noborderleft {
    border: none !important;
    background: transparent !important;
    flex: 1;
    padding: 14px 16px;
    color: #e5e7eb;
    outline: none !important;
}

.noborderleft:focus,
.noborderleft:hover,
.noborderleft:focus-within,
.noborderleft:focus-visible,
.noborderleft-el:focus-visible {
    outline: none !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Video Progress Bar */
.video-progress-container {
    width: 100%;
    margin: 20px 0 10px 0;
    padding: 0 4px;
}

.video-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.video-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ef4444, #f87171);
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.video-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 3px 3px 0;
}

/* Video Player */
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 15;
    background: transparent;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: linear-gradient(135deg, #1a1f26 0%, #161b22 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.popup-header h2 {
    color: linear-gradient(135deg, #ef4444, #dc2626) !important;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-align: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    flex-direction: row;
}

.popup-body {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.popup-body p {
    margin: 0 0 12px 0;
}

.popup-features {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-item {
    color: #22c55e;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.popup-footer {
    text-align: center;
}

.popup-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    width: 100%;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

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

.popup-overlay.hidden {
    display: none !important;
}

/* Limit Popup Styles */
.limit-popup {
    border: 2px solid #ef4444;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.limit-popup .popup-header h2 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.limit-icon {
    font-size: 48px;
    text-align: center;
    margin: 16px 0;
    animation: pulse 2s infinite;
}

.limit-info {
    margin-top: 20px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.info-item {
    color: #fbbf24;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

/* Withdraw Security Popup Styles */
.withdraw-popup {
    border: 2px solid #ef4444;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    max-width: 420px;
}

.withdraw-popup .popup-header {
    position: relative;
    padding-bottom: 20px;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
}

.security-lock {
    background-color: rgba(118, 21, 21, 0.69);
    padding: 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-lines {
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: center;
}

.line {
    background-color: #ef4444;
    border-radius: 1px;
}

.line-1 {
    width: 12px;
    height: 2px;
}

.line-2 {
    width: 12px;
    height: 2px;
}

.line-3 {
    width: 12px;
    height: 2px;
}

.youtube-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.youtube-logo {
    width: 24px;
    height: 24px;
    color: #ff0000;
}

.youtube-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.withdraw-popup .popup-header h2 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.security-warning, .security-info, .security-warning-bottom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
}

.security-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.security-info {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.security-warning-bottom {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.security-warning p, .security-info p, .security-warning-bottom p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.security-features {
    margin: 20px 0;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    font-size: 14px;
}

.check-icon {
    color: #22c55e;
    font-size: 16px;
}

.warning-icon {
    color: #f59e0b;
    font-size: 18px;
    flex-shrink: 0;
}

.shield-icon {
    color: #22c55e;
    font-size: 18px;
    flex-shrink: 0;
}

.withdraw-amount-display {
    text-align: center;
    margin: 20px 0 10px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 16px;
}

.verify-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.verify-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.cancel-btn {
    background: transparent;
    border: 1px solid #6b7280;
    color: #9ca3af;
    font-size: 14px;
}

.cancel-btn:hover {
    background: rgba(75, 85, 99, 0.3);
    border-color: #9ca3af;
}

.limit-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.limit-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

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

/* Blocked Interface Styles */
.blocked-content {
    text-align: center;
    color: #fff;
}

.blocked-content h3 {
    font-size: 24px;
    margin: 0 0 8px 0;
    color: #ef4444;
}

.blocked-content p {
    margin: 4px 0;
    color: #9ca3af;
}

