/*
Theme Name: ClipRoll
Theme URI: https://themeforest.net/user/your-username
Description: A mobile-first, TikTok-inspired WordPress theme for short video sharing. Features vertical video feed, user profiles, video uploads, and modern dark UI with gradient accents.
Author: Your Name
Author URI: https://your-website.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cliproll
Tags: dark, video, social, modern, responsive, mobile-first, buddypress, video-sharing
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ClipRoll Color Palette */
:root {
    --cliproll-primary: #ff6b9d;
    --cliproll-secondary: #4ecdc4;
    --cliproll-accent: #45b7d1;
    --cliproll-dark: #0f0f23;
    --cliproll-darker: #0a0a1a;
    --cliproll-gray: #2a2a3e;
    --cliproll-light-gray: #8a8b91;
    --cliproll-white: #ffffff;
    --cliproll-black: #000000;
    --cliproll-gradient: linear-gradient(45deg, var(--cliproll-primary), var(--cliproll-secondary));
    --cliproll-gradient-alt: linear-gradient(135deg, var(--cliproll-primary), var(--cliproll-accent));
    --cliproll-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --cliproll-shadow-light: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cliproll-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cliproll-primary);
}

/* Header Styles - Mobile-First */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--cliproll-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.site-logo a {
    color: inherit;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Search Bar */
.search-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cliproll-dark);
    padding: 1rem;
    border-bottom: 1px solid var(--cliproll-gray);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar.active {
    transform: translateY(0);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.search-form input[type="search"] {
    flex: 1;
    background: var(--cliproll-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cliproll-white);
    padding: 0.8rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--cliproll-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.search-form button {
    background: var(--cliproll-gradient);
    border: none;
    color: var(--cliproll-white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.search-form button:hover {
    transform: scale(1.05);
}

/* Header Buttons */
.header-btn {
    background: none;
    border: none;
    color: var(--cliproll-white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    position: relative;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.header-btn svg {
    width: 20px;
    height: 20px;
}

.upload-btn {
    background: var(--cliproll-gradient);
    color: var(--cliproll-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.upload-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--cliproll-shadow);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cliproll-primary);
    background: var(--cliproll-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cliproll-white);
    font-weight: 600;
    font-size: 0.9rem;
}

.user-toggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--cliproll-dark);
    border: 1px solid var(--cliproll-gray);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 0.5rem;
    box-shadow: var(--cliproll-shadow);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--cliproll-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.user-dropdown a:hover {
    background: var(--cliproll-gray);
    color: var(--cliproll-primary);
}

/* Main Content - Vertical Video Feed */
.site-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Vertical Video Feed Container */
.video-feed-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    background: var(--cliproll-dark);
}

/* Individual Video Item */
.video-item {
    width: 100%;
    height: calc(100vh - 70px);
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cliproll-black);
}

/* Video Player */
.video-player {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--cliproll-black);
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Controls Overlay */
.video-controls {
    position: absolute;
    right: 1rem;
    bottom: 8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.video-action-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--cliproll-white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-action-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: var(--cliproll-primary);
}

.video-action-btn.liked {
    color: var(--cliproll-primary);
    background: rgba(255, 107, 157, 0.2);
    border-color: var(--cliproll-primary);
}

.video-action-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.video-action-btn:hover svg {
    transform: scale(1.1);
}

/* Video Info Overlay */
.video-info-overlay {
    position: absolute;
    left: 1rem;
    bottom: 8rem;
    max-width: 70%;
    z-index: 10;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--cliproll-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

.video-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cliproll-white);
    box-shadow: var(--cliproll-shadow-light);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    color: var(--cliproll-white);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 0.25rem;
}

.author-handle {
    color: var(--cliproll-light-gray);
    font-size: 0.9rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.follow-btn {
    background: var(--cliproll-gradient);
    color: var(--cliproll-white);
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.follow-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--cliproll-shadow-light);
}

.follow-btn.following {
    background: var(--cliproll-gray);
    color: var(--cliproll-light-gray);
}

.video-description {
    color: var(--cliproll-white);
    font-size: 0.95rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.video-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cliproll-white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-tag:hover {
    background: var(--cliproll-primary);
    color: var(--cliproll-white);
}

/* Video Stats */
.video-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: absolute;
    right: 1rem;
    bottom: 14rem;
    z-index: 10;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-value {
    font-weight: 700;
    color: var(--cliproll-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--cliproll-light-gray);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Progress Bar */
.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.video-progress-bar {
    height: 100%;
    background: var(--cliproll-gradient);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

/* Loading State */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--cliproll-white);
    z-index: 5;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--cliproll-gray);
    border-top: 4px solid var(--cliproll-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video Upload Form */
.video-upload-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--cliproll-gray);
    border-radius: 16px;
    box-shadow: var(--cliproll-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--cliproll-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--cliproll-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--cliproll-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cliproll-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload-area {
    border: 2px dashed var(--cliproll-light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--cliproll-primary);
    background: rgba(255, 107, 157, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--cliproll-primary);
    background: rgba(255, 107, 157, 0.1);
}

.video-preview {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--cliproll-dark);
}

/* Traditional Grid Layout (Desktop) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-card {
    background: var(--cliproll-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--cliproll-shadow-light);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cliproll-shadow);
}

.video-thumbnail {
    width: 100%;
    height: 240px;
    background: var(--cliproll-gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cliproll-black);
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--cliproll-white);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--cliproll-white);
    line-height: 1.3;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--cliproll-light-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.video-stats-grid {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    background: var(--cliproll-gradient);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--cliproll-white);
    color: var(--cliproll-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--cliproll-shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: var(--cliproll-dark);
}

/* Sidebar */
.sidebar {
    background: var(--cliproll-gray);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    box-shadow: var(--cliproll-shadow-light);
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cliproll-white);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cliproll-primary);
}

