        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }
        
        /* Replace the body styles */
body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    min-height: 100vh;
    padding: 20px;
}
        
        .container {
            max-width: 900px;
            margin: 0 auto;
        }

.centered-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}
        
        header {
            text-align: center;
            padding: 30px 20px;
            margin-bottom: 30px;
        }
        
        .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-img {
    height: 56px; /* Adjust based on your logo */
    width: auto;
    max-width: 100px; /* Prevent oversized logos */
    object-fit: contain;
}


        
        h1 {
    font-size: 2.8rem;
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.tagline {
    color: #475569;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
        
        .card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
        }
        
        h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2 i {
    color: #f59e0b;
}
        
        .auth-section, .balance-section, .earn-section, .withdraw-section, .help-section {
            display: none;
        }
        
        .auth-section.active, .balance-section.active, .earn-section.active, .withdraw-section.active, .help-section.active {
            display: block;
        }
.auth-instruction {
    margin-bottom: 25px;
    color: #475569;
    line-height: 1.6;
}
        
.wallet-input, .withdraw-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 20px;
}

.wallet-input:focus, .withdraw-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background: white;
}

/* Wallet Suggestions Styles */
.wallet-suggestions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(203, 213, 225, 0.3);
}

.suggestion-title {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-title i {
    color: #f59e0b;
}

.wallet-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.wallet-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wallet-link:hover {
    background: white;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.play-badge {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.wallet-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
}

.suggestion-note {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 8px;
}

.suggestion-note i {
    color: #f59e0b;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .wallet-link {
        padding: 8px 12px;
    }
    
    .play-badge {
        height: 25px;
    }
    
    .wallet-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .wallet-links {
        gap: 8px;
    }
    
    .wallet-link {
        padding: 8px 10px;
    }
    
    .play-badge {
        height: 22px;
    }
}

/* Logout Button Styles */
.logout-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.logout-btn:active {
    transform: translateY(1px);
}

/* Verification Section Styles */
.verification-box {
    background: rgba(248, 250, 252, 0.9);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.website-link-display {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f59e0b;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    word-break: break-all;
    border: 1px solid #cbd5e1;
    text-decoration: none;
}

.website-link-display:hover {
    background: #f8fafc;
    border-color: #f59e0b;
}

.instruction {
    color: #475569;
    margin: 15px 0;
    font-size: 1rem;
}

.verification-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.verification-buttons .button {
    flex: 1;
    padding: 12px;
}

.cancel-btn {
    background: #64748b !important;
}

.cancel-btn:hover {
    background: #475569 !important;
    box-shadow: 0 7px 15px rgba(100, 116, 139, 0.4) !important;
}

.hint {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 15px;
}

.success-box {
    text-align: center;
    padding: 30px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    border: 1px solid #10b981;
}

.success-box h3 {
    color: #10b981;
    margin: 15px 0;
    font-size: 1.5rem;
}

#earn-more-btn {
    margin-top: 20px;
    background: linear-gradient(to right, #10b981, #34d399);
}

#earn-more-btn:hover {
    box-shadow: 0 7px 15px rgba(16, 185, 129, 0.4);
}
        
       .button {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(245, 158, 11, 0.4);
}

.button:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
        
        .button:active {
            transform: translateY(0);
        }
        

.tutorial-btn {
    margin-top: 15px;
    width: 100%;
}
.tutorial-btn:hover {
    box-shadow: 0 7px 15px rgba(255, 0, 0, 0.3) !important;
}
        

.balance-label {
    color: #475569;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 5px;
}
        
        .stats {
            display: flex;
            justify-content: space-between;
            background: rgba(15, 23, 42, 0.7);
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
      }
        
        .stat-item {
            text-align: center;
            flex: 1;
        }
        
        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: #fbbf24;
        }
        
        .stat-label {
            color: #cbd5e1;
            font-size: 0.9rem;
            margin-top: 5px;
        }
        
        .claim-button {
            width: 100%;
            padding: 20px;
            font-size: 1.3rem;
            margin: 20px 0;
        }

/* Balance USD Display */
.balance-container {
    text-align: center;
    margin: 20px 0;
}

.balance-display {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1.2;
}

.usd-balance {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 5px;
    font-weight: 500;
    text-align: center;
}

/* Refer Section Styles */
.refer-section {
    display: none;
}

.refer-section.active {
    display: block;
}

.refer-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.refer-stat-box {
    flex: 1;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Completely remove from layout */
.refer-stat-box:first-child {
    display: none;
}

/* Adjust the remaining box to take full width if needed */
.refer-stats {
    justify-content: center;
}

.refer-stat-box:last-child {
    width: 100%;
    max-width: 300px; /* Adjust as needed */
}

.refer-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1.2;
}

