@font-face {
    font-family: 'clickHerFont';
    src: url('../assets/fonts/DKFaceYourFears.ttf') format('truetype');
}

@font-face {
    font-family: 'monsterScheme';
    src: url('../assets/fonts/monsterscheme.otf') format('opentype');
}

.selected {
    background: linear-gradient(145deg, rgba(109, 3, 140, 0.5), rgba(74, 47, 110, 0.5)) !important;
    color: #D896FF !important;
    box-shadow: 0 0 15px rgba(109, 3, 140, 0.6) !important;
    outline: 2px solid #6D038C !important;
}

.Gallery_UI {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #121212;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.Gallery_UI.visible {
    opacity: 1;
}

.gallery_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery_popup {
    background: linear-gradient(145deg, #191231, #0f0a1f);
    border: 2px solid #6D038C;
    box-shadow: 0 8px 30px rgba(109, 3, 140, 0.6);
    border-radius: 12px;
    padding: 24px;
    max-width: 420px;
    width: 90%;
    color: #f5f5f5;
    text-align: center;
    font-family: 'clickHerFont', sans-serif;
}

.gallery_popup h2 {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #D896FF;
    text-shadow: 0 0 10px rgba(109, 3, 140, 0.5);
}

.gallery_popup p {
    margin: 6px 0;
    font-size: 16px;
    color: #9d7ab8;
}

.gallery_popup button {
    margin-top: 14px;
    padding: 10px 18px;
    background: linear-gradient(145deg, #4a2f6e, #2d1f4a);
    color: #D896FF;
    border: 2px solid #6D038C;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.gallery_popup button:hover {
    background: linear-gradient(145deg, #6844a0, #4a2f6e);
    box-shadow: 0 0 15px rgba(109, 3, 140, 0.7);
    border-color: #A855F7;
}

.gallery_popup .popup-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.gallery_popup .popup-buttons button {
    margin-top: 0;
    min-width: 120px;
}

.gallery_popup .diamond-popup-action {
    background: linear-gradient(145deg, #00d4ff, #0099cc);
    color: #ffffff;
    border-color: #00b8e6;
}

.gallery_popup .diamond-popup-action:hover {
    background: linear-gradient(145deg, #33dcff, #00b5e6);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    border-color: #33dcff;
}

.gallery_sidebar {
    background: linear-gradient(145deg, #191231, #0f0a1f);
    border-right: 3px solid rgba(109, 3, 140, 0.5);
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 100%;
    font-weight: bold;
    font-family: 'monsterScheme', sans-serif;
    z-index: 10;
    position: absolute;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.Gallery_UI.visible .gallery_sidebar {
    transform: translateX(0);
}

.gallery {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
}

.G_logo {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 130px;
    max-height: 130px;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 10px;
}

.G_logo img {
    width: 60px;
    height: 60px;
    margin-right: 9px;
}

.G_logo_text {
    font-size: 45px;
    color: #D896FF;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(109, 3, 140, 0.5);
}

.G_logo_text2 {
    font-size: 45px;
    color: #A855F7;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(109, 3, 140, 0.5);
}

.gallery_categories_cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gallery_category {
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 38px;
    color: #9d7ab8;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

.gallery_category:hover {
    background-color: rgba(109, 3, 140, 0.3);
    color: #D896FF;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(109, 3, 140, 0.4);
}

.gallery_category[data-category="gold"]:hover,
.gallery_category[data-category="gold"].selected {
    background: linear-gradient(145deg, rgba(176, 131, 28, 0.45), rgba(86, 58, 10, 0.7)) !important;
    color: #ffd970 !important;
    box-shadow: 0 0 16px rgba(214, 170, 53, 0.45) !important;
    border-color: #d6aa35 !important;
}

.gallery_category[data-category="diamond"]:hover,
.gallery_category[data-category="diamonds"]:hover,
.gallery_category[data-category="diamond"].selected,
.gallery_category[data-category="diamonds"].selected {
    background: linear-gradient(145deg, rgba(117, 230, 255, 0.28), rgba(10, 58, 86, 0.72)) !important;
    color: #c8f8ff !important;
    box-shadow: 0 0 18px rgba(94, 227, 255, 0.4) !important;
    border-color: #5ee3ff !important;
}

.gallery_category label {
    pointer-events: none;
}

.char_filter {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.gallery_unlock_button {
    position: absolute;
    top: 38px;
    left: 390px;
    min-width: 250px;
    padding: 14px 22px;
    background: linear-gradient(145deg, #d9f7ff 0%, #8ed8f8 18%, #5892dd 60%, #3f65ff 100%);color: #041624;
    border: 2px solid #2bb4eb;;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'clickHerFont', sans-serif;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 18px rgba(72, 214, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    z-index: 30;
    pointer-events: auto;
}

.gallery_unlock_button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(117, 234, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    filter: brightness(1.05);
}

.gallery_unlock_button.is-locked {
    background: linear-gradient(145deg, #d9f7ff 0%, #8ed8f8 18%, #5892dd 60%, #3f65ff 100%);color: #071321;
    border-color: #2bb4eb;
}

.gallery_unlock_button.is-locked:hover {
    box-shadow: 0 0 22px rgba(119, 207, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.gallery_unlock_button.is-complete {
    background: linear-gradient(145deg, #1d6b4f, #144735);
    color: #e9fff6;
    border-color: #2ba87a;
    cursor: default;
}

.gallery_unlock_button.is-complete:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}

.gallery-trickster-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.gallery-trickster-filter-label {
    font-size: 20px;
    font-weight: bold;
    color: #D896FF;
    text-shadow: 0 0 10px rgba(109, 3, 140, 0.5);
    letter-spacing: 1px;
}

.gallery-trickster-filter-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gallery-trickster-filter-btn {
    font-size: 24px;
    cursor: pointer;
    background: linear-gradient(145deg, #4a2f6e, #2d1f4a);
    color: #D896FF;
    border: 2px solid #6D038C;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.gallery-trickster-filter-btn:hover {
    background: linear-gradient(145deg, #6844a0, #4a2f6e);
    box-shadow: 0 0 12px rgba(109, 3, 140, 0.6);
    border-color: #A855F7;
}

.gallery-trickster-filter-name {
    font-size: 18px;
    color: #f5f5f5;
    min-width: 150px;
    text-align: center;
    letter-spacing: 1.25px;
}

.gallery_scene {
    background-color: #1e1e1e;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out 0.2s;
}

.scene_transition_overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.scene_transition_overlay.visible {
    opacity: 1;
}

.scene_transition_overlay.visible.fade-out {
    transition: opacity 1.5s ease-out;
    opacity: 0;
}

.Gallery_UI.visible .gallery_scene {
    opacity: 1;
}

.gallery_scene video {
    height: 100%;
    object-fit: cover;
}

.capture-variant-selector {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 14px;
    z-index: 12;
}

.capture-variant-button {
    min-width: 92px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 2px solid rgba(216, 150, 255, 0.55);
    background: linear-gradient(145deg, rgba(49, 20, 70, 0.92), rgba(18, 7, 29, 0.96));
    color: #f4d8ff;
    font-family: 'clickHerFont', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.capture-variant-button:hover {
    transform: translateY(-2px);
    border-color: #eab8ff;
    box-shadow: 0 14px 34px rgba(109, 3, 140, 0.35);
}

.capture-variant-button.is-selected {
    background: linear-gradient(145deg, rgba(121, 44, 171, 0.96), rgba(56, 17, 87, 0.98));
    border-color: #f0c6ff;
    box-shadow: 0 0 22px rgba(216, 150, 255, 0.35);
}

.capture-variant-button.is-locked {
    opacity: 0.45;
    border-style: dashed;
}

.capture-variant-button-diamond {
    background: linear-gradient(145deg, rgba(176, 244, 255, 0.94), rgba(43, 123, 176, 0.98));
    border-color: rgba(200, 248, 255, 0.92);
    color: #032235;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.capture-variant-button-diamond.is-selected {
    background: linear-gradient(145deg, rgba(234, 252, 255, 0.98), rgba(93, 195, 231, 0.98));
    border-color: #ffffff;
    box-shadow: 0 0 24px rgba(117, 234, 255, 0.45);
}
.gallery_selection {
    width: 415px;
    clip-path: url(#myClip);
    overflow: hidden;
    position: relative;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out 0.1s, opacity 0.3s ease-in-out;
}

.Gallery_UI.visible .gallery_selection {
    transform: translateX(0);
}

.gallery_selection_content {
    display: block;
    width: 100%;
    will-change: transform;
}

.gallery_selection::-webkit-scrollbar {
    display: none;
}
.scene_prev {
    width: 100%;
    min-height: 258px;
    max-height: 258px;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.scene_prev:hover img {
    transform: scale(1.05);
    border-color: #A855F7;
    filter: brightness(0.3);
    box-shadow: 0 0 10px rgba(109, 3, 140, 0.5);
}
.scene_prev img {
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
    filter: brightness(0.5);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 0;
}
.sp_locked {
    position: absolute;
    height: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease-in-out;
    cursor: default !important;
    z-index: 55;
}

.sp_locked:hover .scene_prev video{
    transform: none !important;
}

.heart_icon {
    position: absolute;
    bottom: 5px;
    right: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.heart_icon img {
    width: 100%;
    opacity: 0.9;
    filter: drop-shadow(1px 1px 2px black);
}
.heart_count {
    position: absolute;
    top: 5px;
    font-size: 28px;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-family: 'clickHerFont', sans-serif;
}

.videoTitle {
    position: relative;
    color: white;
    font-size: 18px;
    text-shadow: 1px 1px 2px black;
    z-index: 50;
    font-family: 'clickHerFont', sans-serif;
    left: 50px;
}

.scene_player {
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.scene_player.is-visible {
    opacity: 1;
}

.scene_image {
    display: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.scene_image.is-visible {
    opacity: 1;
}

.gallery_arrow {
    position: absolute;
    right: 420px;
    top: 5px;
    width: 40px;
    height: 40px;
    z-index: 100;
    pointer-events: none;
    transition: top 0.3s ease-in-out;
}

.gallery_arrow svg {
    width: 810%;
    height: 240%;
    filter: drop-shadow(0 0 5px rgba(109, 3, 140, 0.8));
    transform: rotate(180deg);
}

.unlocked_counter {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 415px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    font-family: 'clickHerFont', sans-serif;
    z-index: 101;
    pointer-events: none;
}

.scene_number_indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-family: 'clickHerFont', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    z-index: 101;
}

.locked_note_picture_placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff87;
    font-size: 24px;
    font-family: 'clickHerFont', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    z-index: 10;
    left: 50px;
}

.coming_soon_placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ff9900;
    font-size: 20px;
    font-family: 'clickHerFont', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    z-index: 10;
    left: 50px;
    text-align: center;
    padding: 10px;
}

html[data-edition="GOLD"] .selected,
html[data-edition="DIAMOND"] .selected {
    background: linear-gradient(145deg, rgba(var(--edition-ui-shadow-rgb), 0.5), rgba(var(--edition-ui-shadow-rgb), 0.28)) !important;
    color: var(--edition-ui-text) !important;
    box-shadow: 0 0 15px rgba(var(--edition-ui-shadow-rgb), 0.6) !important;
    outline-color: var(--edition-ui-border) !important;
}

html[data-edition="GOLD"] .gallery_popup,
html[data-edition="GOLD"] .gallery_sidebar,
html[data-edition="GOLD"] .gallery-trickster-filter-btn,
html[data-edition="DIAMOND"] .gallery_popup,
html[data-edition="DIAMOND"] .gallery_sidebar,
html[data-edition="DIAMOND"] .gallery-trickster-filter-btn {
    background: linear-gradient(145deg, var(--edition-ui-panel-mid), var(--edition-ui-panel-bottom));
    border-color: var(--edition-ui-border);
}

html[data-edition="GOLD"] .gallery_popup,
html[data-edition="DIAMOND"] .gallery_popup {
    box-shadow: 0 8px 30px rgba(var(--edition-ui-shadow-rgb), 0.6);
}

html[data-edition="GOLD"] .gallery_sidebar,
html[data-edition="DIAMOND"] .gallery_sidebar {
    border-right-color: rgba(var(--edition-ui-shadow-rgb), 0.5);
}

html[data-edition="GOLD"] .gallery_popup h2,
html[data-edition="GOLD"] .G_logo_text,
html[data-edition="GOLD"] .gallery-trickster-filter-label,
html[data-edition="GOLD"] .gallery-trickster-filter-btn,
html[data-edition="DIAMOND"] .gallery_popup h2,
html[data-edition="DIAMOND"] .G_logo_text,
html[data-edition="DIAMOND"] .gallery-trickster-filter-label,
html[data-edition="DIAMOND"] .gallery-trickster-filter-btn {
    color: var(--edition-ui-text);
    text-shadow: 0 0 10px rgba(var(--edition-ui-shadow-rgb), 0.5);
}

html[data-edition="GOLD"] .G_logo_text2,
html[data-edition="DIAMOND"] .G_logo_text2 {
    color: var(--edition-ui-text-strong);
    text-shadow: 0 0 10px rgba(var(--edition-ui-shadow-rgb), 0.5);
}

html[data-edition="GOLD"] .gallery_popup p,
html[data-edition="GOLD"] .gallery_category,
html[data-edition="DIAMOND"] .gallery_popup p,
html[data-edition="DIAMOND"] .gallery_category {
    color: var(--edition-ui-text-muted);
}

html[data-edition="GOLD"] .gallery_popup button,
html[data-edition="GOLD"] .gallery-trickster-filter-btn,
html[data-edition="DIAMOND"] .gallery_popup button,
html[data-edition="DIAMOND"] .gallery-trickster-filter-btn {
    background: linear-gradient(145deg, var(--edition-ui-hover-top), var(--edition-ui-panel-top));
    color: var(--edition-ui-text);
    border-color: var(--edition-ui-border);
}

html[data-edition="GOLD"] .gallery_popup button:hover,
html[data-edition="GOLD"] .gallery-trickster-filter-btn:hover,
html[data-edition="DIAMOND"] .gallery_popup button:hover,
html[data-edition="DIAMOND"] .gallery-trickster-filter-btn:hover {
    background: linear-gradient(145deg, var(--edition-ui-active-top), var(--edition-ui-hover-top));
    border-color: var(--edition-ui-text-strong);
    box-shadow: 0 0 15px rgba(var(--edition-ui-shadow-rgb), 0.7);
}

html[data-edition="GOLD"] .gallery_category:hover,
html[data-edition="DIAMOND"] .gallery_category:hover {
    background-color: rgba(var(--edition-ui-shadow-rgb), 0.3);
    color: var(--edition-ui-text);
    box-shadow: 0 0 10px rgba(var(--edition-ui-shadow-rgb), 0.4);
}

html[data-edition="GOLD"] .capture-variant-button,
html[data-edition="DIAMOND"] .capture-variant-button {
    border-color: rgba(var(--edition-ui-shadow-rgb), 0.55);
    background: linear-gradient(145deg, color-mix(in srgb, var(--edition-ui-panel-top) 92%, black 8%), color-mix(in srgb, var(--edition-ui-panel-bottom) 96%, black 4%));
    color: color-mix(in srgb, var(--edition-ui-text) 90%, white 10%);
}

html[data-edition="GOLD"] .capture-variant-button:hover,
html[data-edition="DIAMOND"] .capture-variant-button:hover {
    border-color: color-mix(in srgb, var(--edition-ui-text) 82%, white 18%);
    box-shadow: 0 14px 34px rgba(var(--edition-ui-shadow-rgb), 0.35);
}

html[data-edition="GOLD"] .capture-variant-button.is-selected,
html[data-edition="DIAMOND"] .capture-variant-button.is-selected {
    background: linear-gradient(145deg, rgba(var(--edition-ui-shadow-rgb), 0.96), color-mix(in srgb, var(--edition-ui-panel-top) 88%, black 12%));
    border-color: color-mix(in srgb, var(--edition-ui-text) 78%, white 22%);
    box-shadow: 0 0 22px rgba(var(--edition-ui-shadow-rgb), 0.35);
}

html[data-edition="GOLD"] .scene_prev:hover img,
html[data-edition="DIAMOND"] .scene_prev:hover img {
    border-color: var(--edition-ui-text-strong);
    box-shadow: 0 0 10px rgba(var(--edition-ui-shadow-rgb), 0.5);
}

html[data-edition="GOLD"] .gallery_arrow svg,
html[data-edition="DIAMOND"] .gallery_arrow svg {
    filter: drop-shadow(0 0 5px rgba(var(--edition-ui-shadow-rgb), 0.8));
}
