input[type="password"]:-webkit-autofill,
input[type="password"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill:hover {
    box-shadow: 0 0 0 1000px #222 inset !important;
    -webkit-box-shadow: 0 0 0 1000px #222 inset !important;
    background-color: #222 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --color-black: #000;
    --color-dark: #111;
    --color-dark-gray: #222;
    --color-medium-gray: #333;
    --color-gray: #444;
    --color-light-gray: #666;
    --color-lighter-gray: #999;
    --color-white: #fff;
    --color-off-white: #ddd;
    --color-light: #ccc;
    --color-pale: #b7b7b7;
    --color-disabled: #666666;
    
    /* Accent Colors */
    --color-yellow: #edc03f;
    --color-green: #8FE462;
    --color-red: #f32525;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --gradient-vip: linear-gradient(135deg, #F2AE26 0%, #E6761A 100%);
    
    /* Gradient Overlays */
    --overlay-top-to-bottom: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.05) 100%);
    --overlay-left-to-right: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0) 100%);
    --overlay-left-gradient: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    --overlay-right-gradient: linear-gradient(-90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}
/* ===== End CSS Variables ===== */

html {
    height: 100%;
}

html, body {
    box-sizing: border-box;
    background: #111;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

*, *:before, *:after {
  box-sizing: inherit;
}

h1, h2, h3 {
    font-family: inherit;
}

h3.subtitle {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
    font-weight: 400;
    margin-top: -1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #090911;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: opacity 0.4s;
}

.page-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-wrapper.store {
    background: #000;
}

.page-wrapper.fanclub, .page-wrapper.account, .page-wrapper.video-item {
    height: 100%;
    background: radial-gradient(ellipse at top, #191e33 15%, #0c090f 100%);
    background-attachment: fixed;
    overflow: hidden;
}

.nav-wrapper {
    position: fixed;
    width: 100%;
    z-index: 9;
}

.navbar.store {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    padding: 0.75rem 2rem 0.5rem 6rem;
    width: 100%;
    z-index: 9;
    overflow: visible;
    margin-bottom: 0;
}

.navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    background: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.2) 30%, #000 100%);
    z-index: 5;
    pointer-events: none;
}

.navbar-overlay.blue {
    background: linear-gradient(0deg, transparent 0%, rgba(23, 27, 49, 0.2) 30%, #060614 100%);
}

.secondary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.tflinks.store, .tflinks.login {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    height: 3rem;
    font-weight: 500;
    font-size: 1.125rem;
    gap: 2rem;
}

.tflink.store {
    font-size: 1.125rem;
}

.tflink.store.secondary {
    font-size: 1rem;
}

.tflink.store.secondary:current {
    font-weight: 700;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tflink.signup {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.tflink.signup svg {
    filter: drop-shadow(0 0 0 #000000);
}

.tflink.signup:hover svg {
    filter: drop-shadow(0 0 8px #e923ad);
}

.tflinks.login {
    gap: 0.5rem;
    color: #fff;
}

.tflink.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 2.5rem;
    gap: 0.5rem;
    padding: 0 0.5rem;
    font-size: 1.125rem;
}

.tflink.profile:hover svg {
    filter: drop-shadow(0 0 8px #e923ad);
}

#login-navbar {
    gap: 0.5rem;
    min-height: 3rem;
    position: relative;
}

.auth-preloader-element {
    display: flex;
    align-items: center;
    width: 12rem;
    height: 2.5rem;
    opacity: 1;
    transition: opacity 0.2s ease;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.auth-preloader-element::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

.auth-preloader-element.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

#login-navbar > :not(.auth-preloader-element) {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#login-navbar.loaded > :not(.auth-preloader-element) {
    opacity: 1;
}

#login-navbar.loaded .auth-preloader-element {
    display: none;
}

.large-icon {
    height: 2rem;
    width: auto;
}

.medium-icon {
    height: 1.5rem;
    width: auto;
}

.small-icon {
    height: 1rem;
    width: auto;
}

.nav-icon {
    height: 1.25rem;
    width: auto;
}

.input-icon {
    height: 1.25rem;
    width: auto;
}

.site-origin {
    height: 1.5rem;
    transition: all 0.125s ease;
}

.site-origin:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.reina-logo {
    height: 100%;
    width: auto;
    margin-top: 2px;
    display: flex;
}

.maincontainer {
    padding: 0;
    position: relative;
    flex: 1;
}

.footer {
    margin: 0;
    padding: 6rem 0 2rem 0;
    height: auto;
    background: none;
    min-width: 100%;
    position: relative;
    z-index: 5;
}

.store-wrapper {
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    background: #000;
    position: relative;
}

.store-body {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding-bottom: 2rem;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.store-hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: fit-content;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    flex: 0 0 auto;
}

.store-hero.library {
    min-height: 360px;
}

.store-content {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: content;
    padding: 6rem 0 2rem 6rem;
    position: relative;
    z-index: 8;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.15) 60%,
      rgba(0, 0, 0, 0.0) 100%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.5) 35%,
      rgba(0, 0, 0, 0.05) 45%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: 2;
}

.featured-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    object-position: center;
    z-index: 1;
}

.featured-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    z-index: 3;
    align-items: center;
    gap: 1.5rem;
}

.featured-title {
    color: #fff;
    font-size: 4rem;
    height:8rem;
}

.buy-button {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    line-height: normal;
    background: #000;
    color: #fff;
    font-family: 'poppins';
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 100vw;
    padding: 0 2rem 0 2rem;
    height: 3rem;
    align-items: center;
    border: 1px solid #edc03f;
    cursor: pointer;
    align-self: flex-start;
    vertical-align: center;
    width: auto;
    margin: auto;
    text-wrap: nowrap;
    transition: transform 0.2s ease;
}

.buy-button span {
    transform: scale(1.01);
}

.hero-text-container {
    color: #fff;
    font-family: 'poppins';
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: flex-start;
    position: relative;
    z-index: 3;
    justify-content: center;
    align-items: left;
}

.hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'poppins';
    text-transform: uppercase;
    text-shadow: none;
    line-height: 100%;
    margin: 0;
}

.hero-description {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    line-height: 160%;
    margin: 0;
    max-width: 60ch;
}

/*.hero-description a {
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
    letter-spacing: 0.25px;
    transition: all 0.2s ease;
}*/

.hero-description a:hover {
    filter: brightness(1.4) drop-shadow(0 0 4px rgba(255, 0, 191, 0.4));
    cursor: pointer;
}

.join-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'poppins';
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 0.5rem;
    height: 3rem;
    width: auto;
    cursor: pointer;
    align-self: flex-start;
    border: none;
    border-radius: 100vw;
    padding: 0.75rem 2rem;
    background: #fff;
    filter: drop-shadow(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    color: #fff;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
    overflow: visible;
    box-sizing: border-box;
}

.join-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 100vw;
    filter: blur(6px);
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    opacity: 0.99;
}

.join-cta:hover {
    filter: drop-shadow(0 0 4px rgba(255, 0, 191, 0.4)) hue-rotate(20deg) brightness(1.05) saturate(1.05);
    transform: scale(1.05);
}

#notification-button {
    height: 2.5rem;
    width: 2.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.nav-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 2.5rem;
    width: 2rem;
    color: inherit;
    text-decoration: none;
}

a.nav-button:visited {
    color: inherit;
}

.filter-button-container {
    display: flex;
    flex-direction: row;
    align-self: flex-start;
    gap: 1rem;
    margin-left: 6rem;
    margin-bottom: 1rem;
}  

.filter-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
    border: 1px solid #666666;
    padding: 0.25rem 1rem 0.25rem 1rem;
    background: #111;
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    position: relative;
    transition: all 0.15s ease;
}

.filter-button.type {
    max-height: 2.5rem;
    padding: 0 1rem;
}

