/* VIP Visit Counter Pro - Frontend Styles */

:root {
    --vvc-primary: #4f46e5;
    --vvc-primary-light: #6366f1;
    --vvc-online-color: #10b981;
    --vvc-radius: 16px;
    --vvc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vvc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
    margin: 15px 0;
    max-width: 100%;
}

.vvc-wrapper *, .vvc-wrapper *::before, .vvc-wrapper *::after {
    box-sizing: border-box;
}

.vvc-header {
    margin-bottom: 12px;
}

.vvc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
    letter-spacing: -0.02em;
}

.vvc-stats-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vvc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-bottom: 6px;
    transition: var(--vvc-transition);
}

.vvc-item:last-child {
    margin-bottom: 0;
}

.vvc-item-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
}

.vvc-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--vvc-primary);
}

.vvc-svg {
    width: 16px;
    height: 16px;
}

.vvc-item-online .vvc-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--vvc-online-color);
}

/* Pulse Dot animation */
.vvc-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: var(--vvc-online-color);
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: vvc-pulse-anim 1.8s infinite;
}

@keyframes vvc-pulse-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.vvc-item-value {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.vvc-counter-num {
    display: inline-block;
    transition: opacity 0.2s ease-in-out;
}

/* ==========================================================================
   STYLE 1: GLASSMORPHISM (glass)
   ========================================================================== */
.vvc-style-glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--vvc-radius);
    padding: 16px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.vvc-style-glass .vvc-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vvc-style-glass .vvc-item:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

/* ==========================================================================
   STYLE 2: MINIMAL CARD (minimal)
   ========================================================================== */
.vvc-style-minimal {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.vvc-style-minimal .vvc-item {
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    padding: 10px 4px;
}

.vvc-style-minimal .vvc-item:last-child {
    border-bottom: none;
}

.vvc-style-minimal .vvc-item-value {
    color: #111827;
}

/* ==========================================================================
   STYLE 3: COMPACT BADGE BAR (badge)
   ========================================================================== */
.vvc-style-badge {
    display: inline-block;
    max-width: 100%;
}

.vvc-style-badge .vvc-stats-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    padding: 6px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vvc-style-badge .vvc-item {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border-radius: 9999px;
    padding: 6px 14px;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.vvc-style-badge .vvc-icon {
    width: 22px;
    height: 22px;
    background: transparent;
    color: #a5b4fc;
}

.vvc-style-badge .vvc-item-online .vvc-icon {
    color: #34d399;
}

.vvc-style-badge .vvc-item-value {
    color: #ffffff;
    margin-left: 8px;
}

/* ==========================================================================
   STYLE 4: CYBER NEON (cyber)
   ========================================================================== */
.vvc-style-cyber {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 18px;
    color: #f8fafc;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
}

.vvc-style-cyber .vvc-item {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
}

.vvc-style-cyber .vvc-icon {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.vvc-style-cyber .vvc-item-value {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.vvc-style-cyber .vvc-item-online .vvc-item-value {
    color: #34d399;
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

/* ==========================================================================
   STYLE 5: CLASSIC MODERN LIST (classic)
   ========================================================================== */
.vvc-style-classic {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px;
}

.vvc-style-classic .vvc-item {
    border-bottom: 1px dotted #cbd5e1;
    padding: 8px 0;
}

.vvc-style-classic .vvc-item:last-child {
    border-bottom: none;
}
