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

body {
    background-color: #101010;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: hidden;
}

body.scroll-unlocked {
    overflow: auto;
}

body.scroll-unlocked .poster-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

body.scroll-unlocked .proof-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    padding-top: 28px;
    padding-bottom: 28px;
}

.poster-page {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.poster-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #101010;
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
}

.poster-wall {
    margin: 0;
    padding: 0px;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.poster-tile {
    margin: 0;
    min-width: 0;
    min-height: 0;
    background: transparent;
}

.poster-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proof-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: min(430px, calc(100vw - 40px));
    background: #101010;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    padding: 14px 28px 20px;
    box-sizing: border-box;
}

.proof-logo {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.proof-section {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 0 14px;
}

.proof-section.muted {
    padding: 10px 0 10px;
}

.proof-title {
    margin: 0;
    font-size: 27px;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 700;
}

.proof-copy {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #d9d9d9;
}

.waitlist-accordion summary {
    list-style: none;
    cursor: pointer;
}

.waitlist-accordion summary::-webkit-details-marker {
    display: none;
}

.waitlist-accordion summary::after {
    content: "+";
    display: inline-block;
    float: right;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
    transform: rotate(0deg);
    transition: transform 0.28s ease;
}

.waitlist-accordion.is-open summary::after {
    transform: rotate(45deg);
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.24s ease;
}

.waitlist-form {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.waitlist-form label {
    font-size: 12px;
    font-weight: 600;
    color: #d9d9d9;
}

.platform-group {
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.platform-group legend {
    padding: 0;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #d9d9d9;
}

.platform-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.waitlist-form input {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 11px 12px;
    font-size: 14px;
    outline: none;
}

.waitlist-form input::placeholder {
    color: #8a8a8a;
}

.waitlist-form button {
    margin-top: 4px;
    border: none;
    border-radius: 999px;
    background: #ffaa29;
    color: #101010;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.waitlist-form .h-captcha {
    width: 100%;
    min-height: 78px;
    overflow: visible;
    margin: 10px auto 6px;
    display: flex;
    justify-content: center;
}

.waitlist-form .h-captcha > div {
    transform: scale(var(--captcha-scale, 1)) !important;
    transform-origin: left top !important;
}

.waitlist-form .h-captcha iframe {
    display: block;
}

.waitlist-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin: 4px 0 0;
    min-height: 18px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.hidden-botcheck {
    display: none !important;
}

.proof-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #9c9c9c;
}

@media (max-width: 1360px) {
    .poster-wall {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .poster-wall {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .poster-wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(4, minmax(0, 1fr));
        gap: 10px;
        padding: 6px;
    }

    .proof-card {
        width: min(420px, calc(100vw - 24px));
        border-radius: 22px;
        padding: 18px 18px 16px;
    }

    .proof-title {
        font-size: 24px;
    }

    .proof-logo {
        width: 84px;
        height: 84px;
    }
}

/* ── Mobile waitlist button (hidden by default) ── */
.mobile-waitlist-btn {
    display: none;
}

/* ── Fullscreen modal (hidden by default) ── */
.waitlist-modal-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #101010;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}

.waitlist-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.32s ease, visibility 0s linear 0s;
}

.waitlist-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 56px 28px 36px;
    box-sizing: border-box;
    transform: scale(0.9) translateY(16px);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.waitlist-modal-overlay.is-visible .waitlist-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.waitlist-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #ffaa29;
    font-size: 32px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    -webkit-tap-highlight-color: transparent;
}

.waitlist-modal-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 560px) {
    .poster-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(5, minmax(0, 1fr));
    }

    .proof-card {
        width: min(340px, calc(100vw - 32px));
    }

    .proof-title {
        font-size: 20px;
    }

    .proof-copy {
        font-size: 13px;
    }

    /* Hide accordion, show button on mobile */
    .waitlist-accordion {
        display: none !important;
    }

    .mobile-waitlist-btn {
        display: block;
        width: 100%;
        border: none;
        border-radius: 999px;
        background: #ffaa29;
        color: #101010;
        padding: 13px 20px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        margin-top: 10px;
        -webkit-tap-highlight-color: transparent;
    }
}

.rotate-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.rotate-icon {
    width: 64px;
    height: 64px;
    color: #ffaa29;
    animation: rotate-hint 2s ease-in-out infinite;
}

.rotate-text {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    line-height: 1.5;
}

@keyframes rotate-hint {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(90deg); }
    75% { transform: rotate(0deg); }
}

@media (max-width: 860px) and (orientation: landscape) {
    .rotate-overlay {
        display: flex;
    }
}
