/* RESET & BASE STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050505;
    color: #EAEaea;
    font-family: 'Cormorant Garamond', serif;
    /* CHANGED: Dynamic height allows scrolling on small phones */
    min-height: 100dvh; 
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrollbar */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Added padding for safe area on mobile */
    padding: 2rem 1rem; 
}

/* 1. ATMOSPHERE */
.background-layer {
    position: fixed; /* Fixed so it stays put while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, #020204, #0a0a12, #1a0f0a);
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    max-width: 100vw; /* Responsive limiter */
    background: rgba(30, 58, 138, 0.15);
    filter: blur(120px);
    border-radius: 50%;
    animation: breathe 8s ease-in-out infinite;
}

.glow-floor {
    position: absolute;
    bottom: -100px;
    left: -20%;
    width: 140%;
    height: 400px;
    background: linear-gradient(to top, rgba(194, 65, 12, 0.15), transparent);
    filter: blur(80px);
    animation: shiftLight 12s ease-in-out infinite alternate;
}

/* LAYOUT */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* SYMBOL */
.symbol-container {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.2s;
}

.yaz-symbol {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    filter: blur(20px);
    animation: pulse 3s infinite;
}

/* TYPOGRAPHY */
.hero-title {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    /* Responsive Font Sizing */
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
    letter-spacing: 0.15em;
    color: white;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.5s;
}

.gradient-text {
    background: linear-gradient(to right, #f3f4f6, #6b7280);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.divider-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 2.5rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.7s;
}

.line {
    height: 1px;
    width: 50px;
    background-color: #C2410C;
    transition: width 1s ease-out;
}

.sub-location {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    /* Responsive Font Sizing */
    font-size: clamp(2rem, 6vw, 2.5rem);
    color: #C2410C;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.teaser-text {
    /* Responsive Font Sizing */
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 3rem;
    padding: 0 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.9s;
}

.white-highlight {
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* FORM STYLES */
.form-wrapper {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 1.1s;
    min-height: 80px;
    position: relative;
    width: 100%;
}

.waitlist-form {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    gap: 10px;
    width: 100%;
    transition: opacity 0.5s ease;
}

/* Desktop: Switch to row */
@media (min-width: 640px) {
    .waitlist-form {
        flex-direction: row;
        border: 1px solid rgba(255,255,255,0.1);
        padding: 4px;
        background: #000;
    }
}

input[type="email"] {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    padding: 1rem;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
    /* Prevent IOS Zoom on focus */
    font-size: 16px; 
}

input[type="email"]:focus {
    border-color: #C2410C;
}

@media (min-width: 640px) {
    input[type="email"] { 
        border: none; 
        font-size: 0.8rem;
    }
}

button {
    background-color: #C2410C;
    color: white;
    border: none;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    width: 100%; /* Full width on mobile */
}

@media (min-width: 640px) {
    button {
        width: auto; /* Auto width on desktop */
    }
}

button:hover {
    background-color: #9a3412;
    box-shadow: 0 0 15px rgba(194, 65, 12, 0.4);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #333;
}

/* SUCCESS MESSAGE */
.success-message {
    display: none; 
    border: 1px solid rgba(194, 65, 12, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out;
}

.success-icon { font-size: 1.5rem; color: #C2410C; margin-bottom: 0.5rem; }
.success-title { font-family: 'Syncopate', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; color: white; text-transform: uppercase; }
.success-sub { font-size: 1rem; color: #9ca3af; font-style: italic; margin-top: 5px; }

.footer-note {
    margin-top: 3rem;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #4b5563;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 1.3s;
}

/* PLACEHOLDERS */
::placeholder { color: rgba(255, 255, 255, 0.7); opacity: 1; letter-spacing: 0.1em; }
:-ms-input-placeholder { color: rgba(255, 255, 255, 0.7); }
::-ms-input-placeholder { color: rgba(255, 255, 255, 0.7); }

/* EASTER EGG CAMEL */
.easter-egg-camel {
    position: fixed;
    bottom: 20px;
    right: -200px;
    width: 150px;
    height: auto;
    z-index: 50;
    transform: rotate(-10deg);
    animation: peekInAndOut 8s ease-in-out forwards;
    animation-delay: 3s;
}

/* Mobile Camel Sizing */
@media (max-width: 640px) {
    .easter-egg-camel {
        width: 100px; /* Smaller on mobile */
        bottom: 10px;
    }
}

/* ANIMATIONS */
@keyframes peekInAndOut {
    0% { right: -200px; }
    15% { right: -30px; }
    60% { right: -30px; }
    75% { right: -200px; }
    100% { right: -200px; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(0.8); opacity: 0.3; } 50% { transform: scale(1.1); opacity: 0.6; } }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.25; } }
@keyframes shiftLight { 0% { transform: translateX(-10%); opacity: 0.5; } 100% { transform: translateX(10%); opacity: 0.8; } }