Actions

Template

VideoGallery/styles.css: Difference between revisions

From Dune Awakening DB

 
mNo edit summary
Line 1: Line 1:
/* Template:VideoGallery/styles.css
/* Template:VideoGallery/styles.css
   Video Gallery system styles for Dune wiki
   Video Gallery styles for Dune wiki */
  Integrates with existing Dune theme */


/* ================================================
/* ================================================
   VIDEO GALLERY BASE STYLES
   HEADER SECTION
   ================================================ */
   ================================================ */
.video-gallery-header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, rgba(252, 231, 200, 0.05) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.3);
    position: relative;
    overflow: hidden;
}
.video-gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #fce7c8 50%,
        transparent 100%);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


/* Main Container - Fixed height for wiki integration */
.video-gallery-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #fce7c8;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(252, 231, 200, 0.6);
    margin-bottom: 10px;
}
 
.video-gallery-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    color: #E3BB7A;
    letter-spacing: 2px;
}
 
/* ================================================
  MAIN CONTAINER
  ================================================ */
.video-gallery-main-container {
.video-gallery-main-container {
     display: flex;
     display: flex;
     gap: 12px;
     gap: 12px;
     padding: 12px 0;
     padding: 12px;
     max-width: 100%;
     max-width: 100%;
     margin: 0 auto;
     margin: 0 auto;
Line 39: Line 87:
         rgba(252, 231, 200, 0.01) 70px
         rgba(252, 231, 200, 0.01) 70px
     );
     );
     z-index: -1;
 
     z-index: 1;
}
}


/* Video Categories - 60% width */
/* ================================================
  VIDEO CATEGORIES (LEFT SIDE - 60%)
  ================================================ */
.video-categories {
.video-categories {
     flex: 0 0 60%;
     flex: 0 0 60%;
Line 51: Line 102:
     padding-right: 10px;
     padding-right: 10px;
     max-height: 100%;
     max-height: 100%;
    position: relative;
    z-index: 2;
}
}


/* Search Bar */
/* ================================================
  SEARCH BAR
  ================================================ */
.video-search-bar {
.video-search-bar {
     background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
     background: linear-gradient(135deg, rgba(252, 231, 200, 0.05) 0%, rgba(12,10,20,.9) 100%);
     border: 2px solid rgba(252, 231, 200, 0.2);
     border: 2px solid rgba(252, 231, 200, 0.3);
     padding: 10px;
     padding: 10px;
     display: flex;
     display: flex;
Line 77: Line 132:


.video-search-input::placeholder {
.video-search-input::placeholder {
     color: rgba(252, 231, 200, 0.4);
     color: rgba(252, 231, 200, 0.5);
}
}


Line 101: Line 156:
     background: rgba(252, 231, 200, 0.2);
     background: rgba(252, 231, 200, 0.2);
     border-color: #fce7c8;
     border-color: #fce7c8;
    transform: translateY(-1px);
}
}


/* Tab Navigation */
/* ================================================
  TAB NAVIGATION - FIXED HORIZONTAL LAYOUT
  ================================================ */
.video-tabs-nav {
.video-tabs-nav {
     display: flex;
     display: flex;
    flex-direction: row !important;
     gap: 0;
     gap: 0;
     background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
     background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
     border: 2px solid rgba(252, 231, 200, 0.2);
     border: 2px solid rgba(252, 231, 200, 0.2);
    border-radius: 0;
     overflow: hidden;
     overflow: hidden;
     flex-shrink: 0;
     flex-shrink: 0;
    height: auto;
    width: 100%;
}
}


Line 129: Line 191:
     position: relative;
     position: relative;
     overflow: hidden;
     overflow: hidden;
    white-space: nowrap;
    min-width: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
}


Line 142: Line 211:
     right: 0;
     right: 0;
     height: 3px;
     height: 3px;
     background: #fce7c8;
     background: linear-gradient(90deg, #fce7c8 0%, #E3BB7A 100%);
     transform: translateY(100%);
     transform: translateY(100%);
     transition: transform 0.3s ease;
     transition: transform 0.3s ease;
Line 161: Line 230:
}
}