.filter-button.reset {
    color: #fff;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

@keyframes rotateIconCCW {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.filter-button.reset svg.rotating {
    animation: rotateIconCCW 0.6s ease-in-out;
}

.filter-button svg {
    height: 1rem;
    width: auto;
}

.filter-button.tags svg:first-of-type {
    display: block;
}

.filter-button.tags svg:nth-of-type(2) {
    display: none;
}

.filter-button.tags:has(.tag.selected) > svg:first-of-type {
    display: none;
}

.filter-button.tags:has(.tag.selected) > svg:nth-of-type(2) {
    display: block;
}

.dropdown-arrow {
    height: 0.5rem !important;
    width: auto;
    transition: transform 0.125s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-button.open {
    border-color: #ccc;
}

.filter-button.tags.open .dropdown-arrow {
    transform: rotate(180deg);
}

.filter-button.type.open .dropdown-arrow {
    transform: rotate(180deg);
}

.filter-button:hover {
    border: 1px solid #ccc;
    background: #222;
}

.dropdown-container {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 320px;
    height: auto;
    flex-direction: column !important;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 0rem;
    padding: 1rem 1rem 1rem 1rem;
    border: 1px solid #ccc;
    z-index: 15;
    background: #111;
    border-radius: 0.75rem;
    max-height: 400px;
    filter: drop-shadow(0 4px 0.75rem rgba(0, 0, 0, 0.9));
}

.dropdown-container.tags {
    padding: 0;
    gap: 0;
}

.fanclub-tag {

}

/* Custom scrollbar styling */
.dropdown-container::-webkit-scrollbar {
    width: 8px;
}

.dropdown-container::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-container::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 100vw;
}

.dropdown-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Firefox scrollbar */
.tag-container {
    scrollbar-width: thin;
    scrollbar-color: #666 transparent;
}

.dropdown-container.filter {
    width: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.filter-button.open{
    border: 1px solid #ccc;
}

.filter-button.open .dropdown-container {
    display: flex;
}

.tag-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: center;
    width: calc(100% - 2rem);
    padding-top: 0.5rem;
    gap: 0.5rem;
    position: relative;
    height: 2rem;
    overflow: hidden;
    color: #999;
    transition: height 0.15s ease;
    cursor: pointer;
}

.tag-search.expanded {
    height: 3rem;
    cursor: text;
    color: #fff;
}

.tag-search .search-icon {
    position: absolute;
    left: 0;
    height: 1.25rem;
    width: auto;
    color: inherit;
    pointer-events: none;
}

.tag-search-input {
    width: 100%;
    max-width: calc(100% / 2);
    height: 3rem;
    padding: 0.75rem 0.75rem 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #999;
    border-radius: 0;
    color: #fff;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.15s ease;
}

.tag-search-input::placeholder {
    color: #999;
}

.tag-search-input:focus {
    outline: none;
    border-bottom-color: #fff;
}

.tag-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.modal-divider {
    height: 1px;
    width: 100%;
    background: #444;
    margin: 0.5rem 0 0.5rem 0;
}

.type-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
}

.type-option {
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    text-wrap: nowrap;
    white-space: nowrap;
}

.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.type-option:hover {
    color:#d9d9d9;
}

.type-option.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.type-option.gold:hover {
    filter: brightness(1.1);
}

.tag-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 14rem;
    width: 100%;
    gap: 0.5rem;
    overflow-y: auto;
    position: relative;
    padding-bottom: 2rem;
}

.tag-container.fanclub {
    padding-bottom: 0;
    max-height: 10rem;
}

.tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
    gap: 0.25rem;
    height: 2.25rem;
    padding: 0.25rem 0.75rem 0.25rem 0.75rem;
    background: transparent;
    border: 1px solid #666;
    border-radius: 100vw;
    font-size: 0.875rem;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    text-transform: capitalize;
    transition: all 0.05s ease;
}

.tag.fanclub-tag {
    border: 1px solid transparent;
    background: linear-gradient(#222, #222) padding-box, linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%) border-box;
    background-clip: padding-box, border-box;
}

.tag.fanclub-tag:hover {
    border: 1px solid #fff;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
}

.tag.active {
    background: #ffffff;
    border: 1px solid #fff;
    color: #111;
}

.tag.fanclub-tag.active {
    border: 1px solid #fff;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    color: #fff;
}

.remove-tag {
    display: none;
}

.tag:hover {
    border: 1px solid #d9d9d9;
}

.tag.selected {
    background: #fff;
    color: #111;
    border: 1px solid transparent;
}

.tag.fanclub-tag.selected {
    color: #fff;
    border: 1px solid #fff;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
}

.tag.selected .remove-tag {
    display: block;
    display: none;
}

/*.clear-tags {
    color: #ff6f91;
    font-weight: 600;
    cursor: pointer;
}*/

.tag-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    min-height: 8rem;
    position: relative;
    padding: 1.5rem 1rem 0 1rem;
}

.tag-wrapper.library {
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem;
}

.tag-wrapper.fanclub {
    border-top: 1px solid #444;
    padding-bottom: 1.5rem;
    min-height: auto;
    position: relative;
    z-index: 2;
}

.tag-wrapper.fanclub::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.tags-fanclub-icon {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    height: 2rem;
    width: auto;
}

.tags-title-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.tags-details {
    font-size: 0.875rem;
    color: #ccc;
    font-weight: 400;
}

.tag-section-title {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    align-self: flex-start;
    color: #fff;
}

.tag-section-title.vip {
    font-weight: 700;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    align-self: flex-start;
}

.category-container {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    padding: 0.5rem 0rem 2rem 0rem;
    width: 100%;
    position: relative;
    overflow: visible;
}

.category-title {
    color: #fff;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 100%;
    margin: 0;
    align-self: flex-start;
    padding-left: 6rem;
}

.video-gallery {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-top: 1rem;
    height: auto;
    width: 100%;
    position: relative;
    overflow-x: scroll;
    overflow-y: visible;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;
}

.video-gallery.scrolled + .carousel-button.left {
    display: flex;
}

.video-gallery .video-item:first-child {
    margin-left: 6rem;
}

.video-gallery .video-item:last-child {
    margin-right: 1rem;
}

.carousel-button {
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 3.5rem);
    width: 12rem;
    background: linear-gradient(-90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 14;
    opacity: 0;
    transition: all 0.25s ease;
}

.carousel-button.left {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    display: none;
}

.carousel-button.left {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    display: none;
}

.video-gallery:hover ~ .carousel-button {
    opacity: 1;
}

.carousel-button svg {
    height: 2.5rem;
    width: auto;
    transition-delay: 1s;
    transition: transform 0.25s;
}

.carousel-button:hover {
    opacity: 1;
}

.carousel-button:hover svg {
    transform: scale(1.3);
}

.video-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    scroll-snap-align: start;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 0px rgba(0, 0, 0, 0));
    overflow: visible;
    transition: filter 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-item:hover {
    filter: drop-shadow(0 4px 32px rgba(0, 0, 0, 0.9));
    overflow: visible;
}

.video-item.vertical .video-thumbnail,
.video-thumbnail.vertical {
    height: 202.5px; /* match horizontal height */
    width: calc(202.5px * 9 / 16); /* maintain 9:16 aspect ratio, but max height same as horizontal */
    max-height: 202.5px;
    aspect-ratio: 9/16;
}

.video-item.vertical .video-title {
    text-align: center;
    max-width: calc(202.5px * 9 / 16);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-thumbnail {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 202.5px;
    width: 360px;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-item {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: contain;
    border-radius: 0rem;
    z-index: 1;
    transition: opacity 0.25s;
}

.preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.25s;
    border-radius: 1rem;
}

.video-item:hover {
    transform: scale(1.05);
    opacity: 1;
    overflow: visible;
}

.trailer-hover-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    color: #fff;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 100%;
    filter: drop-shadow(0 0 8px rgb(71, 0, 44));
    text-wrap: nowrap;
}

.video-item:hover .trailer-hover-text {
    opacity: 1;
}

.video-item.vertical .trailer-hover-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-item.vertical:hover .trailer-hover-text {
    transform: translate(-50%, -50%) scale(0.952381);
}

.locked {
    position: absolute;
    height: 6rem;
    width: auto;
    right: 0px;
    top: 0px;
    z-index: 9;
}

