@charset "UTF-8";

/* =========================================================
   REELS PAGE
   CORE / LOADING
========================================================= */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--kk-dark);
    background: var(--kk-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.70);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
    z-index: 9999;
}

body.loading #loading-screen {
    display: flex;
}

body:not(.loading) #loading-screen {
    display: none;
}

#loading-screen img {
    width: 40px;
    height: 40px;
    background: transparent;
}

.reels-hidden {
    display: none !important;
}

.CookiebotWidget,
#CookiebotWidget {
    display: none !important;
}

/* =========================================================
   REELS PAGE
   LAYOUT
========================================================= */

.reels-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.reels-shell {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.reels-content {
    width: 100%;
    max-width: 1080px;
    padding: 82px 20px 170px;
    box-sizing: border-box;
}

/* =========================================================
   REELS PAGE
   HEADER
========================================================= */

.reels-header {
    margin: 0 0 30px 0;
    text-align: center;
}

.reels-title {
    margin: 0 0 7px 0;
    font-family: 'pol_kam_extra_light', sans-serif;
    font-size: 32px;
    font-weight: normal;
    text-transform: none;
    line-height: 1.10;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
}

.reels-intro {
    max-width: 560px;
    margin: 0 auto;
    font-family: 'special_eliteregular', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    text-transform: uppercase;
    color: rgba(100, 155, 255, 1.0);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
}

/* =========================================================
   REELS PAGE
   GRID / VIDEO CARDS
========================================================= */

.reels-section {
    margin: 0;
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.reels-item {
    margin: 0;
    /*padding: 10px 10px 12px;*/
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
    scroll-margin-top: 160px;
}

.reels-video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.34);
}

.reels-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.50);
}

.reels-item-title {
    margin: 10px 0 0;
    font-family: 'pol_kam_extra_light', sans-serif;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.25;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.68);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.85);
}


/* =========================================================
   REELS PAGE
   CUSTOM VIDEO CONTROLS
========================================================= */

.reels-video-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26%;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 260ms ease;
}

.reels-video-frame.controls-visible::after {
    opacity: 1;
}

.reels-sound-toggle,
.reels-play-toggle {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.02);
    opacity: .75;
    font-family: 'pol_kam_extra_light', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.reels-sound-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    padding: 7px 10px 6px;
    font-size: 11px;
    line-height: 1;
}

.reels-sound-toggle.sound-off {
    color: rgba(255, 115, 115, 0.96);
    border-color: rgba(255, 115, 115, 0.38);
}

.reels-sound-toggle.sound-on {
    color: rgba(120, 220, 150, 0.96);
    border-color: rgba(120, 220, 150, 0.38);
}

.reels-custom-controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 260ms ease, transform 260ms ease;
}

.reels-video-frame.controls-visible .reels-custom-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.reels-play-toggle {
    flex: 0 0 auto;
    padding: 7px 9px 6px;
    min-width: 58px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    line-height: 1;
}

.reels-progress-track {
    position: relative;
    flex: 1 1 auto;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.reels-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
}

.reels-sound-toggle:focus,
.reels-play-toggle:focus,
.reels-progress-track:focus {
    outline: none;
}

.reels-sound-toggle:active,
.reels-play-toggle:active {
    transform: translateY(1px);
}

/* =========================================================
   REELS PAGE
   EMPTY STATE
========================================================= */

.reels-empty {
    max-width: 620px;
    margin: 10px auto 0;
    padding: 28px 22px;
    border: 1px solid rgba(100, 155, 255, 0.15);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    text-align: center;
    box-sizing: border-box;
}

.reels-empty-title {
    margin: 0 0 8px;
    font-family: 'pol_kam_extra_light', sans-serif;
    font-size: 22px;
    font-weight: normal;
    line-height: 1.20;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
}

.reels-empty-text {
    margin: 0;
    font-family: 'pol_kam_extra_light', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.64);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
}

.reels-empty-text strong {
    font-weight: normal;
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   REELS PAGE
   TABLET
========================================================= */

@media screen and (max-width: 1024px) {
    .reels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   REELS PAGE
   MOBILE
========================================================= */

@media screen and (max-width: 700px) {
    .reels-shell {
        padding: 0 12px;
    }

    .reels-content {
        max-width: 100%;
        padding: 82px 12px 150px;
    }

    .reels-header {
        margin-bottom: 24px;
    }

    .reels-title {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .reels-intro {
        font-size: 15px;
        line-height: 1.30;
    }

    .reels-grid {
        grid-template-columns: minmax(0, 420px);
        justify-content: center;
        gap: 20px;
    }

    .reels-item {
        /*padding: 9px 9px 11px;*/
        margin-bottom: 55px;
        box-shadow: 0 1px 15px rgba(0, 0, 0, 0.55);
        scroll-margin-top: 70px;
    }

    .reels-item-title {
        font-size: 14px;
    }

    .reels-empty {
        padding: 24px 18px;
    }

    /*.reels-video-frame::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 140px;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(
            to bottom,
            rgba(46, 61, 77, 0) 0%,
            rgba(26, 35, 43, 1) 100%
        );
    }

    .reels-sound-toggle {
        z-index: 6;
    }*/
}

/* =========================================================
   REELS PAGE
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 420px) {
    .reels-title {
        font-size: 24px;
    }

    .reels-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .reels-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}
