* {
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}

body {
    padding: 10vh 10vw;
    font-family: 'Menlo';
    background: rgb(2, 0, 51);
    align-items: center;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 4vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.logo {
    width: auto;
    height: 5vh;
    max-width: 160px;
}

.typewriter-container {
    text-align: left;
    position: relative;
    transition: all 0.8s ease;
}

.typewriter-text {
    color: #ffffff;
    display: inline-block;
    transition: all 0.8s ease;
    margin-top: 8vh;
    margin-bottom: 6vh;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1rem;
    background: white;
    animation: blink 1s infinite;
    vertical-align: middle;
}

.cursor.hidden {
    display: none;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.visit-button {
    margin-top: 4vh;
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid white;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.visit-button:hover {
    background: white;
    color: black;
    transform: translate(0, -2px);
}

.final-content {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    text-align: left;
    margin-bottom: 2vh;
}



@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(0, 2vh);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.beian-link {
    position: fixed;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    
    transition: color 0.3s ease;
    z-index: 1000;
    line-height: 1;
}

.beian-link p {
    margin: 0;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    font-weight: bold;
}

.beian-link a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.beian-link:hover a {
    color: rgba(255, 255, 255, 0.5);
}