/* Reset and Base Styles */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Raleway', sans-serif;
}

.container {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body {
    font-family: 'Raleway', sans-serif;
}

/* Main Container */
.container {
    background-color: #847ebb;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Registration Overlay */
.overlay {
    position: absolute;
    left: 1%;
    top: 50%;
    transform: translateY(-50%);
    width: 736px;
    max-width: 90vw;
    height: auto;
    max-height: 95vh;
    background-color: white;
    border-radius: 30px;
    padding: 60px 81px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    overflow-y: auto;
}

/* Logo Container */
.logo-container {
    width: 100%;
    max-width: 631px;
    height: auto;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 40px;
}

.voxdei-logo {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 161px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.logo-svg {
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-group {
    position: absolute;
    left: 3.65%;
    right: 3.65%;
    top: 11.17%;
    bottom: 28.1%;
    width: auto;
    height: auto;
}

.x-logo {
    position: absolute;
    left: 36.02%;
    right: 47.15%;
    top: 20.81%;
    bottom: 18.86%;
}

.x-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.app-text {
    position: absolute;
    left: 42.18%;
    right: 44.34%;
    top: 72.44%;
    bottom: 14.81%;
}

.app-text svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tagline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    width: 136.281px;
    height: 22.517px;
}

.tagline svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Registration Form */
.registration-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 33.412px;
    text-align: center;
    color: black;
    margin: 0;
    font-feature-settings: 'lnum', 'pnum';
}

.form-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: black;
    margin: 0;
    letter-spacing: -0.52px;
    font-feature-settings: 'lnum', 'pnum';
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    max-width: 100%;
    height: 53px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 100px;
    padding: 14px 26px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #787878;
    letter-spacing: -0.44px;
    outline: none;
    font-feature-settings: 'lnum', 'pnum';
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #787878;
}

.submit-button {
    width: 100%;
    max-width: 100%;
    height: 53px;
    background-color: #eb002b;
    border: none;
    border-radius: 100px;
    padding: 14px 42px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: white;
    text-align: center;
    letter-spacing: -0.44px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-feature-settings: 'lnum', 'pnum';
    box-sizing: border-box;
}

.submit-button:hover {
    background-color: #c80024;
}

/* Countdown Container */
.countdown-container {
    position: absolute;
    left: calc(1% + 736px + 40px);
    bottom: 8%;
    width: 469px;
    max-width: 30vw;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.countdown-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: white;
    text-align: center;
    margin: 0 7px;
    font-feature-settings: 'lnum', 'pnum';
}

.countdown-boxes {
    display: flex;
    gap: 23px;
    margin-top: 44px;
}

.time-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    flex: 1;
}

.time-value {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 53.41px;
    color: #eb002b;
    text-align: center;
    font-feature-settings: 'lnum', 'pnum';
}

.time-value.time-bold {
    font-weight: 700;
}

.time-value.time-light {
    font-weight: 300;
}

.time-label {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: white;
    text-align: center;
    font-feature-settings: 'lnum', 'pnum';
}

/* Phone Image */
.phone-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.phone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* Right Side Text */
.social-handle {
    position: absolute;
    left: calc(1% + 736px + 40px);
    top: 12%;
    width: auto;
    max-width: 35%;
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 64px;
    color: white;
    font-feature-settings: 'lnum', 'pnum';
}

.hashtag {
    position: absolute;
    left: calc(1% + 736px + 40px);
    top: 19%;
    width: auto;
    max-width: 35%;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 23px;
    color: white;
    font-feature-settings: 'lnum', 'pnum';
}

.headline {
    position: absolute;
    left: calc(1% + 736px + 40px);
    top: 38%;
    width: auto;
    max-width: 35%;
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 64px;
    color: white;
    line-height: 1.2;
    font-feature-settings: 'lnum', 'pnum';
}

.subheadline {
    position: absolute;
    left: calc(1% + 736px + 40px);
    top: 54%;
    width: auto;
    max-width: 35%;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 45px;
    color: white;
    line-height: 1.2;
    font-feature-settings: 'lnum', 'pnum';
}

.success-message {
    background-color: #e5ffe5;
    border: 2px solid #28a745;
    color: #1e7e34;
    font-weight: 700;
    text-align: center;
    font-size: 20px;
    padding: 30px 40px;
    margin-top: 30px;
    line-height: 1.6;
    border-radius: 20px;
}

/* Responsive Design */

/* Handle browser zoom - 120% zoom at 1920px = 1600px effective */
@media (max-width: 1920px) {
    .overlay {
        left: 2%;
        padding: 55px 75px;
    }
    
    .countdown-container,
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        left: calc(2% + 736px + 40px);
    }
    
    /* Reduce form elements */
    .form-title {
        font-size: 31px;
    }
    
    .form-subtitle {
        font-size: 24px;
    }
    
    .form-input,
    .submit-button {
        font-size: 20px;
        height: 50px;
        padding: 12px 24px;
    }
    
    .registration-form {
        gap: 22px;
    }
    
    .input-wrapper {
        margin-bottom: 18px;
    }
}

@media (max-width: 1800px) {
    .overlay {
        left: 1%;
        width: 650px;
        padding: 50px 65px;
    }
    
    .countdown-container,
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        left: calc(1% + 650px + 40px);
    }
    
    .social-handle,
    .headline {
        font-size: 56px;
    }
    
    .subheadline {
        font-size: 40px;
    }
    
    /* Dramatically reduce form elements */
    .form-title {
        font-size: 28px;
    }
    
    .form-subtitle {
        font-size: 22px;
    }
    
    .form-input,
    .submit-button {
        font-size: 18px;
        height: 46px;
        padding: 11px 22px;
    }
    
    .registration-form {
        gap: 20px;
    }
    
    .input-wrapper {
        margin-bottom: 16px;
    }
    
    .logo-container {
        margin-bottom: 35px;
    }
}