.timestamp {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    height: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem 0 0.75rem;
    background: rgba(0,0,0, 0.3);
    border-radius: 0.5rem;
    color: #fff;
    z-index: 4;
}

.timestamp p {
    line-height: 0;
}

.timestamp img {
    height: 0.75rem;
    width: auto;
    margin: auto;
}

.video-title {
    width: 100%;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}


.preview-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    font-family: 'poppins';
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.preview-modal {
    display: none;
}

.modal-background {
    position: absolute;
    background: rgba(0,0,0, 0.6);
    background: rgba(4, 6, 10, 0.6);
    backdrop-filter: blur(1.6px);
    width: 100%;
    height: 100%;
    z-index: 10;
}

.trailer-wrapper {
    position: relative;
    width: 100%;
}

.exit-modal {
    color: #c3c3c3;
    position: absolute;
    margin: 0;
    z-index: 12;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%); /* This centers it */
    font-weight: 400;
    font-size: 0.75rem;
}


.hide {
  display: none !important;
}


.trailer-container {
    position: relative;
    z-index: 11;
    height: 80vh;
    aspect-ratio: 16/9;
    width: auto;
    max-width: 90vw;
    margin: auto;
    overflow: hidden;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.trailer-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

.trailer-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
    background: #000;
}

.reina-logo.preview {
    position: absolute;
    height: 2rem;
    top: 3rem;
    left: 3rem;
    z-index: 11;
    margin: 0;
}

.preview-details-container {
    position: absolute;
    left: 3rem;
    bottom: 3rem;
    z-index: 2; /* above video */
    color: #fff;
    display: flex;
    flex-direction: column;
    max-width: 50%;
    gap: 2rem;
}

.preview-text-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title.preview {
    font-size: 3rem;
}

.video-info {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    font-weight: 600;
}

.thin {
    font-weight: 300;
}

.video-tag-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    height: auto;
}

.video-tag-container p {
    margin: 0;
    font-weight: 600;
}

.tag-divider {
    height: 4px;
    width: 4px;
    border-radius: 100vw;
    background: rgba(255,255,255,0.9);
}

.blurred span {
    filter: blur(3px);
}


.purchase-disclaimer {
    font-size: 0.75rem;
    margin: 0;
    margin-top: 2rem;
}

.gradient-overlay.preview {
    background:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.45) 30%,
        rgba(0, 0, 0, 0) 50%
      ),
      radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.35) 100%
      );
    z-index: 2;
    opacity: 0.5;
}

.buy-button.preview {
    margin: 0;
}

.buy-button:hover .unlock-icon {
    filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
    transform: scale(1.1);
}

.buy-button:hover {
    text-shadow: 0 0 6px rgba(255, 140, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
    border: none;
    outline: none;
}

.play-controls-container {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 15;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.media-icon {
    background: #111;
    color: #fff;
    border-radius: 100vw;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.media-icon:hover {
    background: #222;
    border: 1px solid #fff;
}

.media-icon svg {
    height: 1.5rem;
    width: auto;
}

.register-wrapper {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 10rem 1rem 4rem 1rem;
    background: #111;
    font-family: 'poppins', sans-serif;
    color: white;
}

.register-wrapper.account {
    background: none;
    max-width: 640px;
}

.register-wrapper h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'poppins', sans-serif;
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

.register-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 320px;
    width: 100%;
}

.register-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-family: 'poppins', sans-serif ;
    background: #222;
    border: 1px solid #444;
    color: #b7b7b7;
    padding: 0;
    padding-left: 2.75rem;
    height: 3rem;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.register-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background: #111;
    border: 1px solid #999;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.register-button:hover {
    background: #222;
}

.button-divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 2rem;
    width: 100%;
    background: none;
}

.horizontal-divider {
    height: 1px;
    width: 100%;
    background: #999;
    margin: 2rem 0 2rem 0;
}

.login-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: underline;
    cursor: pointer;
}

.login-link:hover {
    color: #fff;
}

.right {
    margin-left: auto;
    align-self: flex-end;
    color: #ccc;
    font-size: 0.875rem;
    font-weight: 400;
}

.center {
    margin: 0 auto;
    text-align: center;
}

.login-prompt {
    font-size: 0.875rem;
    font-weight: 400;
    color: #ccc;
}

.login-prompt a {
    color: #fff;
    font-weight: 600;
}

.login-prompt a:hover {
    text-decoration: underline;
}

.security-container {
    background: #121F0C;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #8FE462;
    font-size: 0.875rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}
.security-text {
    margin: 0;
    font-weight: 400;
    line-height: 140%;
}

.register-container .input-wrapper:focus-within .register-input,
.account-container .input-wrapper:focus-within .register-input {
    color: #fff;
    box-shadow: none;
    outline: none;
}

/*.register-container .input-wrapper:focus-within {
    box-shadow:
        -2px -2px 0 0 #dd7ff2,
         2px -2px 0 0 #40d9ef,
        -2px  2px 0 0 #e25454,
         2px  2px 0 0 #ab19d5;
}*/

.account-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 340px;
}

.account-modal {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    border: 1px solid #444;
    border-radius: 1rem;
    background: #111;
}

.sub-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    line-height: 100%;;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
}

label {
    font-weight: 400;
    margin-bottom: 0rem;
    line-height: 100%;
}

.input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
}

.register-submit-button {
    background: #fff;
    filter: drop-shadow(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    border: none;
    border-radius: 100vw;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
    height: 3rem;
    align-self: center;
    position: relative;
    z-index: 1;
    width: 90%;
}

.register-submit-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 100vw;
    filter: blur(6px);
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    opacity: 0.99;
}

.register-submit-button:hover {
    filter: brightness(1.1);
    filter: hue-rotate(25deg);
    width: 100%;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 0rem;
    border-radius: 0.5rem;
}

.input-wrapper svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.succ {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    height: 320px;
    animation: slideOutRight 1s ease forwards;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-play-state: paused;
    max-width: 100%;
    overflow: hidden;
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

.account-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    height: 4rem;
    width: 100%;
    align-self: stretch;
    padding: 0 1.5rem;
    border-radius: 1rem;
    background: #111;
    border: 1px solid transparent;
    font-family: 'poppins';
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.account-button.purchases {
    border: 1px solid #edc03f;
}

.subscription {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #444;
}

.subscription:hover {
    background: #222;
    border: 1px solid #fff;
    color: #fff;
}

.account-button.purchases:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border: none;
    color: #fcfcfc;
}

.account-button.purchases svg {
    transition: transform 0.2s ease;
    color: #FFD700;
}

.account-button.purchases:hover svg {
    transform: translatex(4px);
    color: #111;
}

.account-button.purchases:hover .gold {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
}

.text-icon-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 100%;
}

.text-icon-container span {
    margin-bottom: 2px;
}

.account-button.subscription {
}

.account-button.subscription svg {
    transition: transform 0.2s ease;
}

.account-button.subscription:hover svg {
    transform: translatex(4px);
}

.logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: inherit;
    color: #ff0f0f;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
}

.logout-button:hover {
    text-decoration: underline;
}

.pfp {
    height: 6rem;
    width: auto;
    border-radius: 100vw;
    object-fit: cover;
    overflow: hidden;
}

.pfp img {
    object-fit: cover;
    height: 100%;
}

.uneditable {
  color: #666666 !important;
}

.input-wrapper .uneditable ~ svg {
  color: #666666 !important;
}

.input-wrapper .uneditable ~ svg path {
  fill: none !important;
}

.body-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: 80rem;
    padding-top: 10rem;
}

.body-wrapper * {
    font-family: inherit;
    text-shadow: none;
    color: #fff;
    gap: 4rem;
    margin: 0;
}

.body-wrapper p {
    font-size: 1rem;
    line-height: 160%;
    margin: 0;
    max-width: 80ch;
}

.body-container {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    margin: auto;
    width: 100%;
    max-width: 80rem;
    height: auto;
    gap: 3rem;
}

.text-container, .faq-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-subtitle {
    line-height: 1;
}

