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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow-y: auto;
    overflow-x: visible;
}

body.coming-soon {
    overflow: hidden;
}

.coming-soon-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #000000;
    overflow: hidden;
}

.coming-soon-bg {
    position: fixed;
    inset: 0;
    filter: blur(0.2px);
    transform: translate3d(0, 0, 0);
    pointer-events: none;
    z-index: 0;
}

.coming-soon-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.coming-soon-content {
    text-align: center;
    max-width: 720px;
    animation: comingSoonFade 0.6s ease-out both;
    position: relative;
    z-index: 1;
}

.coming-soon-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: none;
    z-index: 1;
    text-shadow:
        0 0 12px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(0, 0, 0, 0.8);
}

.coming-soon-footer::before {
    content: '';
    display: block;
    width: 260px;
    height: 1px;
    margin: 0 auto 10px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 10px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(0, 0, 0, 0.8);
}

.coming-soon-logo {
    display: block;
    width: auto;
    height: 216px;
    margin: 0 auto 20px;
    max-width: 100%;
}

.coming-soon-logo-wrap {
    display: inline-block;
    animation: logoPulse 3.4s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
    transform-origin: center;
    will-change: transform, filter;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 48px rgba(255, 255, 255, 0.7));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
    }
}

.coming-soon-logo.jello {
    animation: logoJello 1s ease-out;
}

@keyframes logoJello {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale3d(1.08, 0.92, 1);
    }
    45% {
        transform: scale3d(0.94, 1.06, 1);
    }
    60% {
        transform: scale3d(1.04, 0.96, 1);
    }
    75% {
        transform: scale3d(0.98, 1.02, 1);
    }
    100% {
        transform: scale(1);
    }
}

.coming-soon-title {
    color: #ffffff;
    font-size: 64px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.coming-soon-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    letter-spacing: 0.4px;
}

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

/* Page loading overlay */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-animation-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.loading-animation-page .loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: loading-pulse 1.4s ease-in-out infinite;
}

.onboarding-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 400;
    z-index: 10;
    pointer-events: none;
}

/* Background image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://moon-poker-media.s3.us-east-1.amazonaws.com/light-bulbbackground.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

body {
    background-image: url('https://moon-poker-media.s3.us-east-1.amazonaws.com/light-bulbbackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-y;
    background-attachment: scroll;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 60px 40px;
    overflow-x: hidden;
    overflow-y: visible;
    margin: 0 auto;
    box-sizing: border-box;
}

.top-nav {
    position: relative;
    margin: 16px auto 40px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tos-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.2px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.tos-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
}

.form-card {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 100px 80px;
    text-align: center;
    box-shadow: none;
    border: none;
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
}

.top-logo {
    width: auto;
    height: 75px;
    margin-top: -40px;
    margin-bottom: 30px;
    display: block;
}

.heading {
    color: #ffffff;
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.subtitle {
    color: #C1C1C1;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 50px;
    opacity: 1;
    letter-spacing: 0.5px;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    box-sizing: border-box;
}

.email-input,
#mce-EMAIL.email-input,
input.email.email-input {
    width: 120% !important;
    max-width: none !important;
    min-width: 120%;
    padding: 18px 22px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
    position: relative !important;
    flex-shrink: 0;
    display: block;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0;
    margin-right: 0;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.email-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.1);
}

.submit-button {
    padding: 18px 44px;
    background: rgba(32, 32, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 130px;
    position: relative;
    white-space: nowrap;
    width: auto;
}

.submit-button:hover {
    background: rgba(36, 36, 36, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

.submit-button:active {
    background: rgba(32, 32, 32, 0.95);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-button.has-email {
    background: #ffffff;
    color: #000000;
    border-color: rgba(255, 255, 255, 0.2);
}

.submit-button.has-email:hover {
    background: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.3);
}

.submit-button.has-email:active {
    background: #e8e8e8;
}

.message {
    margin-top: 24px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    min-height: 20px;
    transition: all 0.3s ease;
}

.message.success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.message.error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.message:empty {
    display: none;
}

/* Mailchimp form styling - consolidated */

#mc_embed_signup_scroll h2 {
    display: none;
}