/* Tab icon */
/* ================================================
.tab-icon {
  TAB CONTENT CONTAINER
    display: inline-block;
  ================================================ */
    margin-right: 6px;
    font-size: 14px;
}
 
/* Tab Content Container */
.video-tab-content {
.video-tab-content {
    display: none;
     flex: 1 1 auto;
     flex: 1 1 auto;
     overflow-y: auto;
     overflow-y: auto;
     overflow-x: hidden;
     overflow-x: hidden;
     padding-right: 10px;
     padding-right: 10px;
    min-height: 0;
}
}


/* Video Section (Purpose Groups) */
.video-tab-content.active {
    display: block;
}
 
 
/* ================================================
  VIDEO SECTIONS
  ================================================ */
.video-section {
.video-section {
     background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
     background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
Line 229: Line 300:
     color: #fce7c8;
     color: #fce7c8;
     text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
     text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
    margin: 0;
}
}


/* Video Grid */
/* ================================================
  VIDEO GRID
  ================================================ */
.video-grid {
.video-grid {
     display: grid;
     display: grid;
Line 245: Line 317:
}
}


/* Video Card */
/* ================================================
  VIDEO CARDS
  ================================================ */
.video-card {
.video-card {
     background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
     background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
Line 253: Line 327:
     position: relative;
     position: relative;
     overflow: hidden;
     overflow: hidden;
}
}


Line 298: Line 373:
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     position: relative;
     position: relative;
}
/* Fallback for videos without thumbnails */
.video-thumbnail.no-thumb {
    background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-thumbnail.no-thumb::before {
    content: '▶';
    font-size: 36px;
    color: rgba(252, 231, 200, 0.3);
}
}


Line 355: Line 416:
}
}


/* Video Player Panel - 40% width */
/* ================================================
  VIDEO PLAYER PANEL (RIGHT SIDE - 40%)
  ================================================ */
.video-player-panel {
.video-player-panel {
     flex: 0 0 calc(40% - 20px);
     flex: 0 0 calc(40% - 20px);
Line 371: Line 434:
     max-height: 100%;
     max-height: 100%;
     overflow: hidden;
     overflow: hidden;
    z-index: 2;
}
}


Line 442: Line 506:
     color: #fce7c8;
     color: #fce7c8;
     text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
     text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
     margin: 0 0 6px 0;
     margin-bottom: 6px;
}
}


Line 450: Line 514:
     font-size: 13px;
     font-size: 13px;
     color: #E3BB7A;
     color: #E3BB7A;
    flex-wrap: wrap;
}
}


.video-meta span {
.video-author,
.video-date {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
Line 489: Line 553:
}
}


/* Notes formatting */
/* Markdown-style notes formatting */
.notes-content h3 {
.notes-content h3 {
     font-family: 'Orbitron', sans-serif;
     font-family: 'Orbitron', sans-serif;
     font-size: 14px;
     font-size: 14px;
     color: #fce7c8;
     color: #fce7c8;
     margin: 16px 0 8px 0;
     margin-top: 16px;
    margin-bottom: 8px;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1px;
}
.notes-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: #E3BB7A;
    margin: 12px 0 6px 0;
}
}


.notes-content p {
.notes-content p {
     margin: 8px 0;
     margin-bottom: 12px;
    color: #E0E0E0;
     line-height: 1.6;
    font-size: 13px;
     line-height: 1.4;
}
}


Line 525: Line 581:
}
}


.notes-content a {
/* ================================================
    color: #E3BB7A;
  RESPONSIVE DESIGN
    text-decoration: none;
  ================================================ */
    transition: color 0.3s ease;
@media (max-width: 1024px) {
}
 
.notes-content a:hover {
    color: #fce7c8;
    text-decoration: underline;
}
 
.no-notes {
    color: rgba(252, 231, 200, 0.4);
    font-style: italic;
}
 
/* Wiki Link Section */
.wiki-link-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(252, 231, 200, 0.2);
}
 
