/* ==========================================================================
   1. GLOBAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ==========================================================================
   2. LAYOUT-CONTAINER
   ========================================================================== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 80%;
    max-width: 1000px;
    padding-left: 5%;
    gap: 60px;
}

.company-logo-bottom {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    max-height: 40px;
    width: auto;
    display: block;
    opacity: 0.8;
    pointer-events: none;
}

/* ==========================================================================
   3. GOOGLE LOGIN BUTTON
   ========================================================================== */
.google-login-anchor {
    flex: 0 0 auto;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.google-login-anchor:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
}

.google-circle-button {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    padding: 22px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.25s ease;
}

.google-circle-button img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   4. TYPEWRITER EFFECT 
   ========================================================================== */
.text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.typewriter-title {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 4rem);
    font-weight: bold;
    letter-spacing: 4px;
    white-space: nowrap;
    overflow: hidden; 
    border-right: 3px solid #ffffff;
    width: 0;
    animation: 
        typing-title 1.4s steps(16, end) forwards,
        blink-caret 0.9s step-end 2 forwards;
}

.typewriter-sub {
    color: #ff0000; 
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-style: italic;
    letter-spacing: 2px;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid transparent;
    width: 0;
    max-width: max-content; 
    animation: 
        typing-sub 1.4s steps(17, end) 1.5s forwards,
        blink-caret-red 0.9s step-end infinite 1.5s;
}

/* ==========================================================================
   5. KEYFRAME ANIMATIONEN
   ========================================================================== */
@keyframes typing-title {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes typing-sub {
    from { width: 0; }
    to { width: 17.5em; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ffffff }
}

@keyframes blink-caret-red {
    from, to { border-color: transparent }
    50% { border-color: #ff0000 }
}

/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        gap: 40px;
    }
    
    .text-wrapper {
        align-items: center;
    }
    
    .typewriter-title {
        font-size: 1.8rem;
    }
    
    .typewriter-sub {
        font-size: 1rem;
    }
}