/* ============================================
   TRXHUB SPACE - FINAL FIXED VERSION v5.0
   PERFECT LOGO - NO ZOOM - NO SCROLL ISSUES
   ============================================ */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&display=swap');

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(241, 196, 15, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 157, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(230, 126, 34, 0.02) 0%, transparent 70%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f1c40f, #e67e22);
    border-radius: 10px;
}

/* ===== AUTH CONTAINER ===== */
.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    margin: 30px auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== AUTH CARD ===== */
.auth-card {
    background: linear-gradient(160deg, #1a1a2e, #16213e);
    padding: 50px 45px 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    background-size: 300% 300%;
    animation: borderGlow 4s ease-in-out infinite;
}

.glow-gold::before {
    background: linear-gradient(45deg, #f1c40f, transparent, #f1c40f, transparent);
    animation: borderGlowGold 4s ease-in-out infinite;
}
.glow-orange::before {
    background: linear-gradient(45deg, #e67e22, transparent, #e67e22, transparent);
    animation: borderGlowOrange 4s ease-in-out infinite;
}
.glow-pink::before {
    background: linear-gradient(45deg, #ff6b9d, transparent, #ff6b9d, transparent);
    animation: borderGlowPink 4s ease-in-out infinite;
}

@keyframes borderGlowGold {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes borderGlowOrange {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes borderGlowPink {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   PERFECT LOGO - FIXED SIZES
   ============================================ */

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

/* ===== LOGO IMAGE - PERFECT SIZE ===== */
.auth-logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(241, 196, 15, 0.2));
    flex-shrink: 0;
    display: block;
}

/* ===== LOGO TEXT ===== */
.auth-logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #f1c40f 0%, #d4a800 40%, #e67e22 70%, #f1c40f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
    line-height: 1.2;
    flex-shrink: 0;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.auth-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.auth-subtitle span {
    color: #f1c40f;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE - PERFECT ON ALL DEVICES
   ============================================ */

/* ---- DESKTOP (1025px and above) ---- */
@media (min-width: 1025px) {
    .auth-logo img {
        height: 70px !important;
    }
    .auth-logo h1 {
        font-size: 2.6rem !important;
        letter-spacing: 4px !important;
    }
    .auth-logo {
        gap: 18px !important;
    }
    .auth-card {
        padding: 55px 50px 45px !important;
        border-radius: 24px !important;
    }
    .auth-container {
        padding: 30px !important;
        margin: 40px auto !important;
        max-width: 520px !important;
    }
}

/* ---- TABLET (769px - 1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
    .auth-logo img {
        height: 60px !important;
    }
    .auth-logo h1 {
        font-size: 2.2rem !important;
        letter-spacing: 3px !important;
    }
    .auth-logo {
        gap: 15px !important;
    }
    .auth-card {
        padding: 45px 40px 38px !important;
        border-radius: 20px !important;
    }
    .auth-container {
        padding: 25px !important;
        margin: 35px auto !important;
        max-width: 480px !important;
    }
}

/* ---- LARGE PHONE (481px - 768px) ---- */
@media (min-width: 481px) and (max-width: 768px) {
    .auth-logo img {
        height: 50px !important;
    }
    .auth-logo h1 {
        font-size: 1.9rem !important;
        letter-spacing: 2px !important;
    }
    .auth-logo {
        gap: 12px !important;
    }
    .auth-card {
        padding: 35px 28px 30px !important;
        border-radius: 18px !important;
    }
    .auth-container {
        padding: 20px !important;
        margin: 25px auto !important;
        max-width: 440px !important;
    }
    .auth-subtitle {
        font-size: 0.9rem !important;
    }
}

/* ---- SMALL PHONE (320px - 480px) ---- */
@media (max-width: 480px) {
    .auth-logo img {
        height: 42px !important;
    }
    .auth-logo h1 {
        font-size: 1.6rem !important;
        letter-spacing: 1.5px !important;
    }
    .auth-logo {
        gap: 10px !important;
    }
    .auth-card {
        padding: 28px 20px 24px !important;
        border-radius: 16px !important;
    }
    .auth-container {
        padding: 12px !important;
        margin: 15px auto !important;
        max-width: 100% !important;
    }
    .auth-subtitle {
        font-size: 0.82rem !important;
    }
    .auth-header {
        margin-bottom: 22px !important;
    }
}

/* ---- EXTRA SMALL (under 360px) ---- */
@media (max-width: 360px) {
    .auth-logo img {
        height: 36px !important;
    }
    .auth-logo h1 {
        font-size: 1.3rem !important;
        letter-spacing: 1px !important;
    }
    .auth-logo {
        gap: 8px !important;
    }
    .auth-card {
        padding: 20px 14px 18px !important;
        border-radius: 14px !important;
    }
    .auth-container {
        padding: 8px !important;
        margin: 10px auto !important;
    }
}

/* ============================================
   FIX: NO ZOOM ON INPUT FOCUS
   ============================================ */

.form-input {
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 16px !important;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    max-width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #f1c40f;
    box-shadow: 0 0 30px rgba(241, 196, 15, 0.08), inset 0 0 30px rgba(241, 196, 15, 0.03);
    background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #f1c40f;
    width: 18px;
    font-size: 0.9rem;
}

/* ===== FORGOT PASSWORD LINK ===== */
.forgot-link {
    text-align: right;
    margin-top: 4px;
}

.forgot-link a {
    color: #ff6b9d;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link a:hover {
    color: #f1c40f;
    text-decoration: underline;
}

/* ===== CODE INPUT ===== */
.code-input {
    font-size: 1.5rem !important;
    text-align: center;
    letter-spacing: 12px;
    font-weight: 700;
    padding: 16px;
    max-width: 260px;
    margin: 0 auto;
    font-family: 'Orbitron', sans-serif;
}

/* ===== BUTTONS - FIXED TOUCH SIZE ===== */
.btn-neon {
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 56px;
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-neon:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.btn-neon:active {
    transform: scale(0.97);
}

.btn-gold {
    background: linear-gradient(135deg, #f1c40f, #d4a800);
    color: #000;
    box-shadow: 0 4px 30px rgba(241, 196, 15, 0.3);
}
.btn-gold:hover {
    box-shadow: 0 8px 50px rgba(241, 196, 15, 0.5);
    transform: translateY(-2px);
}

.btn-orange {
    background: linear-gradient(135deg, #e67e22, #ca6f1e);
    color: #fff;
    box-shadow: 0 4px 30px rgba(230, 126, 34, 0.3);
}
.btn-orange:hover {
    box-shadow: 0 8px 50px rgba(230, 126, 34, 0.5);
    transform: translateY(-2px);
}

.btn-pink {
    background: linear-gradient(135deg, #ff6b9d, #e84393);
    color: #fff;
    box-shadow: 0 4px 30px rgba(255, 107, 157, 0.3);
}
.btn-pink:hover {
    box-shadow: 0 8px 50px rgba(255, 107, 157, 0.5);
    transform: translateY(-2px);
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: fadeInUp 0.4s ease-out;
    word-break: break-word;
}

.alert p {
    margin: 0;
}

.alert-danger {
    background: rgba(255, 0, 0, 0.08);
    border-color: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}
.alert-success {
    background: rgba(0, 255, 0, 0.06);
    border-color: rgba(0, 255, 0, 0.15);
    color: #51cf66;
}
.alert-info {
    background: rgba(241, 196, 15, 0.06);
    border-color: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.glow-red { box-shadow: 0 0 30px rgba(255, 0, 0, 0.05); }
.glow-green { box-shadow: 0 0 30px rgba(0, 255, 0, 0.05); }
.glow-gold { box-shadow: 0 0 30px rgba(241, 196, 15, 0.05); }

/* ===== AUTH FOOTER ===== */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.auth-footer a {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.auth-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===== RESEND SECTION ===== */
.resend-section {
    text-align: center;
    margin-top: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.resend-section a {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.resend-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===== VERIFICATION INFO ===== */
.verification-info {
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.verification-info strong {
    color: #f1c40f;
}

/* ===== TEXT ===== */
.text-muted {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}
.text-small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.text-center {
    text-align: center;
}

/* ============================================
   DASHBOARD - FIXED LOGO
   ============================================ */

.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 30px 40px;
    width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Dashboard Logo - Perfect Sizes */
.dashboard-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.dashboard-brand h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    line-height: 1.2;
}

.user-info h2 {
    font-size: 1.3rem;
    font-weight: 700;
}
.user-info .username {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.logout-btn {
    padding: 10px 22px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 10px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 15px;
    }
    .dashboard-brand img {
        height: 38px !important;
    }
    .dashboard-brand h1 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        padding: 10px;
    }
    .dashboard-brand img {
        height: 32px !important;
    }
    .dashboard-brand h1 {
        font-size: 1rem !important;
    }
    .dashboard-brand {
        gap: 8px !important;
    }
    .user-info h2 {
        font-size: 1rem !important;
    }
    .logout-btn {
        font-size: 0.8rem !important;
        padding: 8px 16px !important;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 25px 0;
}

.stat-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 22px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
}

.stat-card .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    display: block;
}
.stat-card .number {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}
.stat-card .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 500;
}

.stat-card.gold .number { color: #f1c40f; }
.stat-card.gold .stat-icon { color: #f1c40f; }
.stat-card.orange .number { color: #e67e22; }
.stat-card.orange .stat-icon { color: #e67e22; }
.stat-card.pink .number { color: #ff6b9d; }
.stat-card.pink .stat-icon { color: #ff6b9d; }
.stat-card.milky .number { color: #f5e6d3; }
.stat-card.milky .stat-icon { color: #f5e6d3; }

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 25px 0;
}
.quick-action {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 18px 14px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}
.quick-action:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
}
.quick-action .action-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    display: block;
}
.quick-action .action-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
}
.quick-action.gold .action-icon { color: #f1c40f; }
.quick-action.orange .action-icon { color: #e67e22; }
.quick-action.pink .action-icon { color: #ff6b9d; }
.quick-action.milky .action-icon { color: #f5e6d3; }

/* Referral Code Box */
.referral-code-box {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(230, 126, 34, 0.05));
    padding: 22px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(241, 196, 15, 0.12);
    margin: 20px 0;
}

.referral-code-box .code-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
.referral-code-box .code {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #f1c40f;
    letter-spacing: 4px;
    margin: 6px 0 10px;
}

.copy-btn {
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.15);
    padding: 8px 24px;
    border-radius: 10px;
    color: #f1c40f;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

/* Tables */
.table-container {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    min-width: 450px;
}
.table-container th {
    background: rgba(241, 196, 15, 0.05);
    padding: 12px 16px;
    text-align: left;
    color: #f1c40f;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(241, 196, 15, 0.08);
    white-space: nowrap;
}
.table-container td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    white-space: nowrap;
}
.table-container tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
    white-space: nowrap;
}
.badge-gold { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.badge-orange { background: rgba(230, 126, 34, 0.15); color: #e67e22; }
.badge-pink { background: rgba(255, 107, 157, 0.15); color: #ff6b9d; }
.badge-success { background: rgba(0, 255, 0, 0.1); color: #51cf66; }
.badge-danger { background: rgba(255, 0, 0, 0.1); color: #ff6b6b; }
.badge-warning { background: rgba(241, 196, 15, 0.1); color: #f1c40f; }

/* Section Titles */
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 22px 0 14px;
}
.section-title.gold { color: #f1c40f; }
.section-title.orange { color: #e67e22; }
.section-title.pink { color: #ff6b9d; }

/* Referral Tree */
.tree-node {
    padding: 12px 18px;
    margin: 5px 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #f1c40f;
    transition: all 0.3s ease;
}
.tree-node:hover {
    background: rgba(255, 255, 255, 0.04);
}
.tree-node.level-1 { border-left-color: #f1c40f; }
.tree-node.level-2 { border-left-color: #e67e22; }
.tree-node.level-3 { border-left-color: #ff6b9d; }
.tree-node.level-4 { border-left-color: #00d4ff; }
.tree-node.level-5 { border-left-color: #00ff88; }

.tree-node .node-name {
    font-weight: 600;
    color: #ffffff;
}
.tree-node .node-username {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}
.tree-node .node-level {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 20px;
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}
.tree-node .node-commission {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   NEON TEXT
   ============================================ */

.neon-gold {
    color: #f1c40f;
    text-shadow: 0 0 20px rgba(241, 196, 15, 0.2);
}
.neon-orange {
    color: #e67e22;
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
}
.neon-pink {
    color: #ff6b9d;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.2);
}
.neon-milky {
    color: #f5e6d3;
    text-shadow: 0 0 20px rgba(245, 230, 211, 0.1);
}

/* ============================================
   MOBILE RESPONSIVE - DASHBOARD
   ============================================ */

@media (max-width: 480px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 0 18px;
    }
    
    .dashboard-brand {
        justify-content: center;
    }
    
    .user-info {
        text-align: center;
    }
    
    .user-info h2 {
        font-size: 1rem !important;
    }
    
    .logout-btn {
        justify-content: center;
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 14px 12px;
        border-radius: 12px;
    }
    
    .stat-card .number {
        font-size: 1.3rem;
    }
    
    .stat-card .label {
        font-size: 0.65rem;
    }
    
    .stat-card .stat-icon {
        font-size: 1.3rem;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-action {
        padding: 14px 10px;
        border-radius: 12px;
    }
    
    .quick-action .action-icon {
        font-size: 1.3rem;
    }
    
    .quick-action .action-label {
        font-size: 0.65rem;
    }
    
    .referral-code-box {
        padding: 16px 18px;
    }
    
    .referral-code-box .code {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .copy-btn {
        font-size: 0.75rem;
        padding: 6px 18px;
    }
    
    .table-container {
        border-radius: 12px;
    }
    
    .table-container th {
        padding: 8px 12px;
        font-size: 0.6rem;
    }
    
    .table-container td {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 0.95rem;
        margin: 16px 0 10px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

/* ============================================
   FIX: PREVENT ZOOM ON MOBILE
   ============================================ */

@media (max-width: 768px) {
    input, select, textarea, .form-input {
        font-size: 16px !important;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}