.bold {
    font-weight: 700;
}

.text-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.text-link:hover {
    text-decoration: underline;
}

.text-gray {
    color: #eee;
    font-weight: 400;
}

.text-special {
    font-family: 'PermanentMarker', sans-serif;
    font-size: 1.25rem;
}

.text-fanclub {
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
    letter-spacing: 0.25px;
    transition: all 0.2s ease;
}

.text-fanclub:hover {
    filter: brightness(1.4) saturate(1.1) drop-shadow(0 0 4px rgba(255, 0, 191, 0.4));
    cursor: pointer;
}

.register-title {
    margin-bottom: 0;
    font-size: 1.25rem;
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

.emblem {
    padding: 1rem 2rem;
    height: 3.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    background: linear-gradient(90deg, #222 0%, #111 100%);
    border: 2px solid #999;
    border-radius: 0.5rem;
}

.emblem h2 {
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: none;
}

.emblem.tier-paid-fanclub,
.emblem.tier-paid-vip {
    height: 3.25rem;
    padding: 0.5rem 2.5rem;
    overflow: visible;
    box-sizing: border-box;
    border-radius: 0.5rem;
    border: none;
}

.emblem.tier-paid-fanclub, .emblem.tier-paid-vip {
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
}

.emblem.tier-paid-fanclub h2, .emblem.tier-paid-vip  h2{
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

.emblem.tier-paid-fanclub::before,
.emblem.tier-paid-vip::before {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: 1;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, #222 0%, #111 100%);
}

.emblem.tier-paid-vip::before {
    inset: 4px;
}

.membership-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 8rem 1rem 4rem 1rem;
    font-family: inherit;
    color: white;
}

.membership-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    width: 100%;
    color: #fff;
}

.title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.membership-container h1, h2, h3, h4 {
    margin: 0;
    font-family: inherit;
}

.membership-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

.membership-subtitle {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    line-height: 160%;
}

.membership-tiers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.membership-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 340px;
    height: auto;
    padding: 2.5rem 1.5rem;
    border: 2px solid #999;
    border-radius: 1rem;
    background: linear-gradient(to bottom, #252525, #111);
    line-height: 1;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.membership-tier.fanclub {
    
}

.membership-tier.fanclub.vip {

}

.tier-sticker {
    position: absolute;
    top: 0rem;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 4rem;
    z-index: 5;
    filter: drop-shadow(0 2px 4px #330952);
}

.gradient-fill {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(to bottom, #252525, #111);
}

.gradient-fill.fanclub {
    background-color: #111;
    background-image: 
        linear-gradient(to bottom, rgba(37, 37, 37, 0.96), rgba(10, 10, 10, 1)),
        url('/assets/images/grain-texture.png');
}

.gradient-fill.vip {
    background-color: #111;
    background-image: 
        linear-gradient(to bottom, rgba(57, 40, 129, 0.94), rgba(13, 7, 38, 1)),
        url('/assets/images/grain-texture.png');
}

.tier-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: inherit;
}

.tier-title.fanclub {
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

.join-fanclub {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 100vw;
    padding: 0.75rem 2rem;
    border: none;
    height: 3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    filter: drop-shadow(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    color: #fff;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
    overflow: visible;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transform-origin: center center;
    will-change: transform;
}

.join-fanclub.current-plan {
    background: linear-gradient(#111 20%, #999 100%) !important;
    filter: none !important;
    pointer-events: none;;
}

.join-fanclub.fanclub.current-plan::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    filter: none;
    background: linear-gradient(60deg, #444 0%, #888 100%) !important;;
    opacity: 0.99;
}

.join-fanclub.free {
    background: linear-gradient(#fff, #fff) padding-box, var(--gradient-primary) border-box;
    border: 2px solid transparent;
    color: #111;
    border-radius: 100vw;
}

.join-fanclub.fanclub {
    filter: drop-shadow(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    color: #fff;
}

.join-fanclub.fanclub.vip {
    position: relative;
}

.join-fanclub.loading, .join-fanclub.loading span {
  color: transparent !important;
  position: relative;
  pointer-events: none;
}
.join-fanclub.loading::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 1.2s infinite;
  z-index: 2;
}
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.button-texture {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 100vw;
    opacity: 1;
    background: url('/assets/images/grain-texture.png');
    background: url('/assets/images/brushed-alum-dark.png');
    background-size: fill;
    mix-blend-mode: overlay;
}

.join-fanclub.fanclub::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 100vw;
    filter: blur(6px);
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
    opacity: 0.99;
}

.join-fanclub:hover {
    transform: scale(1.05) translateZ(0);
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
}

.per {
    font-size: 14px;
    font-weight: 400;
    color: #fcfcfc;
}

.divider.tier {
    height: 1px;
    background: #444;
    width: 100%;
}

.tier-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 160%;
    color: inherit;
}

.perk-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    line-height: 100%;
}

.perk-title {
    font-weight: 700;
    letter-spacing: 4%;
    margin-bottom: 0.5rem;
}

.perk {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.perk svg {
    height: 1.25rem;
    color: #EC9220;
}

.perk-text {
    font-size: 1rem;
    font-weight: 500;
}

.tier-detail {
    font-size: 0.875rem;
    font-weight: 400;
    text-align: center;
    line-height: 140%;
    margin-top: 1rem;
}

.text-link.fanclub {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: underline;
}

.text-link.fanclub:hover {
    color: #ddd;
    cursor: pointer;
}


#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 0;
}



/* Photoset Gallery Styles */
.photo-gallery {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding-top: 1rem;
    height: auto;
    width: 100%;
    position: relative;
    overflow-x: scroll;
    overflow-y: visible;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;
    overflow: visible;
    min-width: fit-content;
}

.photo-gallery .photoset-item:first-child {
    margin-left: 6rem;
}

.photoset-item {
    width: auto;
    overflow: visible;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    background: #fff;
    padding: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.photoset-item:hover {
    transform: scale(1.05);
    filter: drop-shadow(var(--gradient-primary) 0px 0px 8px);
    overflow: visible;
}

.photoset-thumbnail {
    width: 180px;
    height: 180px;
    object-fit: cover;
    position: relative;
    border-radius: 0.125rem;
    overflow: hidden;
    cursor: pointer;
    align-self: flex-start;
}

.thumbnail-image.photoset {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    border-radius: 0.125rem;
    z-index: 1;
    transition: opacity 0.25s;
}

.image-count {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    height: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.5rem 0 0.5rem;
    background: rgba(0,0,0, 0.3);
    border-radius: 0.5rem;
    color: #fff;
    z-index: 4;
    line-height: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.image-count svg {
    height: 1.25rem;
    width: auto;
    margin-bottom: 1px;
    color: #fff;
}

.photoset-title-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    align-self: stretch;
    padding: 0.5rem;
}

.photoset-title {
    font-family: 'justanotherhand', cursive;
    font-size: 2rem;
    margin: 0;
    line-height: 100%;
    text-align: center;
    /*background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}
/* Photoset Modal Styles */
.trailer-wrapper.photoset {
    position: relative;
    width: auto;
    overflow: visible;
}

.trailer-container.photoset {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    margin: auto;
    border-radius: 0;
    aspect-ratio: auto;
    gap: 2rem;
    overflow: visible;
    height: auto;
}

.trailer-container.photoset::after {
    border: none;
}

.preview-details-container.photoset {
    position: relative;
    z-index: 2;
    width: 480px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.hero-title.preview.photoset {
    font-size: 4rem;
    font-family: 'justanotherhand', cursive;
    text-transform: none;
}

.preview-text-container.photoset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.buy-button.photoset {
}

.purchase-disclaimer.photoset {
    margin: 0;
}

.hero-title.preview {
    font-size: 3rem;
}

.hero-description.photoset {
    max-width: 90%;
    text-align: left;
}

.photoset-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    margin-top: 1.5rem;
    transform: scale(0.9);
    pointer-events: none;
}

.image-count-detail {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.photoset-image.preview.photoset {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-frame {
    position: relative;
    width: 24rem;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0.125rem;
    overflow: hidden;
}

.polaroid-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'justanotherhand', cursive;
    height: 6rem;
    line-height: auto;
    text-align: center;
}

.polaroid-title h2 {
    margin: 0;
    font-size: 3rem;
    color: #111;
    filter: none;
}

.polaroid-stack-container {
    position: relative;
    perspective: 1000px;
    width: 350px;
    height: 450px;
}

.polaroid-stack-container.preview {
    width: 380px;
    height: 500px;
}

.polaroid {
    position: absolute;
    width: 300px;
    background: #fff;
    border: 8px solid #fff;
    border-bottom: none;
    padding-bottom: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    border-radius: 0.25rem;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    animation: scatterPolaroids 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.polaroid:nth-child(1) {
    transform: rotate(0deg) translateX(0px) translateY(0px);
    z-index: 6;
    animation-delay: 0s;
    opacity: 1;
    animation: none;
}

.polaroid:nth-child(2) {
    transform: rotate(-25deg) translateX(-120px) translateY(70px);
    z-index: 5;
    animation-delay: 0.11s;
}

.polaroid:nth-child(3) {
    transform: rotate(20deg) translateX(40px) translateY(-110px);
    z-index: 4;
    animation-delay: 0.22s;
}

.polaroid:nth-child(4) {
    transform: rotate(-15deg) translateX(-100px) translateY(-110px);
    z-index: 3;
    animation-delay: 0.33s;
}

.polaroid:nth-child(5) {
    transform: rotate(5deg) translateX(-10px) translateY(-180px);
    z-index: 1;
    animation-delay: 0.44s;
}

.polaroid:nth-child(6) {
    animation-delay: 0.55s;
    transform: rotate(-1deg) translateX(30px) translateY(180px);
    z-index: 2;
    display: none;
}

.polaroid-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.polaroid-text {
    padding: 1rem;
    text-align: center;
    font-size: 2.5rem;
    color: #111;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'justanotherhand', cursive;
    margin: 0;
}

@keyframes scatterPolaroids {
    from {
        transform: rotate(0deg) translateX(0px) translateY(0px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.photoset-preview-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0.5rem;
    gap: 0.25rem;
    width: 100%;
    max-width: 80%;
    aspect-ratio: 1 / 1;
    display: none;
}

.gallery-grid-item {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1px;
    transition: transform 0.2s ease;
    width: 100%;
    height: 100%;
}

.gallery-grid-item:hover {
    filter: brightness(1.1);
}

.gallery-grid-empty {
    aspect-ratio: 1/1;
    background: transparent;
}

.modal-background.photoset {
    background: rgba(0,0,0, 0.8);
}


.store-body.photoset {
    padding: 8rem 6rem;
    z-index: 4;
}

.store-item-wrapper.photoset {
    width: auto;
    display: flex;
    flex-direction: column;
    color: #fff;
    gap: 1rem;
}

.photoset-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.photoset-item-title h2 {
    font-family: 'justanotherhand', cursive;
    font-size: 3rem;
    margin: 0;
    line-height: 100%;
}

.photoset-item-title-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
    align-self: flex-start;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.photoset-image-count {
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    color: #fff;
}

.photoset-image-count svg {
    margin-bottom: 2px;
}

.photoset-item-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ownership-property {
    font-size: 0.875rem;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.ownership-property p {
    margin: 0;
}

.ownership-property img {
    display: none;
}

.ownership-property svg {
    height: 1.25rem;
    color: #28c75d;
}

.ownership-property.notifications {
    gap: 0.25rem;
}

.photoset-download {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.3) 0%, rgba(171, 25, 213, 0.3) 50%, rgba(226, 84, 84, 0.3) 100%);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    overflow: hidden;
    padding: 0;
    text-wrap: nowrap;
}

.photoset-download:hover {
    width: 14rem;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.8) 0%, rgba(171, 25, 213, 0.8) 50%, rgba(226, 84, 84, 0.8) 100%);
    transform: scale(1.05);
}

.photoset-download svg {
    height: 1.5rem;
    width: 1.5rem;
    opacity: 1;
}

.photoset-download span {
    opacity: 0;
    transition: opacity 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    width: 0;
    display: none;
    overflow: hidden;
}

.photoset-download:hover span {
    display: inline;
    opacity: 1;
    width: auto;
}


.vertical-divider {
    width: 1px;
    height: 100%;
    height: 20px;
    background: #fff;
}

.horizontal-divider.photoset {
    width: 100%;
    height: 1px;
    margin: 0;
}

.photoset-item-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc((100% / 8) - 0.25rem), 1fr));
    gap: 0.25rem;
    padding-bottom: 1rem;
    max-width: 100%;
}

.photoset-gallery-item {
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: fadeInSlideUp 0.6s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.08s);
    opacity: 0;
    overflow: hidden;
    border-radius: 0px;
}

.photoset-gallery-item:hover .photoset-gallery-image {
    transform: scale(1.12);
    filter: brightness(1.1) saturate(1.05);
}

.photoset-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Photoset Lightbox Modal */
.photoset-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photoset-lightbox.active {
    display: flex;
    opacity: 1;
}

.photoset-lightbox-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.photoset-lightbox-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.photoset-lightbox-image {
    width: auto;
    height: 100vh;
    object-fit: contain;
    border-radius: 0;
}

.photoset-lightbox-close {
    display: none;
}

.photoset-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}


.photoset-lightbox-download {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.3) 0%, rgba(171, 25, 213, 0.3) 50%, rgba(226, 84, 84, 0.3) 100%);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    overflow: hidden;
    padding: 0;
    text-wrap: nowrap;
    font-family: 'Poppins', sans-serif;
}

