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

body, html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #000000;
}

a {
    color: orange;
    text-decoration: underline;
}

#container {
    display: block;
    width: 100vw;
    height: 100vh;
    rotate: -30deg;
    transform-origin: center center;
}

/* Override for pre_interview.html - no rotation */
#container_vertical {
    transform: none;
}

.top-half {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), background-color 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.bottom-half {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), background-color 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.top-half.expanded {
    background-color: #ff005d;
    transform: scaleX(1);
}

.bottom-half.expanded {
    background-color: #1A1A1A;
    transform: scaleX(1);
}

.top-text {
    position: absolute;
    top: 10vw;
    left: 10vw;
    width: 40vw;
    z-index: 1000;
}

.bottom-text {
    position: absolute;
    bottom: 10vw;
    right: 10vw;
    min-width: 40vw;   /* allow it to grow */
    width: auto;       /* let it fit content */
    max-width: 80vw;   /* optional: prevent it from being too wide */
    z-index: 1000;
}

.buttonText {
    font-family: 'Orbit Gate', Arial, sans-serif;
    font-feature-settings: 'ss01' on;
    font-size: 120px;
    line-height: 0.8;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    text-transform: uppercase;
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.buttonText.top{
    color: #212121;
    text-align: left;
    
}

.buttonText.bottom {
    color: #ff005d;
    text-align: right;
}

.buttonText.visible {
    opacity: 1;
}

.buttonText:hover {
    opacity: 0.7 !important;
    transition: opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.buttonText:active {
    opacity: 0.5 !important;
}


/* Vertical layout styles for pre_interview.html */
.left-half {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), background-color 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.right-half-large {
    position: absolute;
    top: 0;
    left: 30%;
    width: 70%;
    height: 100%;
    background-color: #0b0f13;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0%);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), background-color 2s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 11;
}

.right-half {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), background-color 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.right-half-large.top-half.expanded {
    background-color: #0b0f13;
}


.left-half.expanded {
    background-color: #ffffff;
    transform: translateY(0);
}

.right-half.expanded {
    background-color: #eeeeee;
    transform: translateY(0);
}

.left-half.final {
    background-color: #1A1A1A;
    z-index: 11;
}

.right-half.final {
    background-color: #1A1A1A;
    z-index: 11;
}

.gif-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    z-index: 1000;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

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

.gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scaleX(-1);
}

.text-content {
    padding: 40px 40px 40px 40px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Custom scrollbar styling */
.text-content::-webkit-scrollbar {
    width: 6px;
}

.text-content::-webkit-scrollbar-track {
    background: transparent;
}

.text-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.text-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox scrollbar styling */
.text-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

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

.paragraph {
    scroll-margin-top: 40px; 
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
}

.paragraph.visible {
    opacity: 1;
    transform: translateY(0);
}

.paragraph.click-reveal {
    margin-right: 45%;
    margin-left: 0;
    width: 55%;
    letter-spacing: 0.1em;
}

.paragraph.auto-reveal {
    /* Scene descriptions */
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.paragraph.answer-reveal {
    text-align: right;
    margin-left: 45%;
    margin-right: 0;
    width: 55%;
}

.paragraph p {
    font-family: 'Dope Display Normal', Arial, sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
}

.paragraph h2 {
    font-family: 'Qartella', Arial, sans-serif;
    font-size: 18px;
    color: #426b49;
    margin: 0 0 15px 0;
    text-align: left;
    font-weight: normal;
    letter-spacing: -0.2em;
}
.paragraph.pre h2 {
    font-family: 'Qartella', Arial, sans-serif;
    font-size: 32px;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-align: left;
    font-weight: normal;
    letter-spacing: 0.25em;
}

.paragraph.auto-reveal p {
    font-family: 'Dope Display', Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    color: #45bfde;
    
    text-transform: uppercase;
}

.paragraph.auto-reveal h2 {
    font-size: 16px;
    font-style: italic;
    color: #426b49;
    letter-spacing: -0.2em;
}

.paragraph.answer-reveal p {
    font-weight: normal;
    text-align: right;
    color: #ff4596;
    font-size: 18px;
    letter-spacing: 0.2em;
}

.paragraph.answer-reveal h2 {
    font-weight: light;
    text-align: right;
    font-size: 18px;
    color: #426b49;
    letter-spacing: -0.2em;
}

.clickable-sentence {
    color: #a2ff21;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    font-style: medium;
    font-weight: 500;
    text-transform: uppercase;
}

.clickable-sentence:hover {
    color: #ff9ec7;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
}

.transition-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 0;
    background-color: #ddff00;
    z-index: 1001;
    font-size: 500px;
    font-family: 'Orbit Gate', Arial, sans-serif;
    font-feature-settings: "ss01" on;
    text-align: left;
    text-align: bottom;
    line-height: 0.7;
    transition: height 0.7s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.transition-txt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1002;
    font-size: 500px;
    font-family: 'Orbit Gate', Arial, sans-serif;
    font-feature-settings: "ss01" on;
    text-align: left;
}

.transition-txt.bright {
    color: #00ffc3;
    z-index: 10;
    overflow: hidden;
    line-height: 0.8;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.transition-txt.bright.visible {
    opacity: 1;
}

.amp-info {
    display: none;
    font-family: 'Megalomaniac', Arial, sans-serif;
    font-size: 48px;
    top: 0;
    z-index: 1005;
}
