.vp-wrapper {
    background:
        radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.28), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.30), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.25), transparent 55%),
        linear-gradient(150deg, #060b19 0%, #11183b 48%, #26094d 100%);
    color: #f8fafc;
    padding: 36px 24px;
    border-radius: 20px;
    border: 1px solid rgba(129, 140, 248, 0.35);
    box-shadow: 0 24px 60px rgba(4, 7, 20, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 16px 0;
    position: relative;
    overflow: hidden;
}

.vp-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.vp-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(95deg, #93c5fd 0%, #60a5fa 35%, #c084fc 75%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 12px 0;
    filter: drop-shadow(0 6px 20px rgba(139, 92, 246, 0.35));
}

.vp-subtitle {
    font-size: 1.12rem;
    font-weight: 600;
    color: #e0e7ff;
    max-width: 780px;
    margin: 0 auto 14px auto;
    line-height: 1.5;
}

.vp-prologue {
    font-size: 0.96rem;
    color: #cbd5e1;
    max-width: 820px;
    margin: 0 auto 24px auto;
    line-height: 1.7;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vp-timer-box {
    display: inline-block;
    background: linear-gradient(145deg, rgba(29, 78, 216, 0.38), rgba(109, 40, 217, 0.38));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 132, 252, 0.55);
    padding: 16px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.35), 0 0 24px rgba(168, 85, 247, 0.25);
}

.vp-timer-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #93c5fd;
    margin-bottom: 10px;
}

.vp-timer-digits {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
}

.vp-timer-unit {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 58px;
}

.vp-timer-unit span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #d8b4fe;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.vp-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(129, 140, 248, 0.28);
    border-radius: 14px;
    position: relative;
    z-index: 1;
}

.vp-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 14px;
    position: relative;
    z-index: 1;
}

.vp-rank-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vp-rank-btn {
    background: rgba(30, 41, 59, 0.85);
    color: #cbd5e1;
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vp-rank-btn:hover {
    color: #ffffff;
    border-color: #c084fc;
    transform: translateY(-1px);
}

.vp-rank-btn.is-active {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.45);
}

.vp-admin-panel {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 27, 75, 0.85));
    border: 1px solid rgba(139, 92, 246, 0.55);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.55);
    position: relative;
    z-index: 1;
}

.vp-admin-panel h3 {
    color: #93c5fd;
    margin-top: 0;
    margin-bottom: 14px;
}

.vp-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.vp-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(129, 140, 248, 0.45);
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
}

.vp-input:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.vp-btn {
    background: linear-gradient(135deg, #2563eb 0%, #6d28d9 55%, #9333ea 100%);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.vp-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 8px 22px rgba(147, 51, 234, 0.45);
    color: #ffffff;
}

.vp-btn-secondary {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(129, 140, 248, 0.45);
    box-shadow: none;
}

.vp-btn-danger {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    padding: 8px 12px;
    font-size: 0.8rem;
    box-shadow: none;
}

.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 22px;
    position: relative;
    z-index: 1;
}

.vp-card {
    background: linear-gradient(170deg, rgba(30, 41, 59, 0.92), rgba(23, 21, 59, 0.95));
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(6, 11, 25, 0.55);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vp-card:hover {
    transform: translateY(-6px);
    border-color: #c084fc;
    box-shadow: 0 18px 36px rgba(88, 28, 135, 0.55), 0 0 20px rgba(59, 130, 246, 0.25);
}

.vp-rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.vp-card-img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    cursor: pointer;
    border-bottom: 1px solid rgba(129, 140, 248, 0.25);
}

.vp-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vp-card-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 8px 0;
    cursor: pointer;
}

.vp-card-meta {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    line-height: 1.45;
}

.vp-stats-row {
    display: flex;
    gap: 14px;
    font-size: 0.84rem;
    color: #93c5fd;
    background: rgba(15, 23, 42, 0.55);
    padding: 7px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.vp-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 11, 25, 0.88);
    backdrop-filter: blur(6px);
    overflow-y: auto;
    padding: 30px 15px;
    box-sizing: border-box;
}

.vp-modal-content {
    background: linear-gradient(155deg, #17153b, #291052);
    border: 1px solid rgba(192, 132, 252, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
    max-width: 760px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 26px;
    position: relative;
    color: #f8fafc;
}

.vp-modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 28px;
    cursor: pointer;
    color: #d8b4fe;
    line-height: 1;
}

.vp-bio-box {
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(129, 140, 248, 0.28);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 14px 0;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.vp-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 15px 0;
}

@media (max-width: 600px) {
    .vp-videos {
        grid-template-columns: 1fr;
    }
    .vp-header h1 {
        font-size: 1.9rem;
    }
    .vp-timer-digits {
        gap: 10px;
        font-size: 1.3rem;
    }
}

.vp-video-frame {
    width: 100%;
    height: 210px;
    border-radius: 10px;
    border: 1px solid rgba(129, 140, 248, 0.35);
}

.vp-comments-list {
    max-height: 220px;
    overflow-y: auto;
    margin-top: 12px;
    border-top: 1px solid rgba(168, 85, 247, 0.35);
    padding-top: 10px;
}

.vp-comment-item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(129, 140, 248, 0.2);
    padding: 9px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