.wiki-link-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
    border: 2px solid rgba(252, 231, 200, 0.3);
    color: #fce7c8;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}
 
.wiki-link-button:hover {
    background: rgba(252, 231, 200, 0.2);
    border-color: #fce7c8;
    box-shadow: 0 0 15px rgba(252, 231, 200, 0.3);
}
 
/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: rgba(252, 231, 200, 0.5);
    font-size: 16px;
}
 
.no-results-message strong {
    color: #fce7c8;
}
 
.no-results-message a {
    color: #E3BB7A;
    text-decoration: none;
}
 
.no-results-message a:hover {
    color: #fce7c8;
    text-decoration: underline;
}
 
/* Music Video Gallery Specific Styles */
.music-video-gallery .placeholder-icon {
    font-size: 72px;
    color: rgba(252, 231, 200, 0.4);
}
 
/* Style Tag for Music Videos */
.style-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(168, 85, 247, 0.9);
    padding: 2px 8px;
    font-size: 10px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(252, 231, 200, 0.3);
}
 
/* Music Video Tab Icons */
.music-video-gallery .tab-icon {
    font-size: 16px;
}
 
/* Music Video Section Headers */
.music-video-gallery .video-section[data-secondary-tag] .section-title::after {
    content: ' • ' attr(data-duration-range);
    font-size: 14px;
    color: #E3BB7A;
    font-weight: 400;
}
 
/* Style-based sections */
.music-video-gallery .video-section[data-primary-tag="By Style"] {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(12,10,20,.9) 100%);
}
 
/* Responsive Design */
@media (max-width: 1200px) {
     .video-gallery-main-container {
     .video-gallery-main-container {
         flex-direction: column;
         flex-direction: column;
         height: auto;
         height: auto;
         min-height: 900px;
         min-height: 800px;
     }
     }
      
      
     .video-categories {
     .video-categories {
         flex: 0 0 auto;
         flex: 1 1 auto;
        min-height: 400px;
         max-height: 500px;
         max-height: 500px;
        padding-right: 0;
     }
     }
      
      
     .video-player-panel {
     .video-player-panel {
         flex: 1 1 auto;
         flex: 0 0 400px;
         min-height: 400px;
         margin-top: 12px;
     }
     }
      
      
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
@media (max-width: 768px) {
     .video-tabs-nav {
     .video-tabs-nav {
         flex-wrap: wrap;
         flex-wrap: wrap;
Line 659: Line 607:
      
      
     .video-tab {
     .video-tab {
         flex: 0 0 33.333%;
         flex: 1 1 calc(33.333% - 1px);
         border-bottom: 1px solid rgba(252, 231, 200, 0.2);
         min-width: 120px;
    }
}
 
@media (max-width: 768px) {
    .video-gallery-title {
        font-size: 24px;
     }
     }
      
      
     .video-tab:nth-child(3n) {
     .video-gallery-subtitle {
         border-right: none;
         font-size: 14px;
     }
     }
      
      
     .video-grid {
     .video-grid {
         grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
         grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
     }
     }
      
      
     .video-title {
     .video-tab {
        font-size: 12px;
    }
   
    .video-channel {
         font-size: 10px;
         font-size: 10px;
        padding: 10px 8px;
        letter-spacing: 1px;
     }
     }
      
      
Line 684: Line 636:
}
}


@media (max-width: 480px) {
/* ================================================
    .video-gallery-main-container {
  MEDIAWIKI SPECIFIC OVERRIDES
        padding: 8px 0;
  ================================================ */
     }
/* Override any default MediaWiki button styles for tabs */
      
.video-tabs-nav button.video-tab {
    .video-categories {
    margin: 0 !important;
        padding-right: 5px;
     border-radius: 0 !important;
    }
     box-shadow: none !important;
   
}
    .video-grid {
 
        grid-template-columns: repeat(2, 1fr);
/* Ensure proper display in MediaWiki content area */
        gap: 8px;
#mw-content-text .video-gallery-main-container {
    }
    clear: both;
   
}
    .video-search-bar {
 
        flex-wrap: wrap;
/* Fix for MediaWiki's default link colors */
    }
.video-gallery-main-container a {
   
    color: inherit;
    .video-search-input {
     text-decoration: none;
        flex: 1 0 100%;
        margin-bottom: 8px;
     }
   
    .video-search-button {
        flex: 1;
    }
}
}

