/**
 * Video Hosting Platform - Frontend Styles
 * ТЁМНАЯ ТЕМА
 */

/* CSS Variables - Dark Theme */
:root {
    --vhp-primary: #cc0000;
    --vhp-primary-dark: #aa0000;
    --vhp-secondary: #3ea6ff;
    --vhp-text: #ffffff;
    --vhp-text-secondary: #aaaaaa;
    --vhp-bg: #0f0f0f;
    --vhp-bg-secondary: #181818;
    --vhp-bg-elevated: #272727;
    --vhp-border: #3f3f3f;
    --vhp-radius: 12px;
    --vhp-radius-sm: 8px;
    --vhp-shadow: 0 1px 2px rgba(0,0,0,0.3);
    --vhp-transition: 0.2s ease;
}

/* Text Selection - Dark Theme */
::selection {
    background-color: #3ea6ff !important;
    color: #000000 !important;
}

::-moz-selection {
    background-color: #3ea6ff !important;
    color: #000000 !important;
}

/* Base Styles - Dark Theme */
body .vhp-video-page,
body .vhp-channel-page,
body .vhp-search-page,
body .vhp-subscriptions-page,
body .vhp-radio-page,
body .vhp-home-page,
body .vhp-upload-page,
body .vhp-channel-settings-page,
body .vhp-not-creator-page,
body .vhp-error-page,
body .vhp-login-required-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #0f0f0f !important;
    color: #ffffff !important;
    min-height: 100vh;
}

/* All text white by default */
body .vhp-video-page *,
body .vhp-channel-page *,
body .vhp-search-page *,
body .vhp-subscriptions-page *,
body .vhp-radio-page *,
body .vhp-home-page *,
body .vhp-upload-page *,
body .vhp-channel-settings-page *,
body .vhp-not-creator-page *,
body .vhp-error-page *,
body .vhp-login-required-page * {
    color: #ffffff !important;
    box-sizing: border-box;
}

/* Secondary text color */
.vhp-text-secondary,
.vhp-video-meta,
.vhp-video-meta span,
.vhp-subscriber-count,
.vhp-comment-date,
.vhp-video-channel-name,
.vhp-no-content,
.vhp-no-videos,
.vhp-no-results,
.vhp-form-hint,
.vhp-char-count,
.vhp-dropzone-info {
    color: #aaaaaa !important;
}

/* Buttons */
.vhp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--vhp-transition);
    text-decoration: none;
}

.vhp-btn-primary {
    background: #cc0000 !important;
    color: #fff !important;
}

.vhp-btn-primary:hover {
    background: #aa0000 !important;
}

.vhp-btn-secondary {
    background: #272727 !important;
    color: #ffffff !important;
}

.vhp-btn-secondary:hover {
    background: #3f3f3f !important;
}

/* Subscribe Button - Red like YouTube */
button.vhp-btn-subscribe,
a.vhp-btn-subscribe,
.vhp-btn-subscribe {
    background: #cc0000 !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--vhp-transition);
    text-decoration: none;
    display: inline-block;
}

button.vhp-btn-subscribe:hover,
a.vhp-btn-subscribe:hover,
.vhp-btn-subscribe:hover {
    background: #aa0000 !important;
}

button.vhp-btn-subscribe.subscribed,
.vhp-btn-subscribe.subscribed {
    background: #272727 !important;
    color: #ffffff !important;
}

.vhp-btn-subscribe:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Video Page Layout */
.vhp-video-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
}

.vhp-video-container {
    min-width: 0;
}

.vhp-video-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    background-color: #0f0f0f !important;
}

/* Video Info */
.vhp-video-title {
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0 8px;
    line-height: 1.4;
    color: #ffffff !important;
}

.vhp-separator {
    margin: 0 4px;
}

/* Engagement - FIXED: No white gap */
.vhp-engagement {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid #3f3f3f;
    border-bottom: 1px solid #3f3f3f;
    background-color: transparent !important;
}

