* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M2,2 L10,7 L7,10 L15,18 L12,21 L4,13 L1,16 Z" fill="%23ff003c"/><circle cx="18" cy="18" r="10" fill="%2306080e" stroke="%23ff003c" stroke-width="1.8"/><ellipse cx="14" cy="16" rx="2" ry="3" fill="%23ff003c"/><ellipse cx="21" cy="16" rx="2" ry="3" fill="%23ff003c"/><polygon points="17.5,19 16.5,22 18.5,22" fill="%23ff003c"/><path d="M14,24 L14,27 M17.5,24 L17.5,27 M21,24 L21,27" stroke="%23ffffff" stroke-width="1.5"/></svg>') 2 2, default !important;
}

button, a, input, select, textarea, .btn, [role="button"], .clickable {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M2,2 L10,7 L7,10 L15,18 L12,21 L4,13 L1,16 Z" fill="%2300fffb"/><circle cx="18" cy="18" r="10" fill="%23040b12" stroke="%2300fffb" stroke-width="2"/><ellipse cx="14" cy="16" rx="2" ry="3" fill="%2300fffb"/><ellipse cx="21" cy="16" rx="2" ry="3" fill="%2300fffb"/><polygon points="17.5,19 16.5,22 18.5,22" fill="%2300fffb"/><path d="M14,24 L14,27 M17.5,24 L17.5,27 M21,24 L21,27" stroke="%23ffffff" stroke-width="1.5"/></svg>') 2 2, pointer !important;
}

html {
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

body, button, input, select, textarea, p, span, h1, h2, h3, h4, h5, h6, a, label, strong, small, td, th, div, form, legend, optgroup, option, blockquote, pre, code, em, b, u, article, section, header, footer, nav, aside, .tiktok-bio, .tiktok-bio p {
    font-family: 'Orbitron', 'Fira Code', 'Cairo', 'Tajawal', sans-serif !important;
}

/* Image FOUC Protection & Media Layout Bounds (Prevents huge unstyled images on slow connections) */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.msg-avatar img, 
.msg-chat-header img, 
.msg-contact-avatar img, 
.msg-bubble img, 
.chat-attachment-img, 
.user-avatar img,
.profile-avatar img {
    max-width: 100% !important;
    max-height: 380px !important;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Orbitron', 'Fira Code', 'Cairo', 'Tajawal', sans-serif !important;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Guarantee rendering and alignment for FontAwesome SVG & Boxicons */
.fa, .fas, .far, .fal, .fad, .fab, .bx, [class*=" fa-"], [class*=" bx-"], svg.svg-inline--fa {
    display: inline-block;
    vertical-align: -0.125em;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
svg.svg-inline--fa {
    overflow: visible;
    box-sizing: content-box;
}
.btn i, .btn svg, button i, button svg, a i, a svg {
    vertical-align: middle;
}
.fa, .fas, [class*=" fa-"], .fa::before, .fas::before, [class*=" fa-"]::before {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
}
.far, .far::before {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif !important;
    font-weight: 400 !important;
}
.fab, .fab::before {
    font-family: "Font Awesome 6 Brands", "FontAwesome", sans-serif !important;
    font-weight: 400 !important;
}
.bx, [class*=" bx-"], .bx::before, [class*=" bx-"]::before, [class*=" bx-"]::after {
    font-family: 'boxicons' !important;
}

body.layout-dashboard {
    flex-direction: row;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Live2D Widget Scary Cyber Dialog Styles */
#live2d-widget-dialog, .live2d-widget-dialog {
    width: 100% !important;
    height: 100% !important;
    color: #ff3c3c !important;
    font-family: 'Fira Code', 'Orbitron', monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    padding: 14px 16px !important;
    text-align: left !important;
    direction: ltr !important;
    border: 1px solid #ff003c !important;
    background: rgba(6, 8, 14, 0.95) !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    transform: rotate(-1deg) !important;
    opacity: 1 !important;
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.5), inset 0 0 15px rgba(255, 0, 60, 0.2) !important;
    text-shadow: 0 0 8px rgba(255, 60, 60, 0.7) !important;
    letter-spacing: 0.3px !important;
    animation: live2d-widget-dialog-tingle 4s ease-in-out 0s infinite alternate !important;
}

#live2d-widget-dialog::before, #live2d-widget-dialog::after,
.live2d-widget-dialog::before, .live2d-widget-dialog::after {
    border-color: #ff003c transparent transparent transparent !important;
}

.live2d-widget-dialog-container {
    width: 290px;
    height: 120px;
    position: absolute;
    bottom: 58%;
    right: 125px;
    transform-origin: right;
    padding: 8px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.fireworks {
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
}

/* ══════════════════════════════════════════════════════════════════
   ADMIN GOLDEN GLOWING FRAME — Avatar Border (like Top 1 Seller)
   ══════════════════════════════════════════════════════════════════ */
.admin-golden-frame {
    border: 3.5px solid #ffd700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(255, 215, 0, 0.15) !important;
    animation: adminGoldenPulse 2.5s ease-in-out infinite !important;
}

@keyframes adminGoldenPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(255, 215, 0, 0.15);
        border-color: #ffd700;
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 136, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.25);
        border-color: #ffaa00;
    }
}

