#entry-video {
    object-fit: cover;
}

#loop-video {
    object-fit: cover;
}

body {
    margin: 0;
    height: 100vh;
}

.video-background {
    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

.menu {
    position: absolute;
    translate: 0 -50%;

    top: 50%;
    left: 5%;

    display: flex;
    flex-direction: column;
    row-gap: 40px;

    font-family: 'Barlow Condensed';
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;

    color: #fff;
}

.menu__item {
    width: fit-content;

    color: inherit;
    text-decoration: none;

    cursor: pointer;
    user-select: none;

    transition: color 300ms ease;
}

.menu__item:first-child {
    font-size: 90px;
    font-weight: 700;
}

.menu__item:hover {
    color: #ff244c;
}

.loader {
    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 100%;
}

.loader__background {
    height: 100%;
    background-color: #000;
}

.loader-body {
    position: absolute;
    translate: 50% -50%;

    top: 50%;
    right: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 50px;
}

.loader-body__logotype {
    width: 96px;
    height: 96px;
}

.loader-body__progressbar {
    width: 300px;
    height: 8px;

    border: 1px solid #fff;
    border-radius: 9999px;

    background-color: #838383;
}


/* Referral Code */
.referral-code {
    margin-left: 13px;
    width: 471px;
    height: 32px;
    font-family: 'Barlow Condensed';
    text-transform: uppercase;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 32px;
    color: #FFFFFF;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.rectangle {
    width: 471px;
    height: 51px;
    background: #111111;
    flex: none;
    order: 1;
    flex-grow: 0;
    
    color: white; 
    font-family: 'Barlow Condensed', sans-serif; 
    font-size: 24px; 
    font-weight: 400; 
    padding: 0 10px;
    border: none; 
    outline: none; 
}

.rectangle::placeholder {
    color: rgb(255, 255, 255); 
    text-transform: uppercase;
}

.rectangle:hover {
    background: #222222; 
}

/* Submit Container */
.submit-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    gap: 19px;
    width: 109px;
    height: 38px;
    background: #FF234C;
    flex: none;
    order: 2;
    flex-grow: 0;
}

/* Submit Button */
.submit {
    width: 59px;
    height: 18px;
    font-family: 'Barlow Condensed';
    text-transform: uppercase;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; 
}

.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 18px 15px;
    gap: 16px;
    width: 501px;
    height: 190px;
    background: rgba(236, 236, 236, 0.3);
    position: relative;
    z-index: 1001; 
    animation: modalFadeIn 0.3s ease-out;
}

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