@media (max-width: 1600px) {
    .overlay {
        width: 650px;
        padding: 45px 55px;
    }
    
    .countdown-container,
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        left: calc(1% + 650px + 30px);
    }
    
    .countdown-container {
        max-width: 420px;
        width: 420px;
    }
    
    .social-handle,
    .headline {
        font-size: 52px;
    }
    
    .subheadline {
        font-size: 38px;
    }
    
    .time-value {
        width: 90px;
        height: 90px;
        font-size: 48px;
    }
    
    /* Even smaller form elements */
    .form-title {
        font-size: 26px;
    }
    
    .form-subtitle {
        font-size: 20px;
    }
    
    .form-input,
    .submit-button {
        font-size: 17px;
        height: 44px;
        padding: 10px 20px;
    }
    
    .registration-form {
        gap: 18px;
    }
    
    .input-wrapper {
        margin-bottom: 14px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 1540px) {
    .countdown-container, .social-handle, .hashtag, .headline, .subheadline {
        left: calc(1% + 651px + 40px);
    }
}

@media (max-width: 1500px) {
    .overlay {
        width: 580px;
        padding: 40px 50px;
    }
    
    .countdown-container,
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        left: calc(1% + 580px + 30px);
    }
    
    .countdown-container {
        width: 400px;
    }
    
    .social-handle,
    .headline {
        font-size: 50px;
    }
    
    .subheadline {
        font-size: 36px;
    }
    
    /* Much smaller form */
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 19px;
    }
    
    .form-input,
    .submit-button {
        font-size: 16px;
        height: 42px;
        padding: 9px 18px;
    }
    
    .registration-form {
        gap: 16px;
    }
    
    .input-wrapper {
        margin-bottom: 12px;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
}

@media (max-width: 1400px) {
    .overlay {
        left: 5%;
        width: 600px;
        padding: 38px 48px;
    }
    
    .countdown-container,
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        left: calc(5% + 600px + 25px);
    }
    
    .countdown-container {
        max-width: 40vw;
        width: 380px;
    }
    
    .social-handle,
    .headline {
        font-size: 48px;
    }
    
    .subheadline {
        font-size: 34px;
    }
    
    .time-value {
        width: 80px;
        height: 80px;
        font-size: 42px;
    }
    
    .countdown-boxes {
        gap: 15px;
    }
    
    /* Compact form */
    .form-title {
        font-size: 23px;
    }
    
    .form-subtitle {
        font-size: 18px;
    }
    
    .form-input,
    .submit-button {
        font-size: 15px;
        height: 40px;
        padding: 8px 16px;
    }
    
    .registration-form {
        gap: 14px;
    }
    
    .input-wrapper {
        margin-bottom: 10px;
    }
}

@media (max-width: 1300px) {
    .overlay {
        width: 520px;
        padding: 35px 45px;
    }
    
    .countdown-container,
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        left: calc(5% + 520px + 20px);
    }
    
    .countdown-container {
        width: 360px;
    }
    
    .social-handle,
    .headline {
        font-size: 44px;
    }
    
    .subheadline {
        font-size: 32px;
    }
    
    .hashtag {
        font-size: 21px;
    }
    
    .time-value {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    /* Very compact form */
    .form-title {
        font-size: 22px;
    }
    
    .form-subtitle {
        font-size: 17px;
    }
    
    .form-input,
    .submit-button {
        font-size: 14px;
        height: 38px;
        padding: 8px 15px;
    }
    
    .registration-form {
        gap: 12px;
    }
    
    .input-wrapper {
        margin-bottom: 8px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 1200px) {
    html, body {
        width: 100%;
        height: 100%;
        overflow-x: unset;
    }

    .container {
        overflow: unset;
        height: auto;
        display: block;
        height: 1550px;
        
    }
    .social-handle,
    .hashtag,
    .headline,
    .subheadline {
        position: relative;
        left: auto;
        margin: 0px auto;
            max-width: max-content;
    }

    .social-handle {
        top: 650px;
    }
    .hashtag {
        top: 660px;
    }
    .headline {
        top: 685px;
    }
    .subheadline {
        top: 688px;
    }
    
    .phone-image {
        opacity: 0.3;
        width: 100%;
    }
    
    .overlay {
        left: 50%;
        width: 90%;
        max-width: 600px;
        transform: translate(-50%, 0%);
        top: 25px;
    }
    
    .countdown-container {
        bottom: unset;
        right: auto;
        left: auto;
        margin: 0px auto;
        transform: unset;
        max-width: 90vw;
        width: auto;
        top: 1270px;
        margin: 0px auto;
        position: relative;
    }
}

@media (max-width: 1024px) {
    .overlay {
        width: 90%;
        max-width: 600px;
        padding: 40px;
        height: auto;
        max-height: 90vh;
    }
    
    .logo-container {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }
    
    .countdown-container {
        width: 90%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .overlay {
        width: 95%;
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .form-subtitle {
        font-size: 20px;
    }
    
    .form-input,
    .submit-button {
        font-size: 18px;
        height: 48px;
    }
    
    .countdown-title {
        font-size: 24px;
    }
    
    .time-value {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
    
    .countdown-boxes {
        gap: 10px;
        margin-top: 20px;
    }
    
    .countdown-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .overlay {
        padding: 20px 15px;
    }
    
    .voxdei-logo {
        transform: translateX(-50%) scale(0.8);
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 18px;
    }
    
    .registration-form {
        gap: 15px;
    }
    
    .time-value {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    
    .time-label {
        font-size: 12px;
    }
    
    .countdown-boxes {
        gap: 8px;
    }

    .subheadline {
        max-width: 90%;    
    }
}