/**
 * Single Scene Page - Non-Critical CSS
 * 
 * This file contains CSS that is not needed for First Contentful Paint (FCP).
 * These styles are loaded after the critical CSS to improve page load performance.
 * 
 * Critical CSS (kept inline):
 * - Hero header styles
 * - Video player container
 * - Basic layout and positioning
 * - Essential typography
 * 
 * Non-Critical CSS (in this file):
 * - Mobile responsive styles
 * - Hover effects and animations
 * - Below-the-fold component styles
 * - Advanced styling and effects
 */

/* ============================================================================
   MOBILE RESPONSIVE STYLES
   ============================================================================ */

/* Mobile adjustments for gallery and modal */
@media (max-width: 768px) {
    .gallery-hscroll-section {
        margin: 30px 0;
        height: 90vh;
        min-height: 90vh;
    }
    
    .gallery-section-header {
        flex-direction: row;
        gap: 15px;
        text-align: left;
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
    }
    
    .gallery-section-title {
        font-size: 1.5em;
    }
    
    .gallery-count {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    
    .gallery-horizontal-rows {
        padding: 0 15px;
        gap: 15px;
    }
    
    .gallery-row {
        gap: 12px;
        padding: 8px 0;
    }
    
    .gallery-photo-wrapper {
        flex: 0 0 240px;
        width: 240px;
        height: 180px;
    }
    
    .gallery-scroll-nav {
        font-size: 2rem;
        min-width: 45px;
        min-height: 55px;
        padding: 12px;
    }
    
    /* Mobile responsive adjustments for gallery arrows */
    .gallery-row-nav {
        font-size: 3rem; /* 50% of 6rem */
        min-width: 75px; /* 50% of 150px */
        min-height: 90px; /* 50% of 180px */
        padding: 22.5px; /* 50% of 45px */
    }
    
    .gallery-scroll-left {
        left: 5px;
    }
    
    .gallery-scroll-right {
        right: 5px;
    }
    
    .fullscreen-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .fullscreen-prev-btn {
        left: 15px;
    }
    
    .fullscreen-next-btn {
        right: 15px;
    }
    
    .fullscreen-modal-top {
        top: 12px;
    }
    
    .fullscreen-modal-actions {
        bottom: 12px;
    }
    
    .fullscreen-share-section {
        gap: 20px;
    }
    
    .fullscreen-modal-top .fullscreen-infinity-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-photo-wrapper {
        flex: 0 0 200px;
        width: 200px;
        height: 150px;
    }
    
    .gallery-row {
        gap: 10px;
        padding: 6px 0;
    }
    
    .gallery-scroll-nav {
        font-size: 1.8rem;
        min-width: 40px;
        min-height: 50px;
        padding: 10px;
    }
    
    .fullscreen-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .fullscreen-prev-btn {
        left: 10px;
    }
    
    .fullscreen-next-btn {
        right: 10px;
    }
    
    .fullscreen-modal-top .fullscreen-infinity-btn {
        padding: 6px 12px;
        font-size: 11px;
        margin-bottom: 15px;
    }
}

@media (max-width: 360px) {
    .gallery-photo-wrapper {
        flex: 0 0 120px;
        width: 120px;
        height: 90px;
    }
    
    .gallery-row {
        gap: 8px;
        padding: 5px 0;
    }
    
    .gallery-scroll-nav {
        font-size: 1.6rem;
        min-width: 35px;
        min-height: 45px;
        padding: 8px;
    }
    
    .fullscreen-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .fullscreen-prev-btn {
        left: 8px;
    }
    
    .fullscreen-next-btn {
        right: 8px;
    }
    
    .fullscreen-modal-top .fullscreen-infinity-btn {
        padding: 5px 10px;
        font-size: 10px;
        margin-bottom: 12px;
    }
}

/* ============================================================================
   SCENE TAGS COMPONENT - NON-CRITICAL STYLES
   ============================================================================ */

.scene-tags-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px 0;
    padding: 0 4px;
    min-height: 28px;
    font-size: 1em;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.scene-tag {
    border: 2px solid;
    border-image: linear-gradient(90deg, #4fd6ff 0%, #ff33b5 100%);
    border-image-slice: 1;
    background: rgba(79, 214, 255, 0.1);
    color: white;
    border-radius: 6px;
    padding: 2px 10px;
    font-family: 'Share Tech Mono', 'Consolas', monospace, sans-serif;
    font-size: 0.88em;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 
        0 0 8px rgba(79, 214, 255, 0.3),
        0 0 16px rgba(255, 51, 181, 0.2);
    margin: 0 6px 6px 0;
    user-select: none;
    white-space: nowrap;
    opacity: 0.92;
    transition: all 0.3s ease;
    background-clip: padding-box;
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    pointer-events: auto;
    z-index: 10;
}

.scene-tag:hover {
    background: white;
    box-shadow: 
        0 0 12px rgba(79, 214, 255, 0.5),
        0 0 20px rgba(255, 51, 181, 0.4);
    transform: translateY(-1px);
    color: #ff33b5;
}

/* Mobile scene tags adjustments */
@media (max-width: 768px) {
    .scene-tags-row {
        gap: 8px;
        margin: 15px 0;
        padding: 0 6px;
        min-height: 32px;
    }
}

@media (max-width: 480px) {
    .scene-tags-row {
        gap: 6px;
        margin: 15px 0;
        padding: 0 4px;
        min-height: 30px;
    }
    
    .scene-tag {
        font-size: 0.75em;
        padding: 2px 6px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .scene-tags-row {
        gap: 5px;
        margin: 15px 0;
        padding: 0 3px;
        min-height: 28px;
    }
}

/* ============================================================================
   VIDEO PLAYER COMPONENTS - NON-CRITICAL STYLES
   ============================================================================ */

/* Iframe Video Styles */
.iframe-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
}

.bunny-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0; /* Remove border radius from iframe so it clips behind wrapper */
}

/* Hosted Video Styles */
.video-player-container {
    margin: 15px 0;
}

/* Video Controls Section */
.video-controls-section {
    display: flex;
    justify-content: center;
    margin: -10px 0 -20px 0;
    padding: 0 15px;
}

/* 4:3 Ratio Button */
.nav-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0 20px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
    position: relative;
    z-index: 20;
}