/* Rating Buttons - NO WHITE BACKGROUND */
.vhp-rating-buttons {
    display: flex;
    gap: 8px;
    background: transparent !important;
    border-radius: 0;
    overflow: visible;
}

.vhp-btn-like,
.vhp-btn-dislike {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #272727 !important;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    transition: var(--vhp-transition);
}

.vhp-btn-like:hover,
.vhp-btn-dislike:hover {
    background: #3f3f3f !important;
}

.vhp-btn-like.active {
    background: #263850 !important;
    color: #3ea6ff !important;
}

.vhp-btn-dislike.active {
    background: #3d2727 !important;
    color: #ff6b6b !important;
}

.vhp-btn-like:disabled,
.vhp-btn-dislike:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vhp-rating-bar {
    flex: 1;
    height: 4px;
    background: #3f3f3f;
    border-radius: 2px;
    overflow: hidden;
}

.vhp-rating-fill {
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
}

/* Channel Row */
.vhp-channel-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #3f3f3f;
}

.vhp-channel-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.vhp-channel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.vhp-channel-info {
    display: flex;
    flex-direction: column;
}

.vhp-channel-name {
    font-weight: 500;
    color: #ffffff !important;
}

/* Video Description */
.vhp-video-description {
    background: #272727 !important;
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff !important;
}

/* Comments */
.vhp-comments-section {
    margin-top: 24px;
    background-color: #0f0f0f !important;
}

.vhp-comments-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #ffffff !important;
}

.vhp-comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.vhp-comment-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #3f3f3f !important;
    border-radius: 8px;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    background-color: #181818 !important;
    color: #ffffff !important;
}

.vhp-comment-input::placeholder {
    color: #717171 !important;
}

.vhp-comment-input:focus {
    outline: none;
    border-color: #3ea6ff !important;
}

.vhp-btn-comment {
    align-self: flex-end;
    padding: 10px 20px;
    background: #3ea6ff !important;
    color: #0f0f0f !important;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}

.vhp-btn-comment:hover {
    background: #65b8ff !important;
}

.vhp-btn-comment:disabled {
    background: #272727 !important;
    color: #717171 !important;
    cursor: not-allowed;
}

.vhp-comment {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    background-color: transparent !important;
}

.vhp-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.vhp-comment-content {
    flex: 1;
    background-color: transparent !important;
}

.vhp-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.vhp-comment-author {
    font-weight: 500;
    font-size: 13px;
    color: #ffffff !important;
}

.vhp-edited {
    font-size: 12px;
    color: #aaaaaa !important;
}

.vhp-comment-text {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff !important;
    background-color: transparent !important;
}

/* Auto-linkified URLs in comments and descriptions */
.vhp-auto-link {
    color: #3ea6ff !important;
    text-decoration: none;
    word-break: break-word;
}

.vhp-auto-link:hover {
    color: #65b8ff !important;
    text-decoration: underline;
}

.vhp-video-description .vhp-auto-link {
    color: #3ea6ff !important;
}

.vhp-video-description .vhp-auto-link:hover {
    color: #65b8ff !important;
}

.vhp-comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.vhp-comment-actions button {
    background: none;
    border: none;
    color: #aaaaaa !important;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 0;
}

.vhp-comment-actions button:hover {
    color: #ffffff !important;
}

.vhp-replies {
    margin-left: 52px;
    margin-top: 12px;
}

.vhp-login-prompt {
    color: #aaaaaa !important;
}

.vhp-login-prompt a {
    color: #3ea6ff !important;
    text-decoration: none;
}

.vhp-login-prompt a:hover {
    text-decoration: underline;
}

/* Video Grid */
.vhp-video-grid {
    display: grid;
    gap: 16px;
}

.vhp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.vhp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.vhp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Video Card */
.vhp-video-card {
    display: flex;
    flex-direction: column;
    background-color: transparent !important;
}

.vhp-video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #181818;
}