.indicates-required {
    display: none;
}

/* Mailchimp form container overrides */
#mc_embed_shell {
    width: 100%;
    overflow: visible;
}

#mc_embed_signup {
    width: 100%;
    overflow: visible;
}

.mc-field-group {
    width: 100%;
    margin-bottom: 14px;
    display: block;
    overflow: visible;
    position: relative;
}

.mc-field-group input {
    flex-shrink: 0;
}

.mc-field-group input {
    flex-shrink: 0;
}

.mc-field-group label {
    display: none;
}

/* Mailchimp response messages */
#mce-responses {
    margin-top: 24px;
}

#mce-error-response,
#mce-success-response {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#mce-error-response {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

#mce-success-response {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.clear {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Loading animation */
.loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: loading-pulse 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-pulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Content fade-in animation */
.content-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: contentFadeIn 0.8s ease-out forwards;
}

.content-fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.content-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.content-fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.content-fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

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

/* Success confirmation page styling */
.success-message {
    text-align: center;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tos-card {
    padding: 80px 60px;
    text-align: left;
    align-items: flex-start;
}

.tos-updated {
    margin-bottom: 30px;
}

.tos-content {
    width: 100%;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
}

.tos-section {
    margin-bottom: 28px;
}

.tos-section h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tos-section p {
    margin-bottom: 12px;
}

.tos-list {
    margin: 0 0 12px 18px;
    padding: 0;
}

.tos-list li {
    margin-bottom: 6px;
}

.tos-email {
    color: #C1C1C1;
    text-decoration: none;
}

.tos-email:hover {
    color: #ffffff;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    margin-bottom: 40px;
    transition: all 0.2s ease;
}

.back-button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.success-message .play-button {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #4ade80;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 600;
    margin: 0 auto 30px;
    line-height: 1;
}

.success-heading {
    color: #ffffff;
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.success-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.continue-button {
    display: inline-block;
    padding: 18px 44px;
    background: rgba(32, 32, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 130px;
    white-space: nowrap;
    width: auto;
}

.continue-button:hover {
    background: rgba(36, 36, 36, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

.continue-button:active {
    background: rgba(32, 32, 32, 0.95);
}

@media (max-width: 640px) {
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
        margin-bottom: 24px;
    }
    
    .success-heading {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .success-text {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .continue-button {
        min-width: auto;
        width: auto;
        padding: 14px 32px;
        font-size: 15px;
        white-space: nowrap;
    }
}

/* Responsive design */
@media (max-width: 640px) {
    .container {
        padding: 20px;
    }
    
    .form-card {
        padding: 60px 40px;
        min-height: 400px;
    }
    
    .heading {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        letter-spacing: 0.5px;
    }
    
    .email-input {
        padding: 14px 18px;
        font-size: 15px;
        width: 120%;
        max-width: 120%;
        box-sizing: border-box;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0;
        margin-right: 0;
    }
    
    .submit-button,
    .play-button {
        min-width: auto;
        width: auto;
        padding: 14px 32px;
        font-size: 15px;
        white-space: nowrap;
    }
}

.video-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: -80px auto 40px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 18px 44px;
    background: rgba(32, 32, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    min-width: 130px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    width: auto;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-right: -4px;
}

.play-button:hover {
    background: rgba(36, 36, 36, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

.play-button:active {
    background: rgba(32, 32, 32, 0.95);
}

.video-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 60px;
    font-family: inherit;
}

.teaser-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.08), 0 0 100px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
    .video-container {
        margin: -60px auto 30px;
        padding: 0 20px;
    }
    
    .teaser-video {
        border-radius: 8px;
    }

    .coming-soon-title {
        font-size: 36px;
        letter-spacing: -0.3px;
    }

    .coming-soon-logo {
        height: 168px;
        margin-bottom: 16px;
    }

    .coming-soon-logo-wrap {
        animation-duration: 3.2s;
    }

    .coming-soon-footer {
        bottom: 16px;
        font-size: 12px;
    }

    .coming-soon-footer::before {
        width: 200px;
    }

    .coming-soon-subtitle {
        font-size: 16px;
    }
}