Revision as of 21:44, 2 June 2025

/* Template:VideoGallery/styles.css
   Video Gallery styles for Dune wiki */

/* ================================================
   HEADER SECTION
   ================================================ */
.video-gallery-header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, rgba(252, 231, 200, 0.05) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.3);
    position: relative;
    overflow: hidden;
}

.video-gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fce7c8 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.video-gallery-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #fce7c8;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(252, 231, 200, 0.6);
    margin-bottom: 10px;
}

.video-gallery-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    color: #E3BB7A;
    letter-spacing: 2px;
}

/* ================================================
   MAIN CONTAINER
   ================================================ */
.video-gallery-main-container {
    display: flex;
    gap: 12px;
    padding: 12px;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    height: 850px;
    min-height: 600px;
    overflow: hidden;
    align-items: stretch;
    background: rgba(0,0,2,.3);
    border: 2px solid rgba(252, 231, 200, 0.2);
}

/* Tech pattern overlay */
.video-gallery-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(252, 231, 200, 0.01) 35px,
        rgba(252, 231, 200, 0.01) 70px
    );

    z-index: 1;
}

/* ================================================
   VIDEO CATEGORIES (LEFT SIDE - 60%)
   ================================================ */
.video-categories {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    padding-right: 10px;
    max-height: 100%;
    position: relative;
    z-index: 2;
}

/* ================================================
   SEARCH BAR
   ================================================ */
.video-search-bar {
    background: linear-gradient(135deg, rgba(252, 231, 200, 0.05) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.3);
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.video-search-input {
    flex: 1;
    background: rgba(0, 0, 2, 0.6);
    border: 1px solid rgba(252, 231, 200, 0.2);
    color: #fce7c8;
    padding: 8px 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.video-search-input::placeholder {
    color: rgba(252, 231, 200, 0.5);
}

.video-search-input:focus {
    border-color: #fce7c8;
    box-shadow: 0 0 10px rgba(252, 231, 200, 0.3);
}

.video-search-button {
    background: rgba(252, 231, 200, 0.1);
    border: 2px solid rgba(252, 231, 200, 0.3);
    color: #fce7c8;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.video-search-button:hover {
    background: rgba(252, 231, 200, 0.2);
    border-color: #fce7c8;
    transform: translateY(-1px);
}

/* ================================================
   TAB NAVIGATION - FIXED HORIZONTAL LAYOUT
   ================================================ */
.video-tabs-nav {
    display: flex;
    flex-direction: row !important;
    gap: 0;
    background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    height: auto;
    width: 100%;
}

.video-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(252, 231, 200, 0.2);
    color: #E3BB7A;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.video-tab:last-child {
    border-right: none;
}

.video-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fce7c8 0%, #E3BB7A 100%);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-tab:hover {
    background: rgba(252, 231, 200, 0.05);
    color: #fce7c8;
}

.video-tab.active {
    background: rgba(252, 231, 200, 0.1);
    color: #fce7c8;
}

.video-tab.active::before {
    transform: translateY(0);
}

/* ================================================
   TAB CONTENT CONTAINER
   ================================================ */
.video-tab-content {
    display: none;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.video-tab-content.active {
    display: block;
}


/* ================================================
   VIDEO SECTIONS
   ================================================ */
.video-section {
    background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 2px 10px rgba(0,0,0,0.8);
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fce7c8 50%, 
        transparent 100%);
    opacity: 0.3;
}

.video-section:hover {
    border-color: rgba(252, 231, 200, 0.4);
    box-shadow: 
        inset 0 0 30px rgba(252, 231, 200, 0.05),
        0 2px 20px rgba(252, 231, 200, 0.1);
}