.vhp-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vhp-video-card:hover .vhp-video-thumbnail img {
    transform: scale(1.05);
}

.vhp-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.vhp-video-details {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.vhp-video-channel-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.vhp-video-info {
    flex: 1;
    min-width: 0;
}

.vhp-video-card .vhp-video-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #ffffff !important;
}

.vhp-video-card .vhp-video-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.vhp-video-card .vhp-video-meta {
    font-size: 12px;
}

/* Small Video Card (Sidebar) */
.vhp-video-card-small {
    display: flex;
    gap: 8px;
    background-color: transparent !important;
}

.vhp-video-card-small .vhp-video-thumbnail {
    width: 168px;
    flex-shrink: 0;
    border-radius: 8px;
}

.vhp-video-card-small .vhp-video-info {
    display: flex;
    flex-direction: column;
}

.vhp-video-card-small .vhp-video-title {
    font-size: 14px;
    margin: 0 0 4px;
    color: #ffffff !important;
}

.vhp-video-card-small .vhp-video-title a {
    color: #ffffff !important;
    text-decoration: none;
}

/* Horizontal Video Card (Search) */
.vhp-video-card-horizontal {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #3f3f3f;
    background-color: transparent !important;
}

.vhp-video-card-horizontal .vhp-video-thumbnail {
    width: 360px;
    flex-shrink: 0;
}

.vhp-video-card-horizontal .vhp-video-content {
    flex: 1;
}

.vhp-video-card-horizontal .vhp-video-title {
    font-size: 18px;
    margin: 0 0 8px;
    color: #ffffff !important;
}

.vhp-video-card-horizontal .vhp-video-description {
    background: none;
    padding: 0;
    margin: 8px 0 0;
    color: #aaaaaa !important;
}

/* Channel Page */
.vhp-channel-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: -60px;
}

.vhp-channel-header {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 0 24px 24px;
    position: relative;
}

.vhp-channel-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #0f0f0f;
    object-fit: cover;
}

.vhp-channel-details {
    flex: 1;
}

.vhp-channel-page .vhp-channel-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #ffffff !important;
}

.vhp-channel-stats {
    color: #aaaaaa !important;
    font-size: 14px;
}

.vhp-channel-description {
    margin-top: 8px;
    font-size: 14px;
    color: #ffffff !important;
}

.vhp-channel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Tabs */
.vhp-channel-tabs {
    border-bottom: 1px solid #3f3f3f;
    margin: 24px 0;
}

.vhp-tabs-nav {
    display: flex;
    gap: 24px;
}

.vhp-tab {
    padding: 12px 0;
    color: #aaaaaa !important;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--vhp-transition);
}

.vhp-tab:hover {
    color: #ffffff !important;
}

.vhp-tab.active {
    color: #ffffff !important;
    border-bottom-color: #ffffff;
}

.vhp-tab-content {
    display: none;
}

.vhp-tab-content.active {
    display: block;
}

/* Search Page */
.vhp-search-header {
    margin-bottom: 24px;
}

.vhp-search-input-wrapper {
    display: flex;
    max-width: 600px;
}

.vhp-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #3f3f3f !important;
    border-radius: 20px 0 0 20px;
    font-size: 16px;
    background-color: #181818 !important;
    color: #ffffff !important;
}

.vhp-search-input::placeholder {
    color: #717171 !important;
}

.vhp-search-input:focus {
    outline: none;
    border-color: #3ea6ff !important;
}

.vhp-search-btn {
    padding: 12px 24px;
    background: #272727 !important;
    border: 1px solid #3f3f3f !important;
    border-left: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    color: #ffffff !important;
}

.vhp-search-btn:hover {
    background: #3f3f3f !important;
}

.vhp-search-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.vhp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vhp-filter-group label {
    font-size: 12px;
    color: #aaaaaa !important;
}