.refer-stat-label {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 5px;
}

.refer-code-box, .refer-input-box {
    background: rgba(248, 250, 252, 0.9);
    border-radius: 12px;
    padding: 12px;
       text-align:center;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.refer-label {
    color: #475569;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Update these existing styles in styles.css */

.code-display-group {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.code-display {
    flex: 1 1 200px; /* Allows it to shrink but not too small */
    padding: 12px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    color: #f59e0b;
    font-weight: 600;
}

.copy-btn {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

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

.refer-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.refer-input {
    flex: 1 1 200px;
    padding: 12px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}

.refer-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.refer-submit-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.refer-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.refer-submit-btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Add to your existing styles.css */

/* Reduce size on mobile devices */
@media (max-width: 768px) {
    .refer-code-box, 
    .refer-input-box {
        padding: 15px; /* Reduce padding */
    }
    
    .code-display-group,
    .refer-input-group {
        gap: 8px; /* Reduce gap */
    }
    
    .code-display,
    .refer-input {
        padding: 10px; /* Smaller padding */
        font-size: 0.95rem; /* Slightly smaller font */
        min-width: 120px; /* Smaller minimum width */
    }
    
    .copy-btn,
    .refer-submit-btn {
        padding: 10px 15px; /* Smaller padding */
        font-size: 0.9rem; /* Smaller font */
        min-width: auto; /* Remove min-width */
    }
    
    .copy-btn {
        padding: 0 15px; /* Adjust copy button padding */
    }
    
    .refer-label {
        font-size: 0.95rem; /* Smaller label */
        margin-bottom: 8px; /* Reduce margin */
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .refer-code-box,
    .refer-input-box {
        padding: 12px; /* Even smaller padding */
    }
    
    .code-display,
    .refer-input {
        padding: 8px; /* Even smaller padding */
        font-size: 0.9rem; /* Even smaller font */
    }
    
    .copy-btn,
    .refer-submit-btn {
        padding: 8px 12px; /* Even smaller padding */
        font-size: 0.85rem; /* Even smaller font */
    }
    
    .copy-btn i,
    .refer-submit-btn i {
        font-size: 0.8rem; /* Smaller icons */
    }
}

/* Fix for very small screens (foldables, etc) */
@media (max-width: 360px) {
    .code-display,
    .refer-input {
        font-size: 0.8rem; /* Smallest font */
        padding: 6px; /* Minimal padding */
    }
    
    .copy-btn,
    .refer-submit-btn {
        padding: 6px 10px; /* Minimal padding */
        font-size: 0.75rem; /* Smallest font */
    }
}

.refer-note {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.refer-note i {
    color: #f59e0b;
}

.refer-history {
    margin-top: 30px;
}

.refer-history h3 {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.referral-item {
    background: rgba(248, 250, 252, 0.9);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.referral-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
}

.referral-summary {
    margin-top: 15px;
    padding: 15px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
        
        
        table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #f8fafc;
    color: #f59e0b;
    font-weight: 600;
}

tr:hover {
    background-color: #f8fafc;
}
        
        .status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-completed {
    background-color: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
        
        .withdraw-form {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        
        
        
        .help-content {
            line-height: 1.6;
        }
        
        .help-content p {
            margin-bottom: 15px;
        }
        
        .help-content ul {
            margin-left: 20px;
            margin-bottom: 20px;
        }
        
        .help-content li {
            margin-bottom: 8px;
        }
        
.email-contact {
    background: rgba(248, 250, 252, 0.9);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.email-contact a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
}

.email-contact a:hover {
    text-decoration: underline;
}

.min-withdraw {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 10px;
}

.claim-info {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 10px;
}
        
      .notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    background: #10b981;
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.5s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #ef4444;
}

.notification.warning {
    background: #f59e0b;
}
        
        footer {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 20px;
}
        
        .nav-tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .nav-tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.nav-tab:hover {
    background: rgba(248, 250, 252, 0.9);
    border-color: #cbd5e1;
}

.nav-tab.active {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: white;
    border-color: transparent;
}
        
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            .logo-img {
        height: 70px; /* Smaller on mobile */
    }
    
    .logo {
        gap: 6px; /* Less gap on mobile */
    }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .card {
                padding: 20px;
            }
            
            .stats {
                flex-direction: column;
                gap: 15px;
            }
            
            .withdraw-form {
                flex-direction: column;
            }
            
            .balance-display {
                font-size: 2.8rem;
            }
        }
