* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0d0d;
    color: #e0e0e0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

body.entry-screen-active {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed;
    width: 100%;
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Entry Screen */
.entry-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.entry-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.landing-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.entry-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.8rem;
    color: #e0e0e0;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUpTitle 1s ease-out 0s forwards;
}

@keyframes fadeInUpTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entry-motto {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05rem;
    color: #e0e0e0;
    text-align: center;
    max-width: 600px;
    line-height: 1.4;
    margin-bottom: 50px;
    padding: 0 2rem;
    opacity: 0;
    animation: fadeInUpMotto 1s ease-out 0.5s forwards;
}

@keyframes fadeInUpMotto {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.5;
        transform: translateY(0);
    }
}

.entry-button {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    color: #e0e0e0;
    background: transparent;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 0;
    opacity: 0;
    animation: fadeInUpButton 1s ease-out 1s forwards;
}

@keyframes fadeInUpButton {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entry-button.hidden {
    opacity: 0;
    pointer-events: none;
}



/* Content Container */
.content-container {
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

@media (max-width: 768px) {
    .content-container {
        height: auto;
        min-height: 300vh;
    }
}

.content-container.visible {
    opacity: 1;
}

.columns-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

/* Columns */
.column {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18vh 3rem 7rem 3rem;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.column:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.column-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

#columnDistance .column-overlay {
    background-color: #1a3a4a;
}

#columnAura .column-overlay {
    background-color: #4b3f52;
}

#columnKnot .column-overlay {
    background-color: #2d3a2d;
}

.column:hover .column-overlay {
    opacity: 0.7;
}

/* Column Title */
.column-title {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: #ffffff;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    transition: all 0.8s ease-in-out;
    pointer-events: auto;
    cursor: default;
}

.content-container.visible .column-title {
    opacity: 0.5;
}


#columnDistance .column-title {
    transition-delay: 0.2s;
}

#columnAura .column-title {
    transition-delay: 0.5s;
}

#columnKnot .column-title {
    transition-delay: 0.8s;
}

.column-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 0;
    padding-bottom: 5rem;
    overflow: visible;
}

.content-container.visible .column-content {
    opacity: 1;
    transform: translateY(0);
}

#columnDistance .column-content {
    transition-delay: 0.3s;
}

#columnAura .column-content {
    transition-delay: 0.6s;
}

#columnKnot .column-content {
    transition-delay: 0.9s;
}

/* Film Poster */
.film-poster-container {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.film-poster {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
    opacity: 0;
    filter: grayscale(20%) brightness(80%);
    transition: all 0.6s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.film-poster.visible {
    display: block;
}

.content-container.visible .film-poster.visible {
    opacity: 1;
}

.film-poster-container:hover .film-poster.visible,
.film-poster.visible:hover {
    filter: grayscale(0%) brightness(100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Category title hover effect - when hovering over column title, affect poster */
.column.column-title-hovered .film-poster-container .film-poster.visible,
#columnDistance.column-title-hovered .film-poster-container .film-poster.visible,
#columnAura.column-title-hovered .film-poster-container .film-poster.visible,
#columnKnot.column-title-hovered .film-poster-container .film-poster.visible {
    filter: grayscale(0%) brightness(100%) !important;
    box-shadow: none !important;
    transition: all 0.6s ease-in-out !important;
}


#columnDistance .film-poster.visible {
    transition-delay: 0.6s;
}

#columnAura .film-poster.visible {
    transition-delay: 0.9s;
}

#columnKnot .film-poster.visible {
    transition-delay: 1.2s;
}

/* Film Info */
.film-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease-in-out;
    margin-top: 0.5rem;
}

.content-container.visible .film-info {
    opacity: 1;
    transform: translateY(0);
}

#columnDistance .film-info {
    transition-delay: 0.5s;
}

#columnAura .film-info {
    transition-delay: 0.8s;
}

#columnKnot .film-info {
    transition-delay: 1.1s;
}

.film-director {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.6;
}

.film-awards {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05rem;
    color: #ffffff;
    opacity: 0.6;
    text-transform: uppercase;
    line-height: 1.6;
}