.vhp-filter-select {
    padding: 8px 12px;
    border: 1px solid #3f3f3f !important;
    border-radius: 8px;
    background: #181818 !important;
    color: #ffffff !important;
}

.vhp-results-count {
    color: #aaaaaa !important;
    margin-bottom: 16px;
}

/* Pagination */
.vhp-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.vhp-pagination a,
.vhp-pagination span {
    padding: 8px 16px;
    border: 1px solid #3f3f3f;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff !important;
    background-color: #181818;
}

.vhp-pagination a:hover {
    background: #272727;
}

.vhp-pagination .current {
    background: #ffffff;
    color: #0f0f0f !important;
    border-color: #ffffff;
}

/* No Content States */
.vhp-no-content,
.vhp-no-videos,
.vhp-no-results,
.vhp-no-subscriptions,
.vhp-login-required-page,
.vhp-no-comments,
.vhp-no-recommendations {
    text-align: center;
    padding: 48px 24px;
    color: #aaaaaa !important;
    background-color: transparent !important;
}

.vhp-error {
    color: #ff6b6b !important;
    padding: 24px;
    text-align: center;
}


/* Responsive */
@media (max-width: 1200px) {
    .vhp-video-page {
        grid-template-columns: 1fr;
    }
    
    .vhp-video-sidebar {
        position: static;
    }
    
    .vhp-recommended-videos {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .vhp-video-card-small {
        flex-direction: column;
    }
    
    .vhp-video-card-small .vhp-video-thumbnail {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .vhp-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vhp-recommended-videos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vhp-grid-4,
    .vhp-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vhp-recommended-videos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vhp-video-card-horizontal {
        flex-direction: column;
    }
    
    .vhp-video-card-horizontal .vhp-video-thumbnail {
        width: 100%;
    }
    
    .vhp-channel-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .vhp-channel-banner {
        height: 120px;
        margin-bottom: -40px;
    }
    
    .vhp-channel-avatar-large {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .vhp-grid-4,
    .vhp-grid-3,
    .vhp-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .vhp-recommended-videos {
        grid-template-columns: 1fr;
    }
    
    .vhp-engagement {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vhp-search-filters {
        flex-direction: column;
    }

    .vhp-channel-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .vhp-channel-actions .vhp-btn {
        width: 100%;
    }
}


/* ========================================
   Upload Form Styles - Dark Theme
   ======================================== */

.vhp-upload-page,
.vhp-channel-settings-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.vhp-upload-form-container {
    background: #0f0f0f !important;
}

.vhp-upload-form-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff !important;
}

.vhp-upload-form .vhp-form-section {
    background: #181818 !important;
    border: 1px solid #3f3f3f !important;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.vhp-upload-form .vhp-form-section h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 16px;
    color: #ffffff !important;
}

/* Dropzone */
.vhp-dropzone {
    border: 2px dashed #3f3f3f !important;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    transition: var(--vhp-transition);
    cursor: pointer;
    background: #181818 !important;
}

.vhp-dropzone.dragover {
    border-color: #3ea6ff !important;
    background: rgba(62, 166, 255, 0.1) !important;
}

.vhp-dropzone-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.vhp-dropzone-text {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #ffffff !important;
}

.vhp-dropzone-or {
    color: #aaaaaa !important;
    margin: 12px 0;
}

.vhp-dropzone-preview {
    position: relative;
}

.vhp-dropzone-preview video {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
}

.vhp-btn-remove-file {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #fff !important;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vhp-btn-remove-file:hover {
    background: rgba(0,0,0,0.9);
}

/* Progress Bar */
.vhp-upload-progress {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vhp-progress-bar {
    flex: 1;
    height: 8px;
    background: #3f3f3f;
    border-radius: 4px;
    overflow: hidden;
}

.vhp-progress-fill {
    height: 100%;
    background: #3ea6ff;
    width: 0;
    transition: width 0.3s ease;
}

.vhp-progress-text {
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    color: #ffffff !important;
}

/* Form Groups */
.vhp-form-group {
    margin-bottom: 16px;
}

.vhp-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: #ffffff !important;
}

.vhp-form-group input[type="text"],
.vhp-form-group textarea,
.vhp-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #3f3f3f !important;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--vhp-transition);
    background: #272727 !important;
    color: #ffffff !important;
}

.vhp-form-group input::placeholder,
.vhp-form-group textarea::placeholder {
    color: #717171 !important;
}

.vhp-form-group input:focus,
.vhp-form-group textarea:focus,
.vhp-form-group select:focus {
    outline: none;
    border-color: #3ea6ff !important;
}

.required {
    color: #ff6b6b !important;
}

/* Thumbnail Upload */
.vhp-thumbnail-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vhp-thumbnail-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    border: 2px dashed #3f3f3f !important;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--vhp-transition);
    background: #181818 !important;
}

.vhp-thumbnail-dropzone:hover {
    border-color: #3ea6ff !important;
}

.vhp-thumbnail-icon {
    font-size: 32px;
}

#vhp-thumbnail-preview {
    max-width: 200px;
    border-radius: 8px;
    margin-top: 12px;
}

