:root {
    --bg-color: #0d121e; /* Deep navy from the image */
    --gold-primary: #dcb676; /* Button and ring color */
    --gold-hover: #efc887;
    --text-primary: #ffffff;
    --text-secondary: #9da3b4;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent scrolling since it's a single screen */
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind content */
}

.content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* In front of canvas */
    padding: 2rem;
    pointer-events: none; /* Allows mouse to interact with 3D canvas */
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-family: 'Smooch Sans', sans-serif;
    font-optical-sizing: auto;
    font-size: 2.8rem; /* Increased slightly as Smooch Sans tends to look smaller */
    font-weight: 600;
    letter-spacing: 0.8rem;
    padding-left: 0.8rem; /* Center offset compensation for letter-spacing */
    margin-bottom: 0.5rem;
    color: #f4f5f8;
    text-align: center;
}

.coming-soon {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    margin-left: 0;
    margin-top: -0.2rem;
    line-height: 1.2;
    min-height: 1.2em; /* Prevents the layout from collapsing when JS clears the text */
    text-align: center;
}

.coming-soon span {
    background: linear-gradient(to top, #0d121e 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.waitlist-section h2 {
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.waitlist-form {
    display: flex;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.waitlist-form input {
    flex-grow: 1;
    background: rgba(26, 32, 53, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    padding: 1.1rem 1.5rem;
    border-radius: 6px 0 0 6px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.waitlist-form input::placeholder {
    color: #6b7280;
    font-weight: 300;
}

.waitlist-form input:focus {
    background: rgba(26, 32, 53, 0.6);
    border-color: rgba(220, 182, 118, 0.3);
}

.waitlist-form button {
    background-color: var(--gold-primary);
    color: #1a150c;
    border: none;
    padding: 1.1rem 1.8rem;
    border-radius: 0 6px 6px 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 0 15px rgba(220, 182, 118, 0.3);
}

@keyframes buttonPulseFlicker {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 6px rgba(220, 182, 118, 0.3);
        border-color: rgba(220, 182, 118, 0.35);
        opacity: 0.88;
    }
    45% {
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 0 0 18px rgba(220, 182, 118, 0.8), 0 0 28px rgba(220, 182, 118, 0.4);
        border-color: rgba(239, 200, 135, 0.95);
        opacity: 1;
    }
    47% {
        opacity: 0.65;
        box-shadow: 0 0 3px rgba(220, 182, 118, 0.2);
    }
    49% {
        opacity: 1;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 0 0 22px rgba(220, 182, 118, 0.85);
    }
    51% {
        opacity: 0.8;
    }
    53% {
        opacity: 1;
    }
}

.gyro-btn {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(13, 18, 30, 0.65);
    color: var(--gold-primary);
    border: 1px solid rgba(220, 182, 118, 0.35);
    padding: 0.55rem 1.3rem;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    animation: buttonPulseFlicker 2.8s infinite ease-in-out;
    display: none; /* Displayed via JS when iOS permission is required */
}

.gyro-btn:hover, .gyro-btn:active {
    animation: none;
    background: rgba(220, 182, 118, 0.25);
    border-color: var(--gold-hover);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(220, 182, 118, 0.5);
    transform: translateX(-50%) scale(0.97);
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .content-container {
        width: 100%;
        height: 100dvh;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        background: radial-gradient(circle at center, rgba(13, 18, 30, 0.2) 0%, rgba(13, 18, 30, 0.6) 100%);
    }
    
    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 1rem;
        margin: auto;
    }
    
    .logo {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        letter-spacing: 0.6rem;
        padding-left: 0.6rem;
        margin-right: 0;
        margin-bottom: 0.3rem;
    }
    
    .coming-soon {
        font-size: clamp(2.4rem, 11vw, 3.8rem);
        width: 100%;
        text-align: center;
    }
    
    .description br {
        display: none; /* Let text flow naturally on small screens */
    }
    
    .description {
        margin-bottom: 2.5rem;
    }
    
    .waitlist-form {
        flex-direction: column;
        box-shadow: none;
    }
    
    .waitlist-form input {
        border-radius: 6px;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .waitlist-form button {
        border-radius: 6px;
        width: 100%;
    }
}