.video-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(252, 231, 200, 0.2);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fce7c8;
    text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
}

/* ================================================
   VIDEO GRID
   ================================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================================
   VIDEO CARDS
   ================================================ */
.video-card {
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

}

.video-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        #fce7c8 50%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.video-card:hover {
    transform: translateY(-2px);
    border-color: #fce7c8;
    box-shadow: 
        0 5px 20px rgba(252, 231, 200, 0.2),
        inset 0 0 20px rgba(252, 231, 200, 0.05);
}

.video-card:hover::before {
    opacity: 0.3;
}

.video-card.active {
    border-color: #a855f7;
    box-shadow: 
        0 0 30px rgba(168, 85, 247, 0.4),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

/* Video Thumbnail */
.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Video Info Overlay */
.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.9) 100%);
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    color: #fce7c8;
    line-height: 1.2;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-channel {
    font-size: 11px;
    color: #E3BB7A;
    opacity: 0.8;
}

.video-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    font-size: 11px;
    color: #fce7c8;
    font-family: 'Orbitron', sans-serif;
    border: 1px solid rgba(252, 231, 200, 0.2);
}

/* ================================================
   VIDEO PLAYER PANEL (RIGHT SIDE - 40%)
   ================================================ */
.video-player-panel {
    flex: 0 0 calc(40% - 20px);
    background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    box-shadow: 
        inset 0 0 30px rgba(0,0,0,0.5),
        0 2px 20px rgba(0,0,0,0.8);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    z-index: 2;
}

.video-player-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fce7c8 50%, 
        transparent 100%);
    opacity: 0.5;
}

/* No Video Selected State */
.no-video-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(252, 231, 200, 0.3);
    text-align: center;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.no-video-selected p {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Player Container */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border: 2px solid rgba(252, 231, 200, 0.2);
    flex-shrink: 0;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Details Header */
.video-details-header {
    padding: 10px;
    background: rgba(0, 0, 2, 0.6);
    border: 1px solid rgba(252, 231, 200, 0.2);
    flex-shrink: 0;
}

.video-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fce7c8;
    text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
    margin-bottom: 6px;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #E3BB7A;
}

.video-author,
.video-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Video Notes Section */
.video-notes-section {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 2, 0.6);
    border: 1px solid rgba(252, 231, 200, 0.2);
    overflow: hidden;
}

.notes-header {
    padding: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #E3BB7A;
    font-weight: 700;
    border-bottom: 1px solid rgba(252, 231, 200, 0.2);
    flex-shrink: 0;
}

.notes-content {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
}

/* Markdown-style notes formatting */
.notes-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: #fce7c8;
    margin-top: 16px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notes-content p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.notes-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.notes-content li {
    margin-bottom: 6px;
    color: #E0E0E0;
    font-size: 13px;
    line-height: 1.4;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    .video-gallery-main-container {
        flex-direction: column;
        height: auto;
        min-height: 800px;
    }
    
    .video-categories {
        flex: 1 1 auto;
        max-height: 500px;
        padding-right: 0;
    }
    
    .video-player-panel {
        flex: 0 0 400px;
        margin-top: 12px;
    }
    
    .video-tabs-nav {
        flex-wrap: wrap;
    }
    
    .video-tab {
        flex: 1 1 calc(33.333% - 1px);
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .video-gallery-title {
        font-size: 24px;
    }
    
    .video-gallery-subtitle {
        font-size: 14px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .video-tab {
        font-size: 10px;
        padding: 10px 8px;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

/* ================================================
   MEDIAWIKI SPECIFIC OVERRIDES
   ================================================ */
/* Override any default MediaWiki button styles for tabs */
.video-tabs-nav button.video-tab {
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Ensure proper display in MediaWiki content area */
#mw-content-text .video-gallery-main-container {
    clear: both;
}

/* Fix for MediaWiki's default link colors */
.video-gallery-main-container a {
    color: inherit;
    text-decoration: none;
}