/* Nighthold Page Styles */

.nighthold-page {
    width: 100%;
    min-height: 100vh;
    background: #0a0a0a;
    background-image: url('../images/2600_Masthead.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    font-family: 'Blizzard', 'Arial', sans-serif;
    position: relative;
}

/* Masthead Section */
.nighthold-masthead {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nighthold-masthead-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.nighthold-masthead-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.nighthold-masthead-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    display: none;
}

/* Show fallback only if video is not available */
.nighthold-masthead-background:has(.nighthold-masthead-video:not([src])) .nighthold-masthead-fallback,
.nighthold-masthead-background:has(.nighthold-masthead-video[style*="display: none"]) .nighthold-masthead-fallback {
    display: block;
    z-index: 0;
}

.nighthold-masthead-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.3) 75%, 
        rgba(0, 0, 0, 0.2) 80%, 
        rgba(0, 0, 0, 0.1) 85%, 
        rgba(0, 0, 0, 0.05) 90%, 
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}


.nighthold-masthead-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.nighthold-masthead-logo {
    margin-bottom: 40px;
}

.nighthold-masthead-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.nighthold-masthead-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nighthold-masthead-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nighthold-masthead-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nighthold-button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.nighthold-button-primary {
    background: linear-gradient(135deg, #f7b10a, #d4941f);
    color: #000000;
    border: 2px solid #f7b10a;
}

.nighthold-button-primary:hover {
    background: linear-gradient(135deg, #d4941f, #b8821a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 177, 10, 0.4);
}

.nighthold-button-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.nighthold-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.nighthold-masthead-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
    color: #999;
}

.nighthold-platform-link {
    display: inline-block;
}

.nighthold-platform-link img {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nighthold-platform-link:hover img {
    opacity: 1;
}

/* Container */
.nighthold-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Overview Section */
.nighthold-overview {
    position: relative;
    padding: 100px 0;
    background: transparent; /* РџРѕР»РЅРѕСЃС‚СЊСЋ РїСЂРѕР·СЂР°С‡РЅС‹Р№ С„РѕРЅ */
    overflow: visible;
    z-index: 1; /* РќРёР¶Рµ masthead */
}

.nighthold-overview-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nighthold-overview-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f7b10a;
    text-transform: uppercase;
}

.nighthold-overview-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.nighthold-overview-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
}

.nighthold-overview-media {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nighthold-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nighthold-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Divider */
.nighthold-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(247, 177, 10, 0.3), transparent);
    margin: 60px 0;
}

/* Features Section */
.nighthold-features {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.nighthold-features-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
}

.nighthold-features-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.nighthold-features-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f7b10a;
    text-transform: uppercase;
}

.nighthold-features-header p {
    font-size: 20px;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto;
}

.nighthold-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.nighthold-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
}

.nighthold-feature-item:hover {
    transform: translateX(5px);
}

.nighthold-feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(247, 177, 10, 0.3);
}

.nighthold-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nighthold-feature-content {
    flex: 1;
}

.nighthold-feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.3;
}

.nighthold-feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

/* Video block — donor-style stream + Owl Carousel */
.nighthold-page section.stream {
    padding: 100px 0;
    background: transparent;
}

.nighthold-page section.stream .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nighthold-page .stream__wrapper {
    max-width: 1320px;
    margin: 0 auto;
}

.nighthold-page .stream .section__title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 12px;
    text-align: center;
    color: #f7b10a;
    text-transform: uppercase;
}

.nighthold-page .stream__subtitle {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 36px;
    text-align: center;
    color: #e0e0e0;
    line-height: 1.5;
}

.nighthold-page .stream__carousel-wrap {
    --stream-nav-gutter: 56px;
    position: relative;
    margin: 0 auto;
    padding: 0 var(--stream-nav-gutter) 48px;
    max-width: 100%;
}

.nighthold-page .stream__carousel-wrap--single {
    padding-left: 0;
    padding-right: 0;
}

.nighthold-page .stream__slider {
    position: relative;
    padding-bottom: 40px;
}

.nighthold-page .stream__slider .owl-stage-outer {
    overflow: hidden;
    width: 100%;
    padding: 12px 0 8px;
}

/* Не трогаем .owl-stage — у Owl своя раскладка (transform); flex ломает ширины и даёт «лишние» превью по краям */

.nighthold-page .stream__slider--fan .owl-item {
    transition: opacity 0.35s ease;
}

@media (min-width: 1100px) {
    .nighthold-page .stream__slider--fan .owl-item:not(.center) {
        opacity: 0.75;
    }

    .nighthold-page .stream__slider--fan .owl-item.center {
        opacity: 1;
        z-index: 2;
    }

    .nighthold-page .stream__slider--fan .owl-item .stream-slider__item {
        transition: transform 0.45s ease;
        transform: scale(0.86);
        transform-origin: center center;
    }

    .nighthold-page .stream__slider--fan .owl-item.center .stream-slider__item {
        transform: scale(1);
    }
}

.nighthold-page .stream__slider--single .owl-item,
.nighthold-page .stream__slider--single .owl-item .stream-slider__item {
    opacity: 1;
    transform: none;
}

.nighthold-page .stream-slider__item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
}

.nighthold-page .stream-slider-item__back {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.nighthold-page .stream-slider-item__back iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.nighthold-page .stream-slider-item__border {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.nighthold-page .stream-slider-item__border img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Owl nav — слева/справа от ряда превью (в зоне padding обёртки) */
.nighthold-page .stream__slider .owl-nav {
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--stream-nav-gutter, 56px));
    right: calc(-1 * var(--stream-nav-gutter, 56px));
    transform: translateY(-50%);
    height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 6;
    margin-top: -10px;
    width: auto;
}