/* Form Actions */
.vhp-form-actions {
    text-align: center;
    padding: 24px 0;
}

.vhp-btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.vhp-upload-notice {
    font-size: 12px;
    color: #aaaaaa !important;
    margin-top: 12px;
}

/* Creator Request Form */
.vhp-not-creator-page,
.vhp-error-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
}

.vhp-not-creator-page h1,
.vhp-error-page h1,
.vhp-login-required-page h1 {
    color: #ffffff !important;
}

.vhp-not-creator-page p,
.vhp-error-page p,
.vhp-login-required-page p {
    color: #aaaaaa !important;
}

.vhp-creator-request-form {
    max-width: 500px;
    margin: 24px auto 0;
    text-align: left;
}

.vhp-creator-request-form label {
    color: #ffffff !important;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.vhp-creator-request-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #3f3f3f !important;
    border-radius: 8px;
    resize: vertical;
    min-height: 100px;
    background: #272727 !important;
    color: #ffffff !important;
}

.vhp-success {
    color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
    padding: 16px;
    border-radius: 8px;
}

.vhp-notice-success {
    background: rgba(76, 175, 80, 0.1) !important;
    color: #4caf50 !important;
    padding: 16px;
    border-radius: 8px;
}

.vhp-notice-error {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff6b6b !important;
    padding: 16px;
    border-radius: 8px;
}

/* ========================================
   Radio Page Styles - Dark Theme
   ======================================== */

.vhp-radio-page {
    max-width: 1000px;
}

.vhp-radio-player-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 12px;
    padding: 32px;
    color: #fff !important;
    margin-bottom: 32px;
}

.vhp-radio-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.vhp-radio-artwork {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.vhp-radio-info h2 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #ffffff !important;
}

.vhp-radio-host {
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 8px;
}

.vhp-radio-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vhp-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #cc0000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff !important;
}

.vhp-live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.vhp-listener-count {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px;
}

.vhp-radio-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vhp-btn-play-radio {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff !important;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    color: #0f0f0f !important;
}

.vhp-btn-play-radio:hover {
    transform: scale(1.1);
}

.vhp-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7) !important;
}

.vhp-volume-slider {
    width: 100px;
    accent-color: #fff;
}

.vhp-radio-offline {
    text-align: center;
    padding: 48px;
    color: rgba(255,255,255,0.7) !important;
}

.vhp-radio-offline h3 {
    margin-bottom: 8px;
    color: #ffffff !important;
}

/* Schedule */
.vhp-schedule-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #ffffff !important;
}

.vhp-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vhp-schedule-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #181818 !important;
    border-radius: 8px;
}

.vhp-schedule-time {
    min-width: 100px;
    font-weight: 500;
    color: #ffffff !important;
}

