@import url("https://use.typekit.net/ure1zfh.css");

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

body {
    font-family: "new-rubrik", sans-serif;
    background: black;
    color: white;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* =========================
   MAIN LAYOUT
========================= */
.container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.container.reveal {
    opacity: 1;
}

.content {
    width: 100%;
    max-width: 500px; /* ← unified max-width: everything keys off this */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}

/* =========================
   LOGO
========================= */
.content img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
    /* No max-width needed — inherits from .content */
}

.sign-blink {
    width: 5px;
    height: 5px;
}

footer {
    width: 100%;
    font-size: 0.75rem;
    color: dimgrey;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.hero-paragraph {
    width: 100%; /* ← fills .content width, stays aligned to image edges */
    text-align: justify;
    /* Removed max-width: 475px — now it's just the full column width */
}

/* =========================
   VIDEO STACK (VERTICAL)
========================= */
.video-grid {
    padding-top: 2rem;
    width: 100%; /* ← was 60%, now matches .content column */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-wrap {
    width: 100%;
    position: relative;
}

.bg-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

#video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    /* Removed max-width: 800px — it's already capped by .content */
}

#video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.33);
}

/* =========================
   OVERLAY
========================= */
#entry-overlay {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
    z-index: 100;
}

#entry-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.sign-gif {
    width: 125px;
    height: auto;
    padding-top: 15px;
    filter: grayscale(1) contrast(1) brightness(1);
    mix-blend-mode: screen;
}

/* =========================
   ENTER BUTTON
========================= */
#enter-btn {
    font-family: "new-rubrik", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 225px;
    height: 225px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        color 0.4s ease,
        border-color 0.4s ease;
}

#enter-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: -1;
}

#enter-btn.loading {
    color: black;
    border-color: white;
}

#enter-btn.loading::before {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .container {
        padding: 20px 24px; /* was 80px 24px */
    }
    .content {
        max-width: 100%;
    }
    .hero-paragraph {
        margin-bottom: 20px; /* was 40px */
    }
    .video-grid {
        padding-top: 1rem; /* was 4rem */
        gap: 1rem; /* was 2rem */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px 17px; /* simplified */
    }
    #enter-btn {
        width: 200px;
        height: 200px;
        font-size: 0.85rem;
    }
}