.photoset-lightbox-download:hover {
    width: 9rem;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.8) 0%, rgba(171, 25, 213, 0.8) 50%, rgba(226, 84, 84, 0.8) 100%);
    transform: scale(1.05);
}

.photoset-lightbox-download span {
    opacity: 0;
    transition: opacity 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    width: 0;
    display: none;
    overflow: hidden;
}

.photoset-lightbox-download:hover span {
    display: inline;
    opacity: 1;
    width: auto;
}

.photoset-lightbox-download svg {
    height: 1.5rem;
    width: 1.5rem;
    opacity: 1;
}

.photoset-lightbox-download:hover span {
    display: inline;
    opacity: 1;
    width: auto;
}


/* Progressive Load Animation for Gallery Items */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Fanclub Feed Styles ===== */
.fanclub-nav-wrapper {
    position: fixed;
    width: 280px;
    padding: 0 1rem;
    align-self: flex-start;
    transform: translateX(-100%);
}

.fanclub-nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.fanclub-nav-link {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    border-radius: 100vw;
    color: #aca6a8;
    font-weight: 500;
    height: 3rem;
    width: auto;
    padding: 0 1rem;
}

.fanclub-nav-link.bold {
    font-weight: 700;
}

.fanclub-nav-link:hover {
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.1) 0%, rgba(171, 25, 213, 0.1) 50%, rgba(226, 84, 84, 0.1) 100%);
}

.svg-notifications {
    height: 1.5rem;
    width: 1.5rem;
}


.fanclub-feed-tab-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    position: relative;
    z-index: 4;
}

.fanclub-feed-tab-nav {
    display: flex;
    flex-direction: row;
    gap: 0rem;
    padding-bottom: 2px;
}

.fanclub-feed-tab-button {
    background: none;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 3rem;
    transition: all 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    border-top: 2px solid #444;
}

.fanclub-feed-tab-button:hover {
    color: #fff;
}

.fanclub-feed-tab-button.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.1) 0%, rgba(171, 25, 213, 0.1) 50%, rgba(226, 84, 84, 0.1) 100%);
    position: relative;
    border:none;
}

.fanclub-feed-tab-button.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
}

.fanclub-feed-tab-content {
    display: none;
    width: 100%;
}

.fanclub-feed-tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fanclub-feed-tag-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    background: rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.1) 0%, rgba(171, 25, 213, 0.1) 50%, rgba(226, 84, 84, 0.1) 100%);
    border-radius: none;
    border: none;
}