.vhp-schedule-program {
    flex: 1;
}

.vhp-schedule-title {
    font-weight: 500;
    margin-bottom: 4px;
    color: #ffffff !important;
}

.vhp-schedule-host {
    font-size: 14px;
    color: #aaaaaa !important;
}

/* ========================================
   Home Page Styles - Dark Theme
   ======================================== */

.vhp-home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.vhp-section {
    margin-bottom: 40px;
}

.vhp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.vhp-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #ffffff !important;
}

.vhp-section-link {
    color: #3ea6ff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.vhp-section-link:hover {
    text-decoration: underline;
}

/* Hero Banner - Dark Theme */
.vhp-hero-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 12px;
    padding: 48px;
    color: #fff !important;
    margin-bottom: 32px;
    text-align: center;
}

.vhp-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #ffffff !important;
}

.vhp-hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9) !important;
}

.vhp-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.vhp-btn-hero {
    background: #cc0000 !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
}

.vhp-btn-hero:hover {
    background: #aa0000 !important;
}

.vhp-btn-hero-outline {
    background: transparent !important;
    border: 2px solid #fff;
    color: #fff !important;
}

.vhp-btn-hero-outline:hover {
    background: rgba(255,255,255,0.1) !important;
}

/* Categories */
.vhp-categories-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.vhp-category-chip {
    padding: 8px 16px;
    background: #272727 !important;
    border-radius: 20px;
    white-space: nowrap;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 14px;
    transition: var(--vhp-transition);
}

.vhp-category-chip:hover,
.vhp-category-chip.active {
    background: #3ea6ff !important;
    color: #0f0f0f !important;
}

/* Tags */
.vhp-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.vhp-video-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #272727 !important;
    color: #3ea6ff !important;
    border-radius: 16px;
    font-size: 12px;
    text-decoration: none;
}

.vhp-video-tag:hover {
    background-color: #3f3f3f !important;
}

.vhp-video-category {
    display: inline-block;
    padding: 6px 12px;
    background-color: #263850 !important;
    color: #3ea6ff !important;
    border-radius: 16px;
    font-size: 12px;
}

/* Stats */
.vhp-stat-value {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 600;
}

.vhp-stat-label {
    color: #aaaaaa !important;
    font-size: 14px;
}

/* Page Headers */
.vhp-page-header h1 {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Subscriptions Page */
.vhp-subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.vhp-subscription-card {
    background: #181818 !important;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.vhp-subscription-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.vhp-subscription-card h3 {
    color: #ffffff !important;
    font-size: 16px;
    margin: 0 0 4px;
}

.vhp-subscription-card p {
    color: #aaaaaa !important;
    font-size: 14px;
    margin: 0;
}

/* Reply Form */
.vhp-reply-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: #181818 !important;
    border-radius: 8px;
}

.vhp-reply-form .vhp-comment-input {
    min-height: 60px;
}

/* Edit Form */
.vhp-edit-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.vhp-edit-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #3f3f3f !important;
    border-radius: 8px;
    background: #181818 !important;
    color: #ffffff !important;
    resize: vertical;
    min-height: 60px;
}

.vhp-btn-save-edit,
.vhp-btn-cancel-edit {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.vhp-btn-save-edit {
    background: #3ea6ff !important;
    color: #0f0f0f !important;
}

.vhp-btn-cancel-edit {
    background: #272727 !important;
    color: #ffffff !important;
}


/* ========================================
   Verified Badge Styles
   ======================================== */

/* Verified badge - круглая галочка */
.vhp-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #3ea6ff !important;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.vhp-verified-badge svg {
    width: 12px;
    height: 12px;
    fill: #0f0f0f;
}

/* Inline verified badge - текстовая галочка */
.vhp-verified-badge-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #3ea6ff !important;
    color: #0f0f0f !important;
    border-radius: 50%;
    font-size: 9px;
    font-weight: bold;
    margin-left: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Small verified badge */
