/* =========================================
   NO. PATTERN SPECIFIC STYLES (css/no-pattern.css)
   ========================================= */

/* --- Extracted Inline Styles --- */
.logo {
    text-decoration: none; 
    font-size: 1rem; 
    font-weight: 300; 
    letter-spacing: 0.6em; 
    text-transform: uppercase;
}

#theme-toggle-btn {
    width: 170px; 
    text-align: center; 
    box-sizing: border-box; 
    flex-shrink: 0;
}

.scroll-trigger-logo {
    display: block; 
    cursor: pointer;
}

/* --- Layout Utilities --- */
.full-fold {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    padding: 100px 2rem 2rem 2rem;
    overflow: hidden;
}

.seamless-section {
    border-bottom: none !important;
}

/* --- Dynamic Background Sequences --- */
.bg-green {
    /* Path updated to match case-enforced filename */
    background: url('../assets/no-pattern/no-pattern-img/primeeight-bg-06.jpg') no-repeat center center;
    background-size: cover;
}

.bg-segment-1 {
    background: url('../assets/no-pattern/no-pattern-img/segment-1-bg.png') no-repeat center bottom;
    background-size: 100vw auto !important;
    background-color: #020202;
}

.bg-synopsis {
    background: url('../assets/no-pattern/no-pattern-img/synopsis-container-bg.png') repeat-y center top;
    background-size: 100vw auto !important;
    background-color: #020202; 
    padding: 0 !important; 
    min-height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-segment-2 {
    position: relative;
    background-color: #020202;
    padding: 2rem 2rem 6rem 2rem; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; 
}

.bg-segment-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/no-pattern/no-pattern-img/segment-1-bg.png') no-repeat center bottom; 
    background-size: 100vw auto !important; 
    transform: scaleY(-1);
    z-index: -1;
    pointer-events: none;
}

/* --- Section 1: Logo --- */
.animated-logo-container {
    max-width: 400px;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animated-logo-container:hover {
    transform: scale(1.04);
}
.animated-logo-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Section 2: Title --- */
.script-title {
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

/* --- Section 3: Synopsis Layout & Accordion Logic --- */
.synopsis-box {
    width: 100%;
    max-width: 950px;
    margin: 0 auto; 
    background-color: rgba(182, 186, 178, 0.92);
    border-top: 12px solid var(--neon-primary);
    border-bottom: 12px solid var(--neon-primary);
    transition: border-color 0.5s ease;
    padding: 2rem 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
}

body[data-theme="carrier"] .synopsis-box {
    border-color: #6b8e4e;
}

.synopsis-heading {
    color: #2b2c28; 
    font-size: 1.8rem;
    letter-spacing: 0.6em;
    font-weight: 400;
    margin-bottom: 0; 
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.synopsis-heading:hover {
    color: var(--neon-primary);
}

body[data-theme="carrier"] .synopsis-heading:hover {
    color: #6b8e4e;
}

.synopsis-content-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}

.synopsis-box.is-open .synopsis-content-wrapper {
    max-height: 1200px; 
    opacity: 1;
    margin-top: 2.5rem; 
}

.synopsis-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem; 
    transition: margin-top 0.8s ease, transform 0.3s ease;
    cursor: pointer;
}

.synopsis-dots:hover {
    transform: scale(1.1);
}

.synopsis-box.is-open .synopsis-dots {
    margin-top: 3.5rem; 
}

.synopsis-dots .dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-primary);
    border-radius: 50%;
    transition: background-color 0.5s ease;
}

body[data-theme="carrier"] .synopsis-dots .dot {
    background-color: #6b8e4e;
}

.synopsis-text-block {
    max-width: 760px;
    margin: 0 auto; 
    text-align: left; 
}

.drop-cap {
    float: left;
    font-family: 'Georgia', Times, serif;
    font-size: 4.8rem;
    line-height: 0.8;
    padding-top: 6px;
    padding-right: 12px;
    color: #3b3c38;
}

.synopsis-text-block p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    color: #2b2c28; 
    font-weight: 500;
    text-align: left;
    text-wrap: pretty;
}

/* --- Section 4: Video Layout --- */
.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 810px; 
}

.main-player-wrapper {
    display: block; 
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--neon-dim);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    background: #000;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.preview-link-hover:hover {
    transform: scale(1.02);
    border-color: var(--neon-primary);
    box-shadow: 0 10px 50px rgba(255,255,255,0.1);
}

body[data-theme="carrier"] .preview-link-hover:hover {
    border-color: #6b8e4e;
    box-shadow: 0 10px 50px rgba(107, 142, 78, 0.2);
}

.main-player-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-credits-wrapper {
    width: 100%;
}

.credits-video-desktop video {
    width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box; 
    border: 1px solid rgba(0,0,0,0.1);
}

.credits-video-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.credits-video-mobile video {
    width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* --- JRS Link --- */
.integration-jrs {
    display: block;
    margin-top: 3rem; 
    transition: transform 0.4s ease, filter 0.4s ease;
}
.integration-jrs:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* --- Extracted Inline Responsive Nav Media Queries --- */
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-group-main { display: flex; align-items: center; gap: 2rem; }
.nav-group-buttons { display: flex; align-items: center; gap: 1rem; }

@media (max-width: 950px) {
    .global-nav {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 1.5rem 1rem !important;
        height: auto !important;
        gap: 1.5rem;
    }
    .global-nav .logo {
        white-space: nowrap !important;
        text-align: center;
        display: block;
        width: 100%;
    }
    .nav-links { flex-direction: column; width: 100%; gap: 1.5rem; }
    .nav-group-main { width: 100%; justify-content: center; gap: 2rem; flex-wrap: wrap; }
    .nav-group-main .nav-text { padding: 0.5rem 0; display: inline-block; }
    .nav-group-buttons { width: 100%; justify-content: center; flex-wrap: wrap; gap: 1rem; }
    #theme-toggle-btn { width: auto !important; min-width: 170px; }
    
    .synopsis-box {
        padding: 2rem 2rem;
    }
    
    .credits-video-desktop {
        display: none;
    }
    
    .credits-video-mobile {
        display: flex;
    }
    
    .full-fold {
        min-height: auto;
        padding: 120px 1rem 4rem 1rem;
    }
    
    #fold-logo {
        min-height: 100vh;
    }
}