.nighthold-page .stream__slider .owl-nav button {
    pointer-events: auto;
    flex-shrink: 0;
}

.nighthold-page .stream__carousel-wrap--single .owl-nav {
    display: none !important;
}

.nighthold-page .stream__slider .owl-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    z-index: 4;
    margin: 0;
    max-width: calc(100% - 40px);
}

.nighthold-page .stream__slider .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0;
    background: rgba(255, 255, 255, 0.35);
}

.nighthold-page .stream__slider .owl-dot.active span,
.nighthold-page .stream__slider .owl-dot:hover span {
    background: #f7b10a;
}

.nighthold-page .stream__slider .owl-prev,
.nighthold-page .stream__slider .owl-next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(247, 177, 10, 0.55);
    background: radial-gradient(circle at 30% 25%, rgba(60, 50, 35, 0.95), rgba(8, 8, 10, 0.96));
    color: #f7b10a;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.nighthold-page .stream__slider .owl-prev {
    margin-left: 0;
}

.nighthold-page .stream__slider .owl-next {
    margin-right: 0;
}

.nighthold-page .stream__slider .owl-prev:hover,
.nighthold-page .stream__slider .owl-next:hover {
    background: radial-gradient(circle at 30% 25%, rgba(247, 177, 10, 0.35), rgba(20, 18, 14, 0.98));
    border-color: rgba(247, 177, 10, 0.95);
    color: #fff;
    box-shadow: 0 6px 22px rgba(247, 177, 10, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nighthold-page .stream__slider .owl-prev:active,
.nighthold-page .stream__slider .owl-next:active {
    transform: scale(0.96);
}

.nighthold-page .stream__slider .owl-prev.disabled,
.nighthold-page .stream__slider .owl-next.disabled {
    opacity: 0.28;
    cursor: default;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.nighthold-page .stream__slider--single .owl-dots {
    display: none !important;
}

/* FAQ Section */
.nighthold-faq {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nighthold-faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 70%;
    opacity: 0.1;
    z-index: 0;
}

.nighthold-faq-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.nighthold-faq-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #f7b10a;
    text-transform: uppercase;
}

.nighthold-faq-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nighthold-faq-item {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 177, 10, 0.2);
}

.nighthold-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nighthold-faq-question:hover {
    background-color: rgba(247, 177, 10, 0.1);
}

.nighthold-faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.nighthold-faq-toggle {
    font-size: 32px;
    font-weight: 300;
    color: #f7b10a;
    line-height: 1;
    transition: transform 0.3s ease;
}

.nighthold-faq-item.active .nighthold-faq-toggle {
    transform: rotate(180deg);
}

.nighthold-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.nighthold-faq-item.active .nighthold-faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.nighthold-faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nighthold-overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nighthold-features-list {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
}

@media (max-width: 991px) {
    .nighthold-page .stream__wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nighthold-masthead-title {
        font-size: 32px;
    }
    
    .nighthold-masthead-description {
        font-size: 16px;
    }
    
    .nighthold-masthead-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nighthold-button {
        width: 100%;
        text-align: center;
    }
    
    .nighthold-overview-text h2,
    .nighthold-features-header h2,
    .nighthold-page .stream .section__title,
    .nighthold-faq-header h2 {
        font-size: 32px;
    }
    
    .nighthold-features-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .nighthold-feature-icon {
        width: 56px;
        height: 56px;
    }
    
    .nighthold-feature-content h3 {
        font-size: 18px;
    }
    
    .nighthold-feature-content p {
        font-size: 14px;
    }
    
    .nighthold-page .stream__carousel-wrap:not(.stream__carousel-wrap--single) {
        --stream-nav-gutter: 44px;
    }

    .nighthold-page .stream__slider .owl-prev,
    .nighthold-page .stream__slider .owl-next {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }

    .nighthold-faq-question h3 {
        font-size: 16px;
    }
}

/* Nighthold Custom Footer */
.nighthold-footer {
    position: relative;
    background: linear-gradient(to bottom, 
        rgba(26, 35, 50, 0) 0%,
        rgba(26, 35, 50, 0.2) 5%,
        rgba(26, 35, 50, 0.5) 15%,
        rgba(26, 35, 50, 0.8) 30%,
        rgba(26, 35, 50, 1) 50%,
        rgba(20, 30, 45, 1) 100%);
    padding: 100px 0 40px;
    margin-top: 0;
    z-index: 10;
}

.nighthold-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.nighthold-footer-column {
    display: flex;
    flex-direction: column;
}

.nighthold-footer-column-left {
    gap: 20px;
}

.nighthold-footer-copyright {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 10px;
}

.nighthold-footer-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: #888;
    margin-bottom: 20px;
}

.nighthold-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.nighthold-footer-link {
    font-size: 13px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nighthold-footer-link:hover {
    color: #f7b10a;
}

.nighthold-footer-developer {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-top: auto;
}

.nighthold-footer-developer-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.nighthold-footer-developer-text {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.nighthold-footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #f7b10a;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.nighthold-footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nighthold-footer-column-center .nighthold-footer-link,
.nighthold-footer-column-right .nighthold-footer-link {
    font-size: 13px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nighthold-footer-column-center .nighthold-footer-link:hover,
.nighthold-footer-column-right .nighthold-footer-link:hover {
    color: #f7b10a;
}

/* Hide default footer on Nighthold Page */
.nighthold-page ~ footer#footer,
body:has(.nighthold-page) footer#footer {
    display: none;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .nighthold-footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nighthold-footer {
        padding: 60px 0 30px;
    }
}