/* Footer */
.site-footer {
    background: var(--cliproll-darker);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--cliproll-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--cliproll-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: var(--cliproll-light-gray);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--cliproll-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--cliproll-gray);
    color: var(--cliproll-light-gray);
    font-size: 0.9rem;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--cliproll-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--cliproll-white);
}

.newsletter-form button {
    background: var(--cliproll-gradient);
    color: var(--cliproll-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--cliproll-gradient);
    color: var(--cliproll-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--cliproll-shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Hide traditional grid on mobile, show vertical feed */
    .video-grid {
        display: none;
    }
    
    .video-feed-container {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    /* Show traditional grid on desktop, hide vertical feed */
    .video-feed-container {
        display: none;
    }
    
    .video-grid {
        display: grid;
    }
}

/* WordPress Specific Styles */
.wp-block-image img {
    border-radius: 12px;
}

.wp-block-button .wp-block-button__link {
    background: var(--cliproll-gradient);
    border-radius: 50px;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--cliproll-white);
    font-weight: 700;
    transition: all 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--cliproll-shadow);
}

/* Comments */
.comments-area {
    background: var(--cliproll-gray);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    box-shadow: var(--cliproll-shadow-light);
}

.comment-form input,
.comment-form textarea {
    background: var(--cliproll-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cliproll-white);
    padding: 0.8rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--cliproll-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--cliproll-light-gray);
    border-radius: 50%;
    border-top-color: var(--cliproll-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cliproll-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--cliproll-gradient);
    border-radius: 4px;
}

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

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 350px;
}

.notification {
    background: var(--cliproll-dark);
    color: var(--cliproll-white);
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    border-left: 4px solid var(--cliproll-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--cliproll-shadow);
}