.vhp-verified-badge-small {
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

.vhp-verified-badge-small svg {
    width: 10px;
    height: 10px;
}

.vhp-mod-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 56px;
    color: #f5f7fa;
}

.vhp-mod-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    gap: 28px;
    align-items: center;
    overflow: hidden;
    padding: 36px;
    border: 1px solid #2a2f38;
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 8%, rgba(77, 163, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #171b22 0%, #0f1217 100%);
}

.vhp-mod-hero::before {
    position: absolute;
    top: -120px;
    right: 12%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(77, 163, 255, 0.06);
    content: '';
    pointer-events: none;
}

.vhp-mod-hero-copy,
.vhp-mod-hero-art {
    position: relative;
    min-width: 0;
}

.vhp-mod-kicker {
    display: inline-flex;
    padding: 6px 12px;
    border: 1px solid rgba(77, 163, 255, 0.35);
    border-radius: 999px;
    color: #8ec5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vhp-mod-hero h1 {
    margin: 16px 0 12px;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.vhp-mod-title-accent {
    color: #8ec5ff;
}

.vhp-mod-tagline {
    max-width: 620px;
    margin: 0;
    color: #aab3c0;
    font-size: 1rem;
    line-height: 1.65;
}

.vhp-mod-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 24px;
}

.vhp-mod-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    background: #4da3ff;
    color: #08121f;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.vhp-mod-hero-btn:hover {
    background: #6cb6ff;
    color: #08121f;
}

.vhp-mod-hero-btn:focus-visible {
    outline: 2px solid #8ec5ff;
    outline-offset: 3px;
}

.vhp-mod-hero-note {
    color: #7f8b9b;
    font-size: 13px;
}

.vhp-mod-hero-art {
    display: flex;
    justify-content: center;
}

.vhp-mod-art-card {
    width: min(240px, 100%);
    padding: 18px;
    border: 1px solid rgba(77, 163, 255, 0.22);
    border-radius: 24px;
    background: rgba(12, 16, 22, 0.55);
    text-align: center;
}

.vhp-mod-art-svg {
    display: block;
    width: 100%;
    height: auto;
}

.vhp-mod-art-caption {
    display: block;
    margin-top: 8px;
    color: #8ec5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vhp-mod-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.vhp-mod-fact {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #252b34;
    border-radius: 12px;
    background: #14181f;
}

.vhp-mod-fact span {
    display: block;
    margin-bottom: 4px;
    color: #7f8b9b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vhp-mod-fact strong {
    display: block;
    overflow-wrap: anywhere;
    color: #eef3fa;
    font-size: 14px;
}

.vhp-mod-files {
    scroll-margin-top: 96px;
}

.vhp-mod-section {
    margin-top: 32px;
}

.vhp-mod-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.vhp-mod-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.vhp-mod-section-title::before {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: #4da3ff;
    content: '';
}

.vhp-mod-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #202631;
    color: #9fb0c4;
    font-size: 12px;
    font-weight: 700;
}

.vhp-mod-release {
    padding: 22px;
    border: 1px solid #2a2f38;
    border-radius: 18px;
    background: #151920;
}

.vhp-mod-release-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 16px;
}

.vhp-mod-release-title {
    min-width: 0;
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.vhp-mod-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vhp-mod-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #202631;
    color: #c2ccd9;
    font-size: 12px;
}

.vhp-mod-pill-label {
    color: #7f8b9b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vhp-mod-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.vhp-mod-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid #313846;
    border-radius: 12px;
    background: #1b2029;
    color: #eef3fa;
    text-decoration: none;
}

.vhp-mod-link:hover {
    border-color: #4da3ff;
    background: #202a38;
}

.vhp-mod-link:focus-visible {
    outline: 2px solid #4da3ff;
    outline-offset: 2px;
}

.vhp-mod-link-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.vhp-mod-platform {
    color: #eef3fa;
    font-size: 15px;
    font-weight: 700;
}