.film-overview {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    text-align: left;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    max-height: 15vh;
    min-height: 10vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.8rem;
    word-wrap: break-word;
    display: block;
    position: relative;
}

/* Custom scrollbar for overview */
.film-overview::-webkit-scrollbar {
    width: 4px;
}

.film-overview::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.film-overview::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.film-overview::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Firefox scrollbar */
.film-overview {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.05);
}

/* Content Logo - Watermark Style */
.content-logo {
    position: fixed;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 8vw;
    font-weight: 300;
    letter-spacing: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out;
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin: 0;
    max-height: 15vh;
    overflow: visible;
}

.content-container.visible .content-logo {
    opacity: 0.08;
}

/* Refocus Button */
.refocus-button {
    position: fixed;
    top: calc(2rem - 20px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.48rem 1.2rem;
    cursor: pointer;
    text-transform: lowercase;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, border-color 0.3s ease-in-out;
    z-index: 20;
    white-space: nowrap;
}

.refocus-button-mobile {
    display: none;
}

.refocus-button.visible {
    transform: translateX(-50%);
    opacity: 1;
}

.refocus-button:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.refocus-button.visible {
    opacity: 1;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    body.content-screen-active {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
    }
    
    body.entry-screen-active {
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed;
        width: 100%;
    }
    
    .landing-wrapper {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
    }
    
    .content-container {
        height: auto;
        min-height: 100vh;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    .columns-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .column {
        flex: none;
        width: 100%;
        min-height: 100vh;
        height: auto;
        position: relative;
        padding: 10vh 1.5rem 80px 1.5rem;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .column:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
    
    .entry-title {
        font-size: 1.4rem;
        letter-spacing: 0.4rem;
    }
    
    .entry-motto {
        font-size: 0.85rem;
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .entry-button {
        font-size: 0.65rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 0.3rem;
    }
    
    .content-logo {
        font-size: 6vw;
        letter-spacing: 0.15rem;
        padding-top: 0.3rem;
        top: 0.3rem;
        position: fixed;
        opacity: 0.05;
        z-index: 1;
        white-space: nowrap;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        max-height: 8vh;
        overflow: hidden;
    }
    
    .column-title {
        top: 8vh;
        font-size: 0.7rem;
        letter-spacing: 4px;
        position: absolute;
        z-index: 3;
        margin: 0;
    }
    
    .column-content {
        margin-top: 0;
        padding-top: 8vh;
        padding-bottom: 0;
        max-width: 100%;
        gap: 1.2rem;
        width: 100%;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        flex: 1;
    }
    
    .film-poster-container {
        order: 1;
        max-height: 50vh;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding-top: 0;
        flex-shrink: 0;
    }
    
    .film-poster {
        max-height: 50vh;
        width: 100%;
        object-fit: contain;
    }
    
    .film-info {
        order: 2;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        flex-shrink: 0;
    }
    
    .film-director {
        order: 1;
        font-size: 0.8rem;
        font-weight: 500;
        text-align: center;
        margin: 0;
    }
    
    .film-awards {
        order: 2;
        font-size: 0.7rem;
        font-weight: 300;
        font-style: italic;
        opacity: 0.6;
        letter-spacing: 0.05rem;
        text-align: center;
        margin: 0;
    }
    
    .film-overview {
        order: 3;
        font-size: 0.65rem;
        max-height: 18vh;
        line-height: 1.7;
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .refocus-button {
        display: none !important;
    }
    
    .refocus-button-mobile {
        font-family: 'Inter', sans-serif;
        font-size: 0.7rem;
        font-weight: 300;
        letter-spacing: 0.15em;
        color: #ffffff;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.6rem 1.5rem;
        cursor: pointer;
        text-transform: lowercase;
        opacity: 0;
        transition: opacity 0.6s ease-in-out, border-color 0.3s ease-in-out;
        position: relative;
        width: auto;
        text-align: center;
        margin: 40px auto 80px auto;
        display: block;
    }
    
    .refocus-button-mobile.visible {
        opacity: 1;
    }
    
    .refocus-button-mobile:hover {
        border-color: rgba(255, 255, 255, 0.6);
    }
}