.notification-success {
    border-left-color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-close {
    background: none;
    border: none;
    color: var(--cliproll-white);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Video Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: var(--cliproll-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Loading More */
.loading-more {
    text-align: center;
    padding: 2rem;
    color: var(--cliproll-light-gray);
}

/* Body Menu Open */
body.menu-open {
    overflow: hidden;
}

/* Pagination */
.pagination-container {
    text-align: center;
    margin: 2rem 0;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    background: var(--cliproll-gray);
    color: var(--cliproll-white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--cliproll-primary);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--cliproll-gradient);
    color: var(--cliproll-white);
}

/* No Videos State */
.no-videos {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--cliproll-light-gray);
}

.no-videos h2 {
    color: var(--cliproll-white);
    margin-bottom: 1rem;
}

.no-videos p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
} 
/* HAHZ.LIVE mobile vertical experience */
html,body,#page{max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
.site-logo{min-width:0;max-width:calc(100% - 110px);background:none;-webkit-text-fill-color:initial}
.site-logo .custom-logo-link{display:flex;align-items:center;max-width:100%}
.site-logo .custom-logo{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:38px!important;object-fit:contain}
.header-actions{flex-shrink:0}
@media(max-width:768px){
 :root{--hahz-header:58px;--hahz-nav:64px}
 html,body{margin:0!important;width:100%;overscroll-behavior-x:none}
 .site-header{height:var(--hahz-header);padding:0;background:rgba(0,0,0,.94);border:0}
 .header-container{padding:0 14px;gap:10px;min-width:0}
 .site-logo{flex:1 1 auto;max-width:calc(100% - 104px);font-size:20px;overflow:hidden}
 .site-logo .custom-logo{max-height:32px!important;max-width:100%!important}
 .header-actions{gap:8px}
 .header-actions .upload-btn{display:none}
 .header-btn{width:38px;height:38px;min-width:38px;padding:7px}
 .search-bar{top:var(--hahz-header);width:100%;padding:10px;z-index:999}
 .search-container,.search-form{min-width:0;width:100%}
 .search-form input[type=search]{min-width:0;width:100%;font-size:16px}
 #content,.site-content{padding:0!important;margin:0!important;max-width:100%;width:100%;min-width:0}
 .site-main{margin-top:var(--hahz-header)!important;min-height:0;padding:0!important;width:100%;max-width:100%}
 body.home .video-feed-container,body.blog .video-feed-container{height:calc(100dvh - var(--hahz-header) - var(--hahz-nav) - env(safe-area-inset-bottom,0px));overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior-y:contain}
 .video-feed-container::-webkit-scrollbar{display:none}
 body.home .video-item,body.blog .video-item{height:calc(100dvh - var(--hahz-header) - var(--hahz-nav) - env(safe-area-inset-bottom,0px));min-height:0;width:100%;max-width:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
 .video-player,.video-player video,.video-player iframe{max-width:100%;width:100%;height:100%}
 .video-player video{object-fit:contain;background:#000}
 .video-controls{right:12px;bottom:120px;gap:18px;z-index:12}
 .video-action-btn{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
 .video-info-overlay{position:absolute;left:0;right:65px;bottom:16px;max-width:calc(100% - 75px);z-index:11;overflow-wrap:anywhere;text-align:left}
 .video-info-overlay .video-title{font-size:16px;line-height:1.35}
 .video-info-overlay .video-description{font-size:13px;line-height:1.4;max-height:3em;overflow:hidden}
 .video-stats{display:none}
 body.home .site-footer,body.blog .site-footer{display:none!important}
 .site-footer{padding:20px 16px 90px!important}
 .site-footer .footer-content{display:none!important}
 .site-footer .footer-bottom{padding:0!important;text-align:center;font-size:12px;line-height:1.8}
 .hahz-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:calc(var(--hahz-nav) + env(safe-area-inset-bottom,0px));padding:4px 8px env(safe-area-inset-bottom,0px);background:#080808;border-top:1px solid #202020;z-index:1100;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center}
 .hahz-bottom-nav a{color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;min-width:0}
 .hahz-bottom-nav svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.9;fill:none}
 .hahz-bottom-nav .nav-upload{background:linear-gradient(110deg,#26e0df 0 20%,#fff 20% 80%,#ff315f 80%);color:#000;width:43px;height:31px;border-radius:7px;margin:auto}
 .hahz-bottom-nav .nav-upload svg{width:22px;height:22px}
}
@media(min-width:769px){.hahz-bottom-nav{display:none}}


