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

html {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    font-size: clamp(10px, min(1rem + 0.5vw, min(3vw, 1.5vh)), 18px);
}

body {
    width: 100vw;
    min-height: 100vh;
    background: #0c0f18;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Orbitron', monospace;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    position: relative;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.portal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    width: 100vw;
    min-height: 100vh;
    justify-content: space-between;
}



.image-container {
    position: relative;
    width: 95vw;
    height: 60vh;
    max-width: 1360px;
    max-height: 1020px;
    min-width: 680px;
    min-height: 510px;
    display: flex;
    justify-content: center;
    align-items: center;
    container-type: size;
    flex-shrink: 0;
}

.portal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.portal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.title-section {
    text-align: center;
    flex-shrink: 0;
}

.brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 3em;
    font-weight: 500;
    color: white;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(112, 197, 255, 0.2);
    letter-spacing: 0.25em;
    margin: 0;
    text-transform: none;
    font-variant: normal;
}

.subtitle-section {
    text-align: center;
    flex-shrink: 0;
    margin-top: clamp(0.5rem, 1vw, 1.5rem);
}

.top-buffer {
    flex: 1;
    min-height: 0;
}

.middle-buffer {
    flex: 1;
    min-height: 0;
}

.email-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.coming-soon-text {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
    letter-spacing: 0.15em;
    font-variant: small-caps;
}



.email-input {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(64, 224, 255, 0.3);
    border-radius: 8px;
    padding: 1vh 2vw;
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 3.5vw, 18px);
    color: #40e0ff;
    width: clamp(200px, 25vw, 350px);
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(64, 224, 255, 0.5);
}

.email-input:focus {
    outline: none;
    border-color: rgba(64, 224, 255, 0.7);
    box-shadow: 0 0 15px rgba(64, 224, 255, 0.2);
}

.email-button {
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.2), rgba(128, 64, 255, 0.2));
    border: 1px solid rgba(64, 224, 255, 0.4);
    border-radius: 8px;
    padding: 1vh 2vw;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 700;
    color: #40e0ff;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-button:hover {
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.3), rgba(128, 64, 255, 0.3));
    border-color: rgba(64, 224, 255, 0.6);
    box-shadow: 0 0 20px rgba(64, 224, 255, 0.3);
    transform: translateY(-2px);
}

.inquiries-link {
    margin-top: 0.5rem;
}

.inquiries-email {
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(112, 197, 255, 0.7);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.inquiries-email:hover {
    color: #70c5ff;
    text-shadow: 0 0 8px rgba(112, 197, 255, 0.4);
}

/* MailerLite integration styles - Override defaults to match DreamForge theme */

/* Hide MailerLite default content */
#dreamforge-signup-form .ml-form-embedContent {
    display: none !important;
}

/* Container styling */
#dreamforge-signup-form .ml-form-embedContainer {
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
    position: static !important;
    width: 100% !important;
    background: transparent !important;
}

#dreamforge-signup-form .ml-form-embedWrapper {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
}

#dreamforge-signup-form .ml-form-embedBody {
    padding: 0 !important;
    background: transparent !important;
}

/* Form layout - horizontal inline */
#dreamforge-signup-form .ml-block-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
}

#dreamforge-signup-form .ml-form-formContent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
}

#dreamforge-signup-form .ml-form-fieldRow {
    margin: 0 !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#dreamforge-signup-form .ml-form-embedSubmit {
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    flex: 0 0 auto !important;
}

/* Input styling to match original design */
#dreamforge-signup-form .form-control.email-input {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid rgba(64, 224, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 0.75em 1em !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1em !important;
    color: #40e0ff !important;
    width: 18em !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    max-width: none !important;
}

#dreamforge-signup-form .form-control.email-input::placeholder {
    color: rgba(64, 224, 255, 0.5) !important;
}

#dreamforge-signup-form .form-control.email-input:focus {
    outline: none !important;
    border-color: rgba(64, 224, 255, 0.7) !important;
    box-shadow: 0 0 15px rgba(64, 224, 255, 0.2) !important;
}

/* Button styling to match original design */
#dreamforge-signup-form .email-button {
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.2), rgba(128, 64, 255, 0.2)) !important;
    border: 1px solid rgba(64, 224, 255, 0.4) !important;
    border-radius: 8px !important;
    padding: 0.75em 1.5em !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1em !important;
    font-weight: 700 !important;
    color: #40e0ff !important;
    letter-spacing: 0.1em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    width: auto !important;
    white-space: nowrap !important;
}

#dreamforge-signup-form .email-button:hover {
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.3), rgba(128, 64, 255, 0.3)) !important;
    border-color: rgba(64, 224, 255, 0.6) !important;
    box-shadow: 0 0 20px rgba(64, 224, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Success message styling */
#dreamforge-signup-form .ml-form-successBody {
    background: transparent !important;
    padding: 0 !important;
}

#dreamforge-signup-form .success-message {
    margin-top: 1rem !important;
    padding: 0.75rem !important;
    background: rgba(16, 191, 122, 0.1) !important;
    border: 1px solid rgba(16, 191, 122, 0.3) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}

/* Loading state styling */
#dreamforge-signup-form .loading {
    background: rgba(64, 224, 255, 0.1) !important;
    border: 1px solid rgba(64, 224, 255, 0.2) !important;
    color: #40e0ff !important;
}

#dreamforge-signup-form .ml-form-embedSubmitLoad:after {
    border-color: #40e0ff #40e0ff #40e0ff transparent !important;
}

/* Error state styling */
#dreamforge-signup-form .ml-error .form-control {
    border-color: rgba(242, 100, 59, 0.7) !important;
    box-shadow: 0 0 15px rgba(242, 100, 59, 0.2) !important;
}

.mystical-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5em;
    font-weight: 300;
    color: #70c5ff;
    text-shadow: 
        0 0 5px rgba(112, 197, 255, 0.3);
    letter-spacing: 0.2em;
    text-transform: none;
    margin: 0;
}

/* Removed old CSS sparkle system - replaced with JavaScript particle system */





.inquiries-link {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Mobile and portrait devices */
@media (max-width: 1024px) and (orientation: portrait), (max-height: 1024px) and (orientation: landscape) {
    #dreamforge-signup-form .ml-block-form {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    #dreamforge-signup-form .form-control.email-input {
        width: 16em !important;
        max-width: none !important;
        min-width: unset !important;
    }
    
    .image-container {
        width: 95vw !important;
        height: 50vh !important;
        min-width: 300px !important;
        min-height: 200px !important;
    }
    
    .brand-title {
        font-size: 3em !important;
    }
    
    .mystical-text {
        font-size: 1.5em !important;
    }
}

/* Very tall screens (like Pixel 9 XL) */
@media (min-height: 1800px) and (orientation: portrait) {
    .image-container {
        height: 45vh !important;
        max-height: 800px !important;
    }
} 