.fanclub-feed-tag-filter .tag-search {
    width: 100%;
    padding: 0;
}

.fanclub-feed-tag-filter .tag-search-input {
    width: 100%;
}

.fanclub-feed-tag-filter .tag-wrapper {
    padding: 0.5rem 0 0 0;
    min-height: 0;
}

.fanclub-feed-tag-filter .tag-container {
    height: auto;
    gap: 0.5rem;
    padding-bottom: 0;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: visible;
}

.tag-container.posts .tag.hidden {
    display: none !important;
}

.tag-container.posts.expanded .tag.hidden {
    display: flex !important;
}

.tag-show-more {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    background: transparent;
    border: 1px solid #666;
    border-radius: 100vw;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 0;
    padding-bottom: 1px;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    align-self: flex-start;
}

.tag-show-more:hover {
    border-color: #999;
    color: #ddd;
}

.fanclub-post {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.fanclub-post-head.skeleton {
    height: 134px;
}

/* Skeleton Loaders for Posts */
.fanclub-post-skeleton {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    animation: skeleton-fade 1.5s ease-in-out infinite;
}

.skeleton-post-author {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.skeleton-header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    height: auto;
}

.skeleton-text-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
    align-self: center;
    margin: auto;
    min-height: 100%;
}

.skeleton-line {
    height: 0.75rem;
    border-radius: 0.5rem;
    align-self: flex-start;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer-gradient 1.5s ease-in-out infinite;
}

.skeleton-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 100vw;
    flex-shrink: 0;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer-gradient 1.5s ease-in-out infinite;
}

.skeleton-line.short {
    width: 70%;
    height: 25px;
}

.skeleton-line.shorter {
    width: 10ch;
    height: 1rem;
    align-self: center;
}

.skeleton-image {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    border-radius: 0.75rem;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer-gradient 1.5s ease-in-out infinite;
}

.skeleton-footer {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.skeleton-button {
    flex: 1;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer-gradient 1.5s ease-in-out infinite;
}

@keyframes shimmer-gradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes skeleton-fade {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

/* Tag Skeleton Loaders */
.tag-skeleton-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-self: stretch;
    flex: 1;
}

.tag-skeleton {
    height: 36px;
    min-width: 60px;
    border-radius: 1rem;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer-gradient 1.5s ease-in-out infinite;
    border: none;
}

.fanclub-feed-posts-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 1rem;
    overflow: hidden;
}

.fanclub-post:hover {
}

.fanclub-post-head {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fanclub-post-header {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.fanclub-post-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.fanclub-post-avatar {
    width: 3rem;
    height: auto;
    border-radius: 100vw;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.medium-icon.author {
    height: 1rem;
    color: #F63A63;
}

.fanclub-post-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
}

.fanclub-post-author {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.fanclub-post-date {
    margin: 0;
    color: #999;
    font-size: 0.875rem;
}

.medium-icon.post {
    height: 1rem;
    color: #999;
}

.fanclub-post-image {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    cursor: pointer;
}

.fanclub-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fanclub-post-image video {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: auto;
}


.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #000;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.225s ease;
    width: 100%;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 0.75rem;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /*
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    draggable: false;
}

.fanclub-post-image img {
    /*user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    draggable: false;
}

.carousel-item video {
    /*user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;*/
    cursor: pointer;
}

.fanclub-post-image video {
    /*user-select: all;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;*/
    cursor: pointer;
}

.carousel-item video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    background: none;
    filter: drop-shadow(0 0 8px #111);
    border: none;
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.15s ease-in-out, opacity 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.4);
    filter: none;
}

.carousel-nav svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke: currentColor;
}

.carousel-prev {
    left: 0.75rem;
}

.carousel-next {
    right: 0.75rem;
}

.carousel-counter {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    z-index: 10;
}

.carousel-counter svg {
    height: 1rem;
    width: 1rem;
    color: #fff;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

html.lightbox-active {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    cursor: default;
}

.lightbox-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.lightbox-image-container img{
    pointer-events: none;
    user-select: none;
}

.lightbox-image-container.scrollable {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    align-items: unset;
    justify-content: unset;
    transform-origin: center center;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);
    transition: none;
}

.lightbox-image-container.scrollable img,
.lightbox-image-container.scrollable video {
    display: block;
    margin: 0 auto;
}

/* Hide scrollbar while keeping scroll functionality */
.lightbox-image-container.scrollable::-webkit-scrollbar {
    display: none;
}

.lightbox-image-container.scrollable {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.lightbox-image-container img,
.lightbox-image-container video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    pointer-events: auto;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    object-fit: contain;
    -webkit-touch-callout: none;
    user-select: none;
}

.lightbox-image-container img.zoomed,
.lightbox-image-container video.zoomed {
    cursor: zoom-out;
    transform: scale(2);
    transform-origin: top center;
}

.lightbox-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 2rem;
    border-radius: 100vw;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: background 0.3s ease;
}

.lightbox-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Video Play Button Overlay */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.1s ease;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-play-button svg {
    width: 100%;
    height: 100%;
    color: #fff;
}

.fanclub-post-body {
    margin: 0;
    padding: 0.5rem 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

.fanclub-post-body p {
    margin: 0;
}

.fanclub-post-tags {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fanclub-post-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border: 1px solid #666;
    border-radius: 100vw;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: capitalize;
}

.media-count {
    font-size: 0.875rem;
}

.fanclub-feed-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.25rem;
}

.fanclub-media-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fanclub-mediia-item:hover {
    transform: scale(1.2);
}

.fanclub-media-placeholder {
    width: 100%;
    height: 100%;
    background: #111;
    object-fit: cover;
    user-select: none; /* Standard property */
    -moz-user-select: none; /* Firefox */
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-drag: none; /* Standard property */
    -webkit-user-drag: none; /* Chrome, Safari, Opera */
}

.fanclub-post-likes-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.fanclub-post-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.post-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 2.25rem;
    min-width: 2.25rem;
    gap: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
}

.post-button.like:hover svg{
    color: #F63A63;
    fill: red;
}

.fanclub-post-icons svg {
    height: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    color: #999;
}

.tips-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    color: #999;
}

.tips-container:hover {
    background: var(--gradient-vip);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tips-container:hover svg {
    color: #edc03f;
}

.fanclub-post-stats {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.divider-round {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 100vw;
}

.post-divider {
    display: none;
    width: 100%;
    height: 1px;
    background: #3b175e;
}



/*Fanclub*/
.fanclub-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 680px;
    height: 100%;
    padding: 2rem 1rem 4rem 1rem;
    font-family: inherit;
    color: white;
    position: relative;
}

.nav-wrapper.fanclub {
    width: 100%;
}

.navbar.fanclub {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.75rem 6rem 0.5rem 6rem;
    width: 100%;
    z-index: 9;
    overflow: visible;
    margin-bottom: 0;
}

.tflinks.fanclub {
    flex-direction: column;
}

.navbar-overlay.fanclub {
    display: none;
}

.fanclub-feed-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

/* Fanclub Feed Media Grid */
.fanclub-feed-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    padding-bottom: 1rem;
    max-width: 100%;
}

.fanclub-media-item {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    border-radius: 0px;
}

.fanclub-media-item:not(:has(> video)):hover .fanclub-media-placeholder {
    transform: scale(1.08);
}

.fanclub-media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fanclub-media-placeholder:fullscreen {
    object-fit: contain;
}

.section-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    width: 100%;
    font-family: inherit;
    color: white;
    padding-bottom: 8rem;
}

.section-wrapper.manage-membership {
    padding-bottom: 0;
}

.back-button {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    height: 3rem;
    width: auto;
    gap: 0;
    padding: none;
    cursor: pointer;
}

.back-button span {
    display: none;
    font-size: 0.75rem;
}

.back-button:hover span {
    display: inline;
}

.back-button svg {
    color: #fff;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.back-button:hover svg {
    transform: translateX(-8px);
}

.section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
    color: #fff;
}

.fanclub-perks-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    font-family: inherit;
    color: white;
    gap: 4rem;
    scroll-margin-top: 8rem;
}