.nav-btn .icon {
    font-size: 16px;
    line-height: 1;
}

.nav-btn:hover {
    border-color: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.size-btn:hover {
    border-color: #ff69b4;
    color: #ff69b4;
}

/* Video sizing classes */
.iframe-video-wrapper.video-fill {
    overflow: hidden;
}

.iframe-video-wrapper.video-fit {
    overflow: visible;
}

.custom-controls {
    /* Add your custom video controls styles here */
}

.play-overlay {
    /* Add your play overlay styles here */
}

/* Photo Fallback Styles */
.photo-wrapper {
    position: relative;
    display: inline-block;
    max-width: 85vh;
    margin: 0 auto;
    border: 0px solid #FFffC1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 182, 193, 0.5);
    transition: box-shadow 1s ease;
}

.photo {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    animation: breathe 10s ease-in-out infinite;
    transition: opacity 1.5s ease, transform 1.5s ease, filter 1.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse, transparent 0%, transparent 66%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 15px;
    opacity: 1;
    transition: background 3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

.photo-wrapper:hover {
    box-shadow: 0 0 100px rgba(0, 128, 128, 0.8);
}

.photo-wrapper:hover .photo {
    opacity: 0.9;
    transform: scale(1.05);
    animation: breathe 6s ease-in-out infinite;
    filter: brightness(1.05) contrast(1.05);
}

.photo-wrapper:hover .overlay {
    background: transparent;
}

/* Mobile video player adjustments */
@media (max-width: 768px) {
    .iframe-video-wrapper {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .iframe-video-wrapper {
        border-radius: 10px;
    }
}

@media (max-width: 360px) {
    .iframe-video-wrapper {
        border-radius: 8px;
    }
}

/* ============================================================================
   AD COVER COMPONENT - NON-CRITICAL STYLES
   ============================================================================ */

.ad-cover-section {
    width: 100%;
    margin: 0 0 12px 0;
    text-align: center;
}

.ad-cover-wrapper {
    width: 100%;
    max-width: none !important;
    margin-bottom: 0;
}

.ad-cover-wrapper a {
    display: block;
    width: 100%;
}

.ad-cover {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-cover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ad-disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Scene Ad Cover with Visit Studio Overlay */
.scene-ad-cover-section {
    transition: all 0.3s ease;
}

.scene-ad-cover-section:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.8) !important;
    border-color: #ff1493 !important;
}

.scene-ad-cover-section:hover .visit-studio-overlay {
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.9) 0%, rgba(255, 105, 180, 0.6) 50%, rgba(255, 105, 180, 0) 100%) !important;
    text-shadow: 0 0 15px rgba(255, 105, 180, 1) !important;
}

