
/* Cinema Mode Skin - Vimeo Style */

.cm-app {

    --cm-bg: var(--bg-primary, #0a0a0a);

    --cm-bg-secondary: var(--bg-secondary, #0a0a0a);

    --cm-bg-tertiary: var(--bg-tertiary, #1a1a1a);

    --cm-bg-hover: var(--bg-hover, #2a2a2a);

    --cm-text: var(--text-primary, #fff);

    --cm-text-secondary: var(--text-secondary, #aaa);

    --cm-text-muted: var(--text-muted, #666);

    --cm-border: var(--border-color, #1a1a1a);

    --cm-accent: #1ab7ea;

}

[data-theme="light"] .cm-app, .light-mode .cm-app, body.light .cm-app {

    --cm-bg: #ffffff; --cm-bg-secondary: #fafafa; --cm-bg-tertiary: #f0f0f0; --cm-bg-hover: #e5e5e5; --cm-text: #1a1a1a; --cm-text-secondary: #666; --cm-text-muted: #999; --cm-border: #e5e5e5;

}

.cm-app { min-height: 100vh; background: var(--cm-bg); color: var(--cm-text); display: flex; flex-direction: column; }



/* Header */

.cm-header { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 32px; background: var(--cm-bg-secondary); border-bottom: 1px solid var(--cm-border); }

.cm-header-left { display: flex; align-items: center; gap: 40px; }

.cm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cm-text); font-size: 20px; font-weight: 600; }

.cm-logo i { color: var(--cm-accent); font-size: 24px; }

.cm-nav { display: flex; gap: 32px; }

.cm-nav a { color: var(--cm-text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; }

.cm-nav a:hover { color: var(--cm-text); }

.cm-nav a.active { color: var(--cm-accent); }

.cm-header-right { display: flex; align-items: center; gap: 20px; }

.cm-search { position: relative; }

.cm-search input { width: 240px; padding: 10px 16px 10px 40px; background: var(--cm-bg-tertiary); border: 1px solid var(--cm-border); border-radius: 4px; color: var(--cm-text); font-size: 14px; }

.cm-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--cm-text-muted); }



/* Skin Switcher */

.cm-skin-switcher { position: relative; }

.cm-skin-btn { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--cm-bg-tertiary); border: 1px solid var(--cm-border); border-radius: 4px; color: var(--cm-text); cursor: pointer; font-size: 13px; }

.cm-skin-btn:hover { background: var(--cm-bg-hover); }

.cm-skin-dot { width: 10px; height: 10px; border-radius: 50%; }

.cm-skin-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px; min-width: 180px; background: var(--cm-bg-tertiary); border: 1px solid var(--cm-border); border-radius: 8px; display: none; z-index: 200; overflow: hidden; }

.cm-skin-switcher.active .cm-skin-dropdown { display: block; }

.cm-skin-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--cm-text); text-decoration: none; font-size: 14px; }

.cm-skin-option:hover { background: var(--cm-bg-hover); }

.cm-skin-option.active { background: rgba(26,183,234,0.1); }

.cm-skin-option .fa-check { margin-left: auto; font-size: 12px; color: var(--cm-accent); }

.cm-upload-btn { padding: 10px 20px; background: var(--cm-accent); color: white; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px; }



/* Main */

.cm-main { flex: 1; }



/* Hero */

.cm-hero { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.cm-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(20px) brightness(0.3); transform: scale(1.1); }

.cm-hero-content { position: relative; text-align: center; max-width: 700px; padding: 40px; }

.cm-hero-badge { display: inline-block; padding: 6px 14px; background: var(--cm-accent); border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }

.cm-hero-content h1 { font-size: 42px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }

.cm-hero-content p { font-size: 18px; color: var(--cm-text-secondary); margin: 0 0 30px; }

.cm-hero-play { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: white; color: #0a0a0a; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 16px; }

.cm-hero-play:hover { background: var(--cm-accent); color: white; }



/* Section */

.cm-section { padding: 48px 32px; }

.cm-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }

.cm-section-header h2 { font-size: 24px; font-weight: 600; margin: 0; }



/* Grid */

.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.cm-card { text-decoration: none; color: var(--cm-text); }

.cm-card-thumb { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }

.cm-card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 0.3s; }

.cm-card:hover img { transform: scale(1.05); }

.cm-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--cm-bg-tertiary); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--cm-text-muted); }

.cm-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }

.cm-card:hover .cm-card-overlay { opacity: 1; }

.cm-card-overlay i { font-size: 48px; color: white; }

.cm-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.8); padding: 4px 8px; border-radius: 4px; font-size: 12px; color: white; }

.cm-card-info h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; line-height: 1.4; }

.cm-card-creator { font-size: 14px; color: var(--cm-accent); display: block; margin-bottom: 8px; }

.cm-card-stats { font-size: 13px; color: var(--cm-text-muted); display: flex; gap: 16px; }

.cm-card-stats i { margin-right: 4px; }



/* Theater */

.cm-theater { max-width: 1200px; margin: 0 auto; padding: 32px; }

.cm-player { background: black; border-radius: 8px; overflow: hidden; margin-bottom: 24px; }

.cm-player video { width: 100%; aspect-ratio: 16/9; }

.cm-video-details { margin-bottom: 32px; }

.cm-video-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }

.cm-creator { display: flex; align-items: center; gap: 16px; }

.cm-creator-avatar { width: 56px; height: 56px; background: var(--cm-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: white; }

.cm-creator-info h1 { font-size: 24px; font-weight: 600; margin: 0 0 4px; }

.cm-creator-info span { font-size: 15px; color: var(--cm-text-secondary); }

.cm-video-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cm-action { display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--cm-bg-tertiary); border: 1px solid var(--cm-border); border-radius: 4px; color: var(--cm-text); cursor: pointer; font-size: 14px; }

.cm-action:hover { background: var(--cm-bg-hover); }

.cm-video-stats { display: flex; gap: 24px; font-size: 14px; color: var(--cm-text-muted); margin-bottom: 20px; }

.cm-video-stats i { margin-right: 6px; color: var(--cm-accent); }

.cm-description { padding: 20px; background: var(--cm-bg-tertiary); border-radius: 8px; line-height: 1.7; }



/* Related */

.cm-related { margin-top: 40px; }

.cm-related h3 { font-size: 18px; margin-bottom: 20px; }

.cm-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.cm-related-card { text-decoration: none; color: var(--cm-text); }

.cm-related-thumb { border-radius: 6px; overflow: hidden; margin-bottom: 10px; }

.cm-related-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.cm-related-card h4 { font-size: 14px; font-weight: 500; margin: 0; }



/* Footer */

.cm-footer { padding: 20px 32px; background: var(--cm-bg-secondary); border-top: 1px solid var(--cm-border); text-align: center; font-size: 13px; color: var(--cm-text-muted); }

.cm-footer a { color: var(--cm-text-muted); text-decoration: none; }

.cm-footer a:hover { color: var(--cm-text); }

.cm-footer span { color: var(--cm-accent); margin-left: 16px; }



@media (max-width: 900px) { .cm-related-grid { grid-template-columns: repeat(2, 1fr); } .cm-hero { height: 350px; } .cm-hero-content h1 { font-size: 28px; } }

