* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0d0913;
    --gradient: linear-gradient(52deg, #ffed70, #e00df2);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-color);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-family: sans-serif;
}

.screen-wrapper {
    display: flex;
    width: 200vw;
    height: 100vh;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.menu-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6vh; 
    width: 90vw;
    max-width: 120vh; 
    z-index: 10;
}

.menu-button, .login-box {
    position: relative;
    border-radius: 4vh;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: none;
    background: var(--gradient);
}

.menu-button {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: none;
    padding: 0.5vh;
}

.button-inner-content {
    background: #0d0913;
    width: 100%;
    height: 100%;
    border-radius: 3.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.button-inner-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: inherit;
}

.login-box {
    min-width: 50vh;
    height: 80vh; 
    padding: 0.5vh; 
    z-index: 1;
    overflow: hidden;
}

.login-inner-content {
    background: #0d0913; 
    width: 100%;
    height: 100%;
    border-radius: 3.8vh; 
    display: flex;
    flex-direction: column;
    padding: 6vh;
    gap: 3vh;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.login-inner-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: inherit;
    z-index: -1;
}

.menu-button::before, .login-box::before {
    content: "";
    position: absolute;
    inset: -1vh; 
    z-index: -1;
    border-radius: inherit;
    background: var(--gradient);
    filter: blur(0.5vh); 
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2vh;
}

.menu-button span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.5vh;
    font-weight: bold;
    color: #ffffff;
}

.login-box span#login-dynamic-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 3.5vh;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5vh;
    display: inline-block;
    margin-top: -1vh;
}

.login-input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1vh;
    padding: 2vh;
    color: white;
    font-size: 2.5vh;
    text-align: center;
    width: 100%;
    outline: none;
    position: relative;
    z-index: 3;
}

.login-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.login-actions {
    display: flex;
    gap: 3vh;
    width: 100%;
    margin-top: 2vh;
    position: relative;
    z-index: 3;
}

.login-action-button {
    position: relative;
    flex: 1;
    height: 7vh;
    border-radius: 1.5vh;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: transform 0.2s;
}

.login-action-button::after {
    content: "";
    position: absolute;
    inset: 0.4vh;
    background-color: var(--bg-color);
    border-radius: inherit;
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8vh;
    text-transform: uppercase;
}

.login-action-button:hover {
    transform: scale(1.05);
}

.login-action-button:active {
    transform: scale(0.95);
}

.menu-icon {
    height: 15vh;
    width: auto;
    display: block;
    margin-bottom: 1vh;
}

#login-dynamic-icon.menu-icon {
    height: 30vh;
    margin-bottom: 0.5vh;
}

@media (max-width: 768px) {
    .menu-container { grid-template-columns: repeat(2, 1fr); gap: 4vh; }
    .menu-button span, .login-box span { font-size: 2vh; }
    .menu-icon { height: 10vh; }
    #login-dynamic-icon.menu-icon { height: 20vh; }
}