/* Mobile responsive scene ad cover */

/* ============================================================================
   INFINITY PLAYER BUTTON COMPONENT - NON-CRITICAL STYLES
   ============================================================================ */

.infinity-player-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 22.5px 15px; /* Halved top/bottom margin from 45px to 22.5px */
    height: 60px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #4fd6ff 0%, #ff33b5 100%);
    color: #fff;
    font-family: 'Orbitron', 'Share Tech Mono', 'Consolas', monospace, sans-serif;
    font-size: 1.5em;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    line-height: 60px;
    border: 1px solid #666666;
    border-radius: 18px;
    box-shadow: 0 0 24px 4px #ff33b5cc, 0 0 8px 2px #4fd6ffcc;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, background 0.3s, transform 0.2s;
    animation: infinity-breathe 3.5s ease-in-out infinite;
}

.infinity-player-btn:hover, .infinity-player-btn:focus {
    background: linear-gradient(90deg, #ff33b5 0%, #4fd6ff 100%);
    box-shadow: 0 0 40px 8px #ff33b5cc, 0 0 16px 4px #4fd6ffcc;
}

.infinity-player-btn:hover .infinity-player-btn-text,
.infinity-player-btn:focus .infinity-player-btn-text {
    font-size: 1.21em !important; /* 1.1em * 1.1 = 1.21em (10% increase) */
    transform: scale(1.1) !important;
    transition: all 0.5s ease-in-out !important;
}

@keyframes infinity-breathe {
    0%, 100% { box-shadow: 0 0 24px 4px #ff33b5cc, 0 0 8px 2px #4fd6ffcc; }
    50% { box-shadow: 0 0 40px 12px #4fd6ffcc, 0 0 24px 8px #ff33b5cc; }
}

/* ============================================================================
   AD COVER DEDICATED CSS - ISOLATED FROM THEME
   ============================================================================ */

/* Ad Cover Container - Inside .container for proper alignment */
.scene-single-page .scene-ad-cover-wrapper {
    width: 100% !important;
    max-width: calc(100vw - 30px) !important; /* ~95vw equivalent with safety margin */
    margin: 40px auto 5px auto !important; /* Top margin 40px, bottom margin 5px */
    padding: 0 15px !important; /* Add slight padding for mobile safety */
    box-sizing: border-box !important;
}

/* Ad Cover Section Border */
.scene-single-page .scene-ad-cover-section {
    border: 2px solid #ff69b4 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.6) !important;
    width: 100% !important;
    position: relative !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Ad Cover Link */
.scene-single-page .scene-ad-cover-section a {
    display: block !important;
    text-decoration: none !important;
    position: relative !important;
}

/* Ad Cover Image */
.scene-single-page .scene-ad-cover-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    animation: ad-cover-breathe 12s ease-in-out infinite !important;
}

/* Visit Studio Overlay */
.scene-single-page .scene-visit-studio-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 0 8px 0 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    min-width: 120px !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8) !important;
}

/* Pink Hover Effect for Ad Cover Section */
.scene-single-page .scene-ad-cover-section:hover .scene-visit-studio-overlay {
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.9) 0%, rgba(255, 105, 180, 0.6) 50%, rgba(255, 105, 180, 0.2) 100%) !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8) !important;
    transform: translateY(1px) !important; /* Move down instead of up to close gap */
}

/* Ad Cover Disclaimer - Simple positioning in scene-content */
.scene-single-page .scene-ad-disclaimer {
    font-size: 12px !important;
    color: #666 !important;
    margin: 5px auto 0 auto !important; /* 5px top margin, centered */
    font-style: italic !important;
    text-align: center !important;
    padding: 0 !important; /* No padding */
    max-width: 800px !important; /* Reasonable max width */
    box-sizing: border-box !important;
}

/* Mobile disclaimer adjustments */
@media (max-width: 768px) {
    .scene-single-page .scene-ad-disclaimer {
        margin: 5px auto 0 auto !important; /* Keep consistent 5px gap */
        padding: 0 !important; /* No padding */
    }
}

@media (max-width: 480px) {
    .scene-single-page .scene-ad-disclaimer {
        margin: 5px auto 0 auto !important; /* Keep consistent 5px gap */
        padding: 0 !important; /* No padding */
    }
}

