@font-face {
    font-family: 'XiaoZhangJiFont';
    src: url('001.otf');
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Noto Sans SC', sans-serif;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standard */
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.main-title {
    font-family: 'XiaoZhangJiFont', cursive;
    font-size: 8vw;
    font-weight: normal;
    letter-spacing: 1vw;
    margin: 0;
    padding: 0;
    color: #f0e6d2;
    animation: fadeInGlow 3s ease-in-out forwards;
}

.tagline {
    font-size: 2vw;
    letter-spacing: 0.8vw;
    color: #c8bdae;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeInSlide 2s 1s ease-out forwards;
}

footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.icp-info a {
    color: #888;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.icp-info a:hover {
    color: #fff;
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        text-shadow: 0 0 5px rgba(240, 230, 210, 0);
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(240, 230, 210, 0.5);
    }
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 15vw;
    }
    .tagline {
        font-size: 4vw;
    }
    .icp-info a {
        font-size: 12px;
    }
}