/* ══════════════════════════════════════════════════════════════════
   LEVEL-BASED ANIMATED AVATAR FRAMES
   ══════════════════════════════════════════════════════════════════ */

/* Level 1-2: Simple static thin border */
.level-frame-1, .level-frame-2 {
    border: 2px solid rgba(136, 153, 166, 0.5) !important;
    box-shadow: 0 0 8px rgba(136, 153, 166, 0.2) !important;
}
.level-frame-2 {
    border-color: #cd7f32 !important;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.3) !important;
}

/* Level 3-4: Soft glow border */
.level-frame-3 {
    border: 2.5px solid #c0c0c0 !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4) !important;
    animation: levelGlow3 3s ease-in-out infinite !important;
}
@keyframes levelGlow3 {
    0%, 100% { box-shadow: 0 0 12px rgba(192, 192, 192, 0.3); }
    50% { box-shadow: 0 0 22px rgba(192, 192, 192, 0.6); }
}

.level-frame-4 {
    border: 2.5px solid #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4) !important;
    animation: levelGlow4 3s ease-in-out infinite !important;
}
@keyframes levelGlow4 {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.6); }
}

/* Level 5-6: Animated spinning border */
.level-frame-5 {
    border: 3px solid #38bdf8 !important;
    animation: levelSpin5 4s linear infinite, levelGlow5 2s ease-in-out infinite !important;
}
@keyframes levelGlow5 {
    0%, 100% { box-shadow: 0 0 15px rgba(56, 189, 248, 0.4); }
    50% { box-shadow: 0 0 30px rgba(56, 189, 248, 0.7), 0 0 50px rgba(56, 189, 248, 0.3); }
}

.level-frame-6 {
    border: 3px solid #00fffb !important;
    animation: levelGlow6 2s ease-in-out infinite !important;
}
@keyframes levelGlow6 {
    0%, 100% { box-shadow: 0 0 18px rgba(0, 255, 251, 0.5); }
    50% { box-shadow: 0 0 35px rgba(0, 255, 251, 0.8), 0 0 55px rgba(0, 255, 251, 0.3); }
}

/* Level 7-8: Strong animated border with color shift */
.level-frame-7 {
    border: 3.5px solid #a855f7 !important;
    animation: levelGlow7 2s ease-in-out infinite !important;
}
@keyframes levelGlow7 {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); border-color: #a855f7; }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.8), 0 0 65px rgba(168, 85, 247, 0.4); border-color: #c084fc; }
}

.level-frame-8 {
    border: 3.5px solid #f97316 !important;
    animation: levelGlow8 1.8s ease-in-out infinite !important;
}
@keyframes levelGlow8 {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.5); border-color: #f97316; }
    33% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.9), 0 0 60px rgba(255, 60, 60, 0.4); border-color: #ff6600; }
    66% { box-shadow: 0 0 30px rgba(255, 0, 85, 0.6); border-color: #ff3366; }
}