/* Mobile Overrides for Ad Cover */
@media (max-width: 768px) {
    .scene-single-page .scene-ad-cover-wrapper {
        max-width: calc(100vw - 20px) !important; /* Tighter on mobile */
        margin: 30px auto 5px auto !important; /* Reduce top margin, keep 5px bottom */
        padding: 0 10px !important; /* Less padding on mobile */
    }
    
    .scene-single-page .scene-visit-studio-overlay {
        font-size: 11px !important;
        padding: 6px 10px !important;
        min-width: 100px !important;
    }
}

@media (max-width: 480px) {
    .scene-single-page .scene-ad-cover-wrapper {
        max-width: calc(100vw - 15px) !important; /* Even tighter on small mobile */
        margin: 25px auto 5px auto !important; /* Reduce top margin, keep 5px bottom */
        padding: 0 7px !important; /* Minimal padding on small screens */
    }
}

/* Ad cover breathing animation keyframes */
@keyframes ad-cover-breathe {
    0%, 100% { transform: scale(1.0); }
    50% { transform: scale(1.04); }
}

/* ============================================================================
   CHERRY BLOSSOM STYLES - NOW HANDLED BY COMPONENT
   ============================================================================ */

/* ============================================================================
   INFINITY BUTTON DEDICATED CSS - ISOLATED FROM THEME
   ============================================================================ */

/* Infinity Button Base Styles */
.scene-single-page .infinity-player-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 30px) !important;
    height: 60px !important;
    margin: 45px 15px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: linear-gradient(90deg, #4fd6ff 0%, #ff33b5 100%) !important;
    color: #fff !important;
    font-family: 'Orbitron', 'Share Tech Mono', 'Consolas', monospace, sans-serif !important;
    font-size: 1.5em !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border: 1px solid #666666 !important;
    border-radius: 18px !important;
    cursor: pointer !important;
    transition: box-shadow 0.3s, background 0.3s, transform 0.2s !important;
    animation: infinity-breathe 3.5s ease-in-out infinite !important;
    outline: none !important;
    line-height: 1 !important; /* Reset line-height for proper flex centering */
}

/* Infinity Button Text */
.scene-single-page .infinity-player-btn-text {
    letter-spacing: 0.35em !important;
    font-family: 'Orbitron', 'Share Tech Mono', 'Consolas', monospace, sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1em !important;
    text-shadow: 0 2px 8px #000, 0 0 8px #ff33b5 !important;
    color: #fff !important;
    user-select: none !important;
    pointer-events: none !important;
    transition: all 0.5s ease-in-out !important;
    line-height: 1 !important; /* Ensure text doesn't have line-height issues */
}

