html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: black;
}

.scene {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    touch-action: none;
    z-index: 1;
}

.text-overlay {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    z-index: 3;
    transform: translate3d(0, -50%, 0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000;
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    opacity: 0;
    transition: opacity 1s ease-out;
}

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

.title {
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    min-width: 600px;
}

.title > div {
    opacity: 0.8;
    font-size: max(5vw, 48px);
    margin-left: 0.5em;
    letter-spacing: 0.5em;
    line-height: 1.5;
}

.contact {
    font-size: max(1.25vw, 16px);
    margin-top: 3em;
    color: white;
    opacity: 0.7;
    text-decoration: none;
    margin-left: 0.2em;
    letter-spacing: 0.2em;
    pointer-events: auto;
    transition: opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.contact:hover,
.contact.touched {
    opacity: 0.7;
}

.container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 2;
    margin-top: 90vh;
    background: linear-gradient(
        to bottom,
        rgba(30, 30, 30, 1) 0%,
        rgba(16, 16, 16, 1) 50px,
        rgba(16, 16, 16, 1) 100%
    );
    color: white;
    min-height: 10vh;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

@media screen and (max-width: 768px) {
    .content {
        margin-top: 80vh;
    }
}

.content.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
}

.content::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(245, 157, 113, 0.2) 150px,
        rgba(245, 157, 113, 0.3) 100%
    );
    pointer-events: none;
}

.mountain-range {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 40px;
}

.insert {
    max-width: min(800px, 90vw);
    margin: 0 auto;
}

.spacer {
    height: calc(1.25 * (2 * min(max(5vw, 48px), 100px) * 1.5 + min(max(1.25vw, 16px), 32px)));
}

.info-box {
    background: rgba(40, 40, 40, 0.95);
    border-radius: 20px;
    padding: 3rem 1rem;
    max-width: min(640px, 90vw);
    margin: 1cap auto;
    text-align: center;
    line-height: 1.2;
    font-size: min(max(2vw, 12px), 16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: Arial, sans-serif;
    letter-spacing: 0.1em;
}

.info-box p {
    margin: 0;
    opacity: 0.8;
}

.footer {
    text-align: center;
    padding: 1.5rem 0;
    font-family: Arial, sans-serif;
    font-size: min(max(1vw, 12px), 14px);
    opacity: 0.6;
    letter-spacing: 0.1em;
}

.google-form-container {
    max-width: min(640px, 90vw);
    margin: 3rem auto;
    background: rgba(40, 40, 40, 0.95);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-form-container iframe {
    width: 100%;
    border-radius: 16px;
    background: transparent;
}

.scroll-lock {
    overflow: hidden !important;
    position: fixed;
    height: 100vh;
}