.fanclub-perks-wrapper img {
    height: auto;
    width: 100%;
    max-width: 880px;
    border-radius: 0.25rem;
}

.section-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow:
    -1px -1px 0 #dd7ff2,  
     1px -1px 0 #40d9ef,
    -1px  1px 0 #e25454,
     2px  2px 0 #ab19d5;
}

.section-subtitle.promo {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    line-height: 160%;
    max-width: 80ch;
}

.text-link.fanclub a{
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.text-link.fanclub:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Purchases Page Styles */

.purchases-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #131727;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.1) 0%, rgba(171, 25, 213, 0.1) 50%, rgba(226, 84, 84, 0.1) 100%);
    border-radius: 0 0 1rem 1rem;;
    min-width: 480px;
}

.purchases-overview-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.register-title.purchases {
    font-size: 1.5rem;
    font-weight: 700;
    word-spacing: 3px;
    /*text-shadow:
    -1px -1px 0 #E57519,  
     1px -1px 0 #F2AE26,
    -1px  1px 0 #E6761A,
     2px  2px 0 #D56B00;*/
}

.purchase-count {
}

.filter-button.media-type {
    border: 1px solid #666;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    min-width: 8rem;
    background: transparent;
}

.filter-button.media-type:hover {
    border: 1px solid #ccc;
    background: transparent;
}

.filter-button.media-type.open {
    border: 1px solid #ccc;
    background: transparent;
}

.purchased-items-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.purchased-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid #F2AE26;
    overflow: hidden;
}

.purchased-item-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
    width: 100%;
    justify-content: space-between;
}

.purchased-item-image-container {
    height: 100px;
    width: 100px;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.purchased-item-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchased-item-thumbnail {
}

.purchase-thumbnail-detail {
    position: absolute;
    bottom: 0.25rem;
    left: 0.25rem;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.25rem 0 0.25rem;
    background: rgba(0,0,0, 0.3);
    border-radius: 0.5rem;
    color: #fff;
    z-index: 4;
}

.purchased-title-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
}

.purchased-item-title {
    font-size: 1rem;
    font-weight: 600;
}

.media-type {
    font-size: 0.875rem;
}

.media-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1rem;
    width: 1rem;
    color: #fff;
}

.media-type-icon * {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.view-purchased-media {
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: #fff;
}

.view-purchased-media:hover {
    text-decoration: underline;
}

.purchased-item-details {
    display: flex;
    flex-direction: row;
    align-items: space-between;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem 1rem;
    border-top: 1px solid #444;
    background: #131727;
}

.item-details-primary {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.purchased-item-detail {
    font-size: 0.75rem;
    font-weight: 400;
    color: #ccc;
}

.purchased-item-detail .dynamic {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
}

#order-id:hover {
    text-decoration: underline !important;
    cursor: pointer;
}

.filter-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    gap: 0.5rem;
    padding: 0;
    font-family: 'poppins', sans-serif;
}

.filter-toggle svg {
    padding-top: 1px;
}

.type-option {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
    align-self: stretch;
}

.filter-button.media-type {
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dropdown-container.purchases-filter {
    position: absolute;
    width: auto;
    right: 0;
    top: calc(100% +1rem);
    left: auto;
    padding: 0.5rem 1rem;
    background: #131727;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.3) 0%, rgba(171, 25, 213, 0.3) 50%, rgba(226, 84, 84, 0.3) 100%);
    background: #261D40;    
    box-sizing: border-box;
}

.purchased-item-type {
}

.purchased-item-id {
}

.about-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 80ch;
}

.about-text.small {
    font-size: 0.875rem;
    color: #ccc;
    margin: auto;
}

/* ===== Contact Form Styles ===== */
.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-container h2 {
    font-size: 1rem;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
}

.form-input {
    background: #111;
    border-radius: 0.5rem;
    height: 3rem;
    padding: 1rem;
    font-size: inherit;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.form-input:focus {
    box-shadow: inset 0 0 0 1px #fff;
    outline: none;
    box-sizing: border-box;
}

.form-select {
    background: #111;
    border-radius: 0.5rem;
    height: 3rem;
    padding: 0 1rem;
    font-size: inherit;
    cursor: pointer;
    line-height: 3rem;
    border: 1px solid #ddd;
}

.form-select:focus {
    box-shadow: inset 0 0 0 1px #fff;
    outline: none;
}

.form-select option {
}

.form-textarea {
    background: #111;
    border-radius: 0.5rem;
    min-height: 8rem;
    padding: 0.75rem 1rem;
    max-width: 720px;
    min-width: 100%;
    max-height: 600px;
    border: 1px solid #ddd;
}

.form-textarea:focus {
    box-shadow: inset 0 0 0 1px #fff;
    outline: none;
}

.form-submit-btn {
    border-radius: 100vw;
    padding: 0.75rem 1.5rem;
    background: #111;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.1s ease;
    margin-top: 1rem;
    border: 2px solid #ddd;
}

.form-submit-btn:hover {
    background: #fff;
    color: #111;
}

/* ===== Video Item Page Styles ===== */

.video-item-wrapper {
    /* Wrapper for video item content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    height: 100vh;
    width: 100%;
}

.video-item-player-wrapper {
    /* Wrapper for player and buy section */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(0.5rem, 5vw, 2rem);
    width: 100%;
}

.video-item-player-logo {
    height: 3rem;
}

@keyframes playerLoadIn {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(20px);
        filter: drop-shadow(0 0 2rem #000) blur(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 2rem #000);
    }
}

.video-item-player {
    /* Main player container */
    width: 100%;
    max-width: clamp(400px, 90vw, 1800px);
    position: relative;
    filter: drop-shadow(0 0 2rem #000);
    animation: playerLoadIn 0.8s ease-out forwards;
}

.back-btn {
    position: absolute;
    top: clamp(1rem, 3vw, 3rem);
    left: clamp(1rem, 3vw, 3rem);
    z-index: 3;
    height: 3rem;
    width: 3rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.back-btn:hover {
    filter: drop-shadow(0 0 0.75rem #000);
}

.video-item-video {
    /* Video element itself */
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    border-radius: 0.25rem;
}

.video-item-info {
    /* Info/details container */
    position: absolute;
    bottom: clamp(1rem, 6vw, 6rem);
    left: clamp(1rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
    margin: 0;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.video-item-title {
    /* Video title heading */
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.video-item-details {
    /* Video details container */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.video-item-description {
    /* Video description text */
    margin: 0;
    max-width: clamp(60ch, 80vw, 76ch);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-item-player-wrapper {
        padding: clamp(0.5rem, 3vw, 2rem);
    }

    .video-item-info {
        bottom: clamp(0.75rem, 2vw, 1.5rem);
        left: clamp(0.75rem, 2vw, 1.5rem);
    }

    .video-item-title {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }
}

.video-item-text {
    /* Text content wrapper */
}

.video-item-metadata {
    /* Metadata container (duration, orientation, etc) */
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.video-item-orientation {
    /* Orientation text (9:16 or 16:9) */
}

.video-item-duration {
    /* Duration text */
}

.video-item-overlay {
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.video-item-download-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(100%);
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.3) 0%, rgba(171, 25, 213, 0.3) 50%, rgba(226, 84, 84, 0.3) 100%);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    overflow: hidden;
    padding: 0;
}

.video-item-download-btn svg {
    height: 1.5rem;
    width: 1.5rem;
    opacity: 1;
}

.video-item-download-btn span {
    opacity: 0;
    transition: opacity 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    width: 0;
    display: none;
    overflow: hidden;
}

.video-item-download-btn:hover {
    width: 9rem;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.8) 0%, rgba(171, 25, 213, 0.8) 50%, rgba(226, 84, 84, 0.8) 100%);
    transform: scale(1.05) translateY(100%);
}

.video-item-download-btn:hover span {
    display: inline;
    opacity: 1;
    width: auto;
}

.video-item-description {
    /* Video description text */
    margin: 0;
    line-height: 1.6;
    max-width: 76ch;
}

.video-item-tags {
    /* Tag container */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.video-item-tags p {
    margin: 0;
}

.video-item-controls {
    /* Play/pause and mute button container */
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 15;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.video-item-control-btn {
    /* Individual control button (play, mute) */
    background: #111;
    color: #fff;
    border-radius: 100vw;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-item-control-btn:hover {
    background: #222;
    border: 1px solid #fff;
}

.video-item-control-btn svg {
    height: 1.5rem;
    width: auto;
}


.body-container.notifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    width: 600px;
}

.notification-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.notification {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #444;
    border-radius: 1rem;
    background: #111;
    width: 100%;
    margin: 0;
    height: 7.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
    animation: notification-fadein 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
}

.notification-container .notification {
    /* Will be overridden with inline style for animation-delay */
}

@keyframes notification-fadein {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-unread-indicator {
    position: absolute;
    top: -0.5rem;
    right: -1rem;
    width: 1.125rem;
    height: 1.125rem;
    background: #f73aa2;
    border-radius: 100vw;
    margin-right: 0.5rem;
    filter: drop-shadow(-1px 2px 6px rgba(43, 4, 25, 0.3));
}

.notification h2, h3, p {
    margin: 0;
}

.notification-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    max-height: 3rem;
    align-self: stretch;
    margin-top: 0.125rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.notification-preview.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.notification-preview.icon {
    max-width: 2.5rem;
}

.notification-membership-icon {
    width: calc(100% - 0.5rem);
    height: auto;
    object-fit: contain;
    display: inline-block;
    border-radius: 0.5rem;
    background: transparent;
    box-shadow: none;
    vertical-align: middle;
}

.notification-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-grow: 1;
}

.notification-title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.notification-detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-height: 1.5rem;
    padding: 0.25rem 0;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.notification-body {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.date-action-container {
    font-size: 0.875rem;
    color: #999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding-left: 4rem;
}

.notification-date {
    font-size: 0.875rem;
    color: #999;
    font-weight: 500;
}

.notification-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    cursor: pointer;
}

.notification-action svg {
    height: 1rem;
    width: auto;
    transition: transform 0.2s ease;
}

.notification-action:hover {
    text-decoration: underline;
}

.notification-action:hover svg {
    transform: translateX(4px);
}

.notification-action:hover {
    text-decoration: underline;
}

.notification.unread {
    border: none;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.4) 0%, rgba(171, 25, 213, 0.4) 50%, rgba(226, 84, 84, 0.4) 100%);
    position: relative;
}

.notification.unread::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(64, 217, 239, 1) 0%, rgba(171, 25, 213, 1) 50%, rgba(226, 84, 84, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Purchases Page Tab Styles */
.purchases-tab-nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
}

.purchases-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #999;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 3rem;
    transition: all 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    border-top: 2px solid #444;
}

.purchases-tab:hover {
    color: #fff;
}

.purchases-tab.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.1) 0%, rgba(171, 25, 213, 0.1) 50%, rgba(226, 84, 84, 0.1) 100%);
    position: relative;
    border: none;
}

.purchases-tab.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #40D9EF 0%, #AB19D5 50%, #E25454 100%);
}