/* Infinity Button Hover States */
.scene-single-page .infinity-player-btn:hover,
.scene-single-page .infinity-player-btn:focus {
    background: linear-gradient(90deg, #ff33b5 0%, #4fd6ff 100%) !important;
    box-shadow: 0 0 40px 8px #ff33b5cc, 0 0 16px 4px #4fd6ffcc !important;
}

.scene-single-page .infinity-player-btn:hover .infinity-player-btn-text,
.scene-single-page .infinity-player-btn:focus .infinity-player-btn-text {
    font-size: 1.21em !important; /* 1.1em * 1.1 = 1.21em (10% increase) */
    transform: scale(1.1) !important;
    transition: all 0.5s ease-in-out !important;
}

/* Mobile Infinity Button Styles */
@media (max-width: 768px) {
    .scene-single-page .infinity-player-btn {
        height: 50px !important;
        font-size: 1.3em !important;
        border-radius: 15px !important;
        padding: 0 8px !important;
        margin: 32.5px 15px 22.5px 15px !important; /* 10px top + 22.5px bottom */
    }
    
    .scene-single-page .infinity-player-btn-text {
        font-size: 1.1em !important;
        letter-spacing: 0.2em !important;
    }
}

@media (max-width: 480px) {
    .scene-single-page .infinity-player-btn {
        height: 50px !important;
        font-size: 1.1em !important;
        padding: 0 6px !important;
        margin: 32.5px 15px 22.5px 15px !important; /* 10px top + 22.5px bottom */
    }
    
    .scene-single-page .infinity-player-btn-text {
        font-size: 0.95em !important;
        letter-spacing: 0.15em !important;
    }
}

@media (max-width: 360px) {
    .scene-single-page .infinity-player-btn {
        height: 50px !important;
        font-size: 0.9em !important;
        padding: 0 4px !important;
        margin: 32.5px 15px 22.5px 15px !important; /* 10px top + 22.5px bottom */
    }
    
    .scene-single-page .infinity-player-btn-text {
        font-size: 0.85em !important;
        letter-spacing: 0.1em !important;
    }
}

.infinity-player-btn-text {
    letter-spacing: 0.35em;
    font-family: 'Orbitron', 'Share Tech Mono', 'Consolas', monospace, sans-serif;
    font-weight: 900;
    font-size: 1.1em;
    text-shadow: 0 2px 8px #000, 0 0 8px #ff33b5;
    color: #fff;
    user-select: none;
    pointer-events: none;
    transition: all 0.5s ease-in-out !important;
}

/* Mobile responsive scaling for infinity button */
@media (max-width: 768px) {
    .infinity-player-btn {
        height: 50px;
        border: 1px solid #666666;
        border-radius: 15px;
        font-size: 1.3em;
        margin: 45px 15px !important;
        padding: 0 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }
    
    .infinity-player-btn-text {
        font-size: 1.1em;
        line-height: 1;
        letter-spacing: 0.2em;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .infinity-player-btn {
        height: 50px !important;
        border: 1px solid #666666 !important;
        border-radius: 15px !important;
        font-size: 1.1em;
        margin: 22.5px 15px !important; /* Halved top/bottom margin from 45px to 22.5px */
        padding: 0 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }
    
    .infinity-player-btn-text {
        font-size: 0.95em;
        line-height: 1;
        letter-spacing: 0.15em;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media (max-width: 360px) {
    .infinity-player-btn {
        height: 50px !important;
        border: 1px solid #666666 !important;
        border-radius: 15px !important;
        font-size: 0.9em;
        margin: 22.5px 15px !important; /* Halved top/bottom margin from 45px to 22.5px */
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }
    
    .infinity-player-btn-text {
        font-size: 0.85em;
        line-height: 1;
        letter-spacing: 0.1em;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

/* ============================================================================
   PHOTO GALLERY STYLES - NOW HANDLED BY COMPONENT
   ============================================================================ */

/* ============================================================================
   H-SCROLL SECTIONS STYLING - NOW HANDLED BY COMPONENTS
   ============================================================================ */

/* ============================================================================
   SOCIAL MEDIA BUTTONS STYLING (from social-medias.php)
   ============================================================================ */

.circle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.circle-button:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(255, 255, 255, 0.2),
        0 0 15px rgba(255, 105, 180, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.circle-button:active {
    transform: translateY(0) scale(1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.circle-button svg {
    width: 60%;
    height: 60%;
    fill: white;
}

/* X (Twitter) */
.x-twitter {
    background: #000;
}

.x-twitter:hover {
    background: #1a1a1a;
}

/* Reddit */
.reddit {
    background: #ff4500;
}

.reddit:hover {
    background: #ff5722;
}

/* Responsive adjustments for social buttons */
@media (max-width: 768px) {
    .circle-button {
        width: clamp(40px, 10vw, 50px);
        height: clamp(40px, 10vw, 50px);
    }
}

/* Mobile-specific fixes for hero header and related content */
@media (max-width: 768px) {
    /* Hero header mobile fixes - more specific selectors to override existing styles */
    .scene-single-page .hero-header,
    .hero-header {
        background-color: transparent !important;
        background: transparent !important;
        margin-bottom: 0 !important;
        margin: 0 !important;
    }
    
    /* Related section header mobile fixes */
    .related-section-header {
        margin-top: 0 !important;
        margin-bottom: -8px !important;
    }
    
    /* More Like This mobile styles removed - handled by component */
    
    /* Related horizontal cards styles removed - handled by component */
    
    /* Related scroll styles removed - handled by component */
    
    /* Scene title mobile fixes */
    .scene-title {
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Scene title section mobile fixes */
    .scene-title-section {
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Library heart container mobile fixes */
    .library-heart-container {
        margin-bottom: 0 !important;
    }
    
    /* Infinity button mobile fixes - reduce margins by 30% */
    .infinity-player-btn {
        margin-top: 31.5px !important; /* 45px * 0.7 = 31.5px */
        margin-bottom: 31.5px !important; /* 45px * 0.7 = 31.5px */
    }
}

/* Infinity button margin reduction for all screen sizes */
.infinity-player-btn {
    margin-top: 31.5px !important; /* 45px * 0.7 = 31.5px */
    margin-bottom: 31.5px !important; /* 45px * 0.7 = 31.5px */
}

@media (max-width: 480px) {
    .circle-button {
        width: clamp(35px, 12vw, 45px);
        height: clamp(35px, 12vw, 45px);
    }
}

/* ============================================================================
   END OF SINGLE SCENE PAGE NON-CRITICAL STYLES
   ============================================================================ */