/* Level 9-10: Professional animated border with rainbow shift */
.level-frame-9 {
    border: 4px solid #e11d48 !important;
    animation: levelGlow9 2s ease-in-out infinite !important;
}
@keyframes levelGlow9 {
    0%, 100% { box-shadow: 0 0 25px rgba(225, 29, 72, 0.6), 0 0 50px rgba(225, 29, 72, 0.3); border-color: #e11d48; }
    50% { box-shadow: 0 0 45px rgba(225, 29, 72, 1), 0 0 80px rgba(255, 0, 85, 0.5); border-color: #ff1a5e; }
}

.level-frame-10 {
    border: 4px solid #ff0055 !important;
    animation: levelGlow10 1.5s ease-in-out infinite !important;
}
@keyframes levelGlow10 {
    0% { box-shadow: 0 0 30px rgba(255, 0, 85, 0.7), 0 0 60px rgba(255, 0, 85, 0.4); border-color: #ff0055; }
    33% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.7), 0 0 70px rgba(255, 136, 0, 0.4); border-color: #ffd700; }
    66% { box-shadow: 0 0 40px rgba(0, 255, 251, 0.7), 0 0 70px rgba(0, 240, 255, 0.4); border-color: #00fffb; }
    100% { box-shadow: 0 0 30px rgba(255, 0, 85, 0.7), 0 0 60px rgba(255, 0, 85, 0.4); border-color: #ff0055; }
}

/* ══════════════════════════════════════════════════════════════════
   BAT WINGS SVG DECORATION (next to username)
   ══════════════════════════════════════════════════════════════════ */
.bat-wing {
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 0 4px currentColor);
}
.bat-wing-left {
    transform: scaleX(1);
    margin-right: 4px;
}
.bat-wing-right {
    transform: scaleX(-1);
    margin-left: 4px;
}
.bat-wing svg {
    fill: currentColor;
}
.bat-wing-sm svg { width: 16px; height: 16px; }
.bat-wing-md svg { width: 22px; height: 22px; }
.bat-wing-lg svg { width: 30px; height: 30px; }

/* Animated wing flap */
.bat-wing-animated {
    animation: batWingFlap 1.8s ease-in-out infinite;
}
.bat-wing-animated.bat-wing-right {
    animation: batWingFlapR 1.8s ease-in-out infinite;
}
@keyframes batWingFlap {
    0%, 100% { transform: scaleX(1) rotate(0deg); }
    50% { transform: scaleX(1) rotate(-8deg); }
}
@keyframes batWingFlapR {
    0%, 100% { transform: scaleX(-1) rotate(0deg); }
    50% { transform: scaleX(-1) rotate(8deg); }
}

/* Level name glow effect */
.level-name-glow {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

/* ══════════════════════════════════════════════════════════════════
   SCREENSHOT NOTIFICATION IN CHAT
   ══════════════════════════════════════════════════════════════════ */
.msg-screenshot-alert {
    text-align: center;
    padding: 6px 16px;
    margin: 8px auto;
    max-width: 320px;
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 20px;
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    animation: screenshotFadeIn 0.4s ease-out;
}
@keyframes screenshotFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════
   VERIFICATION SUBSCRIPTION PAGE STYLES
   ══════════════════════════════════════════════════════════════════ */
.verify-card {
    background: rgba(8, 12, 20, 0.9);
    border: 1px solid rgba(29, 161, 242, 0.3);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(29, 161, 242, 0.1);
}
.verify-badge-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(29, 161, 242, 0.12);
    border: 2px solid #1da1f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.3);
    animation: verifyBadgePulse 2s ease-in-out infinite;
}
@keyframes verifyBadgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(29, 161, 242, 0.3); }
    50% { box-shadow: 0 0 35px rgba(29, 161, 242, 0.6), 0 0 60px rgba(29, 161, 242, 0.2); }
}
.verify-condition {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
}
.verify-condition.met {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: #00e676;
}
.verify-condition.unmet {
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.3);
    color: #ff5252;
}

