/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a1a;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}
.bg-dark-soft {
    background: #12122a;
}
.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.text-light-70 {
    color: rgba(255, 255, 255, 0.7);
}
a {
    text-decoration: none;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
.delay-1 {
    animation-delay: 0.1s;
}
.delay-2 {
    animation-delay: 0.2s;
}
.delay-3 {
    animation-delay: 0.3s;
}
.delay-4 {
    animation-delay: 0.4s;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}
.navbar .btn-warning {
    background: #ffc107;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}
.navbar .btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: radial-gradient(circle at 20% 30%, #1a1a4a, #0a0a1a 70%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1), transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s infinite;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-stats-card .stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: 0.3s;
}
.hero-stats-card .stat-box:hover {
    transform: translateY(-4px);
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

/* ===== Cards ===== */
.how-card,
.task-card,
.review-card,
.card.bg-dark-soft {
    background: #12122a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(4px);
}
.how-card:hover,
.task-card:hover,
.review-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: #ffc107;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 193, 7, 0.2);
}
.how-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107, #f9a825);
    color: #0a0a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: 0.3s;
}
.how-card:hover .how-icon {
    transform: rotate(10deg) scale(1.1);
}

/* ===== Dashboard Stats ===== */
.stat-box {
    background: #12122a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: 0.3s;
}
.stat-box:hover {
    transform: translateY(-4px);
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.03);
}
.stat-box h2 {
    font-weight: 700;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn-warning {
    background: linear-gradient(135deg, #ffc107, #f9a825);
    border: none;
    color: #0a0a1a;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
}
.btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
    color: #0a0a1a;
}
.btn-outline-warning {
    border-color: #ffc107;
    color: #ffc107;
    border-radius: 50px;
}
.btn-outline-warning:hover {
    background: #ffc107;
    color: #0a0a1a;
    transform: scale(1.05);
}

/* ===== Forms ===== */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    transition: 0.3s;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
    color: #fff;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
}
.form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

/* ===== Withdrawal & Chat ===== */
.chat-box {
    background: #0e0e20;
    border-radius: 16px;
    padding: 15px;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.chat-box::-webkit-scrollbar {
    width: 4px;
}
.chat-box::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}
.chat-message {
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 8px;
    max-width: 80%;
    word-wrap: break-word;
    animation: slideInLeft 0.3s ease;
}
.chat-message.admin {
    background: rgba(255, 193, 7, 0.15);
    border-left: 3px solid #ffc107;
    align-self: flex-start;
}
.chat-message.user {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid #6c757d;
    align-self: flex-end;
}
.chat-message small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* ===== Toast ===== */
.toast-container {
    z-index: 9999;
}
.toast {
    background: rgba(18, 18, 42, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #ffc107;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }
    .hero-section .display-3 {
        font-size: 2.5rem;
    }
    .navbar .btn-warning {
        margin-top: 10px;
        width: 100%;
    }
    .stat-box h2 {
        font-size: 1.8rem;
    }
    .how-card,
    .task-card,
    .review-card {
        padding: 1.5rem !important;
    }
    .chat-message {
        max-width: 95%;
    }
    .card-body .row .col-md-4 {
        margin-bottom: 1rem;
    }
}
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-stats-card .stat-box {
        padding: 0.8rem !important;
    }
    .hero-stats-card .stat-box h2 {
        font-size: 1.4rem;
    }
}