.purchases-tab svg {
    height: 1rem;
    width: 1rem;
}

.purchases-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.purchases-modal.details {
    display: none;
}

/* Gallery View Grid Layout */
.purchased-items-container.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.purchased-item.gallery {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 1rem;
    border: none;
    overflow: visible;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.1s ease-out;
    will-change: transform;
    height: fit-content;
}

.purchased-item.gallery::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #40D9EF, #AB19D5, #E25454);
    border-radius: 1rem;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.purchased-item.gallery:hover {
    filter: brightness(1.1) saturate(1.05);
}

.purchased-item.gallery .purchased-item-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.purchased-item.gallery .purchased-item-image-container {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 0.5rem;
    overflow: visible;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.purchased-item.gallery .purchased-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.purchased-item.gallery:hover .purchased-item-overlay {
    opacity: 1;
}

.purchased-item.gallery .overlay-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchased-item.gallery .overlay-icon svg {
    width: 100%;
    height: 100%;
}

.purchased-item.gallery:hover .overlay-icon {
    transform: scale(1.1);
}

.purchased-item.gallery .overlay-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.purchased-item.gallery:hover .purchased-item-image-container {
    box-shadow: 0 12px 32px rgba(64, 217, 239, 0.3), 
                0 8px 16px rgba(171, 25, 213, 0.2);
}

.purchased-item.gallery .purchased-item-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.3) 0%,
        rgba(64, 217, 239, 0.15) 20%,
        rgba(171, 25, 213, 0.1) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.purchased-item.gallery:hover .purchased-item-image-container::after {
    opacity: 1;
}

.purchased-item.gallery .purchased-item-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0.5rem;
    z-index: 1;
}

.purchased-item.gallery:hover .purchased-item-image-container img {
}

.purchased-item.gallery .purchased-title-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, rgba(64, 217, 239, 0.6) 0%, rgba(171, 25, 213, 0.6) 50%, rgba(226, 84, 84, 0.6) 100%);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    transform-style: preserve-3d;
    z-index: 10;
}

.purchased-item.gallery:hover .purchased-title-container {
    opacity: 1;
}

.purchased-item.gallery .purchased-title-container .purchased-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.purchased-item.gallery .purchased-title-container .media-type {
    font-size: 0.75rem;
    color: #ccc;
    text-align: center;
}

.purchased-item.gallery .view-purchased-media {
    display: none;
}

.purchased-item.gallery .purchased-item-details {
    display: none;
}

/* Responsive grid for smaller screens */
@media (max-width: 1024px) {
    .purchased-items-container.gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .purchased-items-container.gallery {
        grid-template-columns: 1fr;
    }
}

/* Empty Slot Styling */
.empty-purchase-slot {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    border-radius: 0.5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) padding-box, 
                linear-gradient(135deg, rgba(64, 217, 239, 0.2) 0%, rgba(171, 25, 213, 0.2) 50%, rgba(226, 84, 84, 0.2) 100%) border-box;
    border: 2px dashed transparent;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.empty-purchase-slot:hover {
    opacity: 0.6;
    transform: scale(1.02);
}

.empty-slot-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.empty-purchase-slot:hover .empty-slot-inner {
    color: rgba(255, 255, 255, 0.6);
}

.empty-slot-inner svg {
    width: 2rem;
    height: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.empty-purchase-slot:hover .empty-slot-inner svg {
    opacity: 0.8;
}

.empty-slot-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.empty-purchase-slot:hover .empty-slot-text {
    opacity: 1;
}

.purchased-item.gallery {
    transition: none;
    animation: holoCard 12s ease 0s 1;
    &:before {
        transition: none;
    }
}


/* Facebook-style notification preloader */
.notification-preloader-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.notification-preloader {
    width: 100%;
    max-width: 100%;
    height: 7.5rem;
    border-radius: 1rem;
    background: linear-gradient(90deg, #222 25%, #333 50%, #222 75%);
    background-size: 200% 100%;
    animation: notification-preloader-shimmer 1.2s infinite linear;
    margin: 0 auto;
}
@keyframes notification-preloader-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* Subscription-specific thumbnail styles: hide placeholder image and center badge */
.purchased-item-image-container.subscription {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.15));
}
.purchased-item-image-container.subscription img.subscription-thumbnail {
    display: none;
}
.purchased-item-image-container.subscription .purchase-thumbnail-detail {
    display: none;
}
.purchased-item-image-container.subscription .purchased-item-overlay {
    display: none;
}
.subscription-badge-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    padding: 0;
    height: calc(100%-1rem);
    width: calc(100%-1rem);
    gap: 0;
    z-index: 9999;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.subscription-badge {
    position: relative !important;
    display: none;
    width: calc(100% - 2rem);
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.65));
}

/* Remove the global radial "shine" overlay for subscription thumbnails
   so the centered badge doesn't get a bright white halo on hover */
.purchased-item.gallery .purchased-item-image-container.subscription::after {
    background: none !important;
    opacity: 0 !important;
}