:root {
    --primary: #f3a31c;
    --primary-dark: #cc8400;
    --dark: #0f1114;
    --dark-grey: #1a1e23;
    --light: #f5f5f5;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-glow: 0 0 15px rgba(243, 163, 28, 0.4);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--dark);
    color: var(--white);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 35, 45, 0.8) 0%, rgba(15, 17, 20, 1) 100%);
    z-index: -1;
}

.bg-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f1114;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(243, 163, 28, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 81, 0.05) 0%, transparent 50%),
        url('https://w0.peakpx.com/wallpaper/582/82/HD-wallpaper-pubg-mobile-poster-smoke-background-black-orange-pubg-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    filter: blur(2px);
}

.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
}

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

.logo svg {
    filter: drop-shadow(0 0 8px var(--primary));
    margin-left: 10px;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo h1 span {
    color: var(--primary);
}

.live-stats {
    background: var(--glass);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Steps System */
.step {
    display: none;
    animation: slideIn 0.4s ease-out forwards;
}

.step.active {
    display: block;
}

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

/* Card Styling */
.card {
    background: rgba(25, 28, 33, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.card-header {
    background: rgba(243, 163, 28, 0.1);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.card-header h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.card-header p {
    font-size: 0.9rem;
    color: #aaa;
}

.card-body {
    padding: 25px;
}

/* Form Elements */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: #ddd;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--gold-glow);
}

.platform-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.platform-option {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-en);
}

.platform-option i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #888;
}

.platform-option.active {
    background: rgba(243, 163, 28, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.platform-option.active i {
    color: var(--primary);
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: #111;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--gold-glow);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* UC Grid */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.uc-option {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 20px 10px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.uc-image-container {
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.uc-coin {
    width: 50px;
    height: 50px;
    transition: all 0.3s;
    filter: drop-shadow(0 0 5px rgba(243, 163, 28, 0.4));
}

.uc-image-container img {
    height: 50px;
    transition: all 0.3s;
    filter: drop-shadow(0 0 5px rgba(243, 163, 28, 0.3));
}

.stacked {
    position: absolute;
    width: 45px;
    height: 45px;
    top: 5px;
    left: 55%;
    transform: rotate(15deg);
    z-index: -1;
    opacity: 0.8;
}

.pile {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 0 10px rgba(243, 163, 28, 0.6));
}

.mega-pile {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 15px rgba(243, 163, 28, 0.8));
}

.uc-option:hover .uc-coin {
    transform: translateY(-5px) scale(1.05);
}

.uc-option.selected {
    background: rgba(243, 163, 28, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.badge.vip {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
}

/* Loading Phase */
.central-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.pubg-loader {
    width: 80px;
    height: 80px;
    border: 5px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-id {
    font-family: var(--font-en);
    background: var(--glass);
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    color: var(--primary);
}

.status-messages {
    height: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.current-log {
    font-size: 1rem;
    color: #ddd;
    animation: fadeIn 0.3s forwards;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.5s ease;
}

/* Verification */
.verification-card {
    border: 2px solid var(--primary);
}

.warning-text {
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0.6; }
}

.uc-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--primary);
}

.uc-summary img {
    height: 60px;
}

.btn-verify {
    display: block;
    width: 100%;
    text-decoration: none;
    text-align: center;
    padding: 20px;
    background: #00C851;
    color: white;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 200, 81, 0.4);
    transition: transform 0.2s;
}

.btn-verify:hover {
    transform: scale(1.02);
}

/* Recent Activity */
.recent-activity {
    margin-top: 30px;
    background: var(--glass);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.recent-activity h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    color: #888;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    animation: fadeIn 0.5s forwards;
}

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

.activity-user {
    color: #fff;
    font-weight: 700;
}

.activity-amount {
    color: var(--primary);
    font-weight: 700;
}

.activity-status {
    color: #44ff44;
    font-size: 0.8rem;
}

/* Notification Popup */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
}

.toast {
    background: rgba(30, 30, 30, 0.95);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.75rem;
}

/* Media Queries */
@media (max-width: 480px) {
    .app-container {
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}
