/* Crypto Faucet - Custom Styles */
:root {
    --primary: #6366f1;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --light: #f8fafc;
    --dark: #1e293b;
    --purple: #8b5cf6;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
/* Overlay e posicionamento para legibilidade */
.hero-section { position: relative; overflow: hidden; }
.hero-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%); pointer-events: none; }
.hero-section * { position: relative; z-index: 1; }

.hero-stats {
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    background: #fff;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
}

.feature-icon i {
    color: #fff;
}

/* Payment Proofs */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.card-header {
    background: #fff;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    padding: 1.5rem;
}

/* Stats Section */
.stat-item {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    background: #fff;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236766f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background: #f8fafc;
    border-left: 4px solid var(--primary);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border: none;
}

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

.btn-light {
    background: #fff;
    color: var(--primary);
    border: none;
}

.btn-light:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand i {
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .nav-link {
    color: #e5e7eb !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: #ffffff !important;
}
/* Auto-contraste para textos em fundos claros/escuros */
.bg-light .text-white { color: var(--dark) !important; }
.bg-dark .text-muted { color: rgba(241,245,249,0.75) !important; }
.bg-dark p, .bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6, .bg-dark small { color: #f1f5f9; }
/* Legibilidade avançada em hero */
.hero-section .display-4 { color: #111827; text-shadow: none; }
.hero-section .lead { color: #1f2937; text-shadow: none; }

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary) !important;
}

/* Payment Proof Styles */
.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
}

.stats-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.stats-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-payments-container {
    max-height: 300px;
    overflow-y: auto;
}

.live-payment-item {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.live-payment-item:hover {
    background-color: #f8fafc;
}

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

.trust-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    border-radius: 16px;
}

.trust-item {
    padding: 1.5rem;
}

.trust-item i {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item h5 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--secondary);
    font-size: 0.9rem;
}

.table-custom th {
    background: #f8fafc;
    color: var(--dark);
    font-weight: 600;
    padding: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.table-custom td {
    padding: 1rem;
    vertical-align: middle;
}

.transaction-id {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
}

.user-email {
    font-weight: 500;
    color: var(--dark);
}

/* Custom Utilities */
.text-purple {
    color: var(--purple) !important;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rounded-3 {
    border-radius: 12px !important;
}
/* Suporte básico a modo escuro do sistema */
@media (prefers-color-scheme: dark) {
    body { color: #e5e7eb; }
    .card { background: #0f172a; color: #e5e7eb; }
    .card-header { background: #0b1220; border-bottom-color: #1f2937; }
    .table-custom th { background: #0b1220; color: #e5e7eb; }
    .table-custom tr:hover { background: #0b1220; }
}
/* Botões do hero com melhor contraste */
.hero-section .btn-outline-light {
    color: #111827;
    border: 2px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .card-header .row > div {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 2px;
}

/* Claim Timer */
.timer-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    background: #f8fafc;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

/* Currency Selector */
.currency-selector {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1.1rem;
    background: #fff;
    transition: all 0.3s ease;
}

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

/* Dashboard Cards */
.dashboard-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Referral Link */
.referral-link {
    background: #f8fafc;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #374151;
}

/* Alert Styles */
.alert-custom {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.alert-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.alert-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
}

/* Table Styles */
.table-custom {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table-custom th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    border: none;
    padding: 1rem;
}

.table-custom td {
    padding: 1rem;
    border-color: #e5e7eb;
    vertical-align: middle;
}

.table-custom tr:hover {
    background: #f8fafc;
}

/* Form Styles */
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Badge Styles */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge-success {
    background: var(--success);
    color: #fff;
}

.badge-warning {
    background: var(--warning);
    color: #fff;
}

.badge-danger {
    background: var(--danger);
    color: #fff;
}

.badge-info {
    background: var(--info);
    color: #fff;
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}

.progress-bar {
    border-radius: 4px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 2px solid #e5e7eb;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 2px solid #e5e7eb;
    padding: 1.5rem;
}

/* Social Media Icons */
.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Countdown Timer */
.countdown {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive Images */
.img-fluid {
    border-radius: 12px;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}

/* Referral Program Styles */
.referral-stat {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.referral-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.referral-stat .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
}

.referral-stat .stat-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.referral-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.referral-stat .stat-label {
    color: var(--secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Referral Link Input */
.referral-input-group {
    position: relative;
}

.referral-input-group .form-control {
    padding-right: 120px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.referral-input-group .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

/* Referral Table */
.referral-table th {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--dark);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.referral-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #e5e7eb;
}

.referral-table tr:hover {
    background: #f8fafc;
}

/* Referral Status Badges */
.badge-referral-active {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
}

.badge-referral-inactive {
    background: linear-gradient(135deg, var(--secondary), #475569);
    color: #fff;
}

/* Referral Commission Highlight */
.commission-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-left: 4px solid var(--success);
}

/* Referral Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.share-button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.share-facebook {
    background: linear-gradient(135deg, #1877f2, #0e5cad);
    color: #fff;
}

.share-twitter {
    background: linear-gradient(135deg, #1da1f2, #0c85d0);
    color: #fff;
}

.share-telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #fff;
}

.share-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

/* Responsive Referral */
@media (max-width: 768px) {
    .referral-stat {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .referral-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .referral-input-group .btn {
        position: static;
        transform: none;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .referral-input-group .form-control {
        padding-right: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
}
/* Contrast fixes and outline button visibility */
.bg-white .text-white { color: var(--dark) !important; }
.bg-light .text-white { color: var(--dark) !important; }
.card .text-white { color: var(--dark) !important; }
.modal-content .text-white { color: var(--dark) !important; }
.table .text-white, .table-custom .text-white { color: var(--dark) !important; }

.btn-outline-light {
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.bg-purple{background-color:#6d28d9!important;color:#fff!important}
.bg-teal{background-color:#0d9488!important;color:#fff!important}
.bg-pink{background-color:#db2777!important;color:#fff!important}
.card.bg-purple .card-body h5,.card.bg-purple .card-body h2,
.card.bg-teal .card-body h5,.card.bg-teal .card-body h2,
.card.bg-pink .card-body h5,.card.bg-pink .card-body h2{color:#fff!important}
.card.bg-primary .card-body h5,.card.bg-primary .card-body h2,
.card.bg-success .card-body h5,.card.bg-success .card-body h2,
.card.bg-info .card-body h5,.card.bg-info .card-body h2,
.card.bg-warning .card-body h5,.card.bg-warning .card-body h2{color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.25)}
.card[class*="bg-"]{border:none;}