.vhp-mod-file {
    max-width: 100%;
    color: #8d99aa;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vhp-mod-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: #8ec5ff;
    font-size: 13px;
    font-weight: 800;
}

.vhp-mod-download-label {
    white-space: nowrap;
}

.vhp-mod-ext {
    padding: 2px 6px;
    border: 1px solid rgba(77, 163, 255, 0.35);
    border-radius: 5px;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.vhp-mod-download-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.vhp-mod-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 20px;
    border: 1px dashed #363d49;
    border-radius: 18px;
    background: #13171d;
    text-align: center;
}

.vhp-mod-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border: 1px solid rgba(77, 163, 255, 0.3);
    border-radius: 16px;
    background: #1a2230;
    color: #8ec5ff;
    font-size: 13px;
    font-weight: 800;
}

.vhp-mod-empty-title {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.vhp-mod-empty-text {
    max-width: 420px;
    color: #98a3b2;
    line-height: 1.55;
}

.vhp-mod-install {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    margin-top: 32px;
    padding: 28px;
    border: 1px solid #2a2f38;
    border-radius: 18px;
    background: #14181f;
}

.vhp-mod-install-copy h2 {
    margin: 12px 0 8px;
    color: #ffffff;
    font-size: 1.4rem;
}

.vhp-mod-install-copy p {
    margin: 0 0 10px;
    color: #aab3c0;
    line-height: 1.6;
}

.vhp-mod-install-copy code,
.vhp-mod-step code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #202631;
    color: #8ec5ff;
    font-size: 0.9em;
}

.vhp-mod-install-note {
    color: #7f8b9b !important;
    font-size: 13px;
}

.vhp-mod-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vhp-mod-step {
    display: flex;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #252b34;
    border-radius: 12px;
    background: #1b2029;
}

.vhp-mod-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #4da3ff;
    color: #08121f;
    font-size: 13px;
    font-weight: 800;
}

.vhp-mod-step strong {
    display: block;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 14px;
}

.vhp-mod-step p {
    margin: 0;
    color: #98a3b2;
    font-size: 13px;
    line-height: 1.45;
}

.vhp-mod-note {
    margin-top: 24px;
    padding: 15px 18px;
    border-left: 3px solid #4da3ff;
    border-radius: 0 10px 10px 0;
    background: #13171d;
    color: #98a3b2;
    font-size: 13px;
    line-height: 1.55;
}

.vhp-mod-note strong {
    color: #dce6f2;
}

@media (max-width: 800px) {
    .vhp-mod-hero {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px;
    }

    .vhp-mod-hero-art {
        justify-content: center;
    }

    .vhp-mod-art-card {
        width: 170px;
    }

    .vhp-mod-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vhp-mod-install {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }
}

@media (max-width: 600px) {
    .vhp-mod-page {
        padding: 18px 12px 40px;
    }

    .vhp-mod-hero {
        padding: 20px;
        border-radius: 16px;
    }

    .vhp-mod-hero h1 {
        font-size: 2.2rem;
    }

    .vhp-mod-hero-actions {
        margin-top: 18px;
    }

    .vhp-mod-hero-btn {
        width: 100%;
    }

    .vhp-mod-hero-note {
        width: 100%;
    }

    .vhp-mod-facts {
        gap: 8px;
    }

    .vhp-mod-fact {
        padding: 12px;
    }

    .vhp-mod-section {
        margin-top: 26px;
    }

    .vhp-mod-release {
        padding: 16px;
        border-radius: 14px;
    }

    .vhp-mod-release-title {
        font-size: 1.15rem;
    }

    .vhp-mod-links {
        grid-template-columns: 1fr;
    }

    .vhp-mod-link {
        min-height: 62px;
        padding: 12px;
    }

    .vhp-mod-install {
        padding: 18px;
        border-radius: 14px;
    }

    .vhp-mod-step {
        padding: 12px;
    }
}
