@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600&family=SF+Pro+Display:wght@300;400;500;600&display=swap');

@font-face {
    font-family: 'FontEditor';
    src: url('fonteditor.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Noto Sans SC', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #fbfbfd 0%, #fbfbfd 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-texts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100;
}

.background-texts span {
    position: absolute;
    font-size: clamp(11px, 1.3vw, 16px);
    font-weight: 400;
    color: rgba(29, 29, 31, 0.12);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

@keyframes breathe {
    0% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.4;
    }
    75% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
    }
}

.center-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-text-svg {
    width: min(90vw, 1000px);
    height: auto;
    animation: gentlePulse 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 0.95;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
    }
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    }

    .background-texts span {
        font-size: clamp(10px, 2.5vw, 13px);
        color: rgba(29, 29, 31, 0.1);
    }

    .main-text-svg {
        width: 85vw;
    }
}

@media (max-width: 480px) {
    body {
        background: linear-gradient(180deg, #fff 0%, #fff 100%);
    }

    .background-texts span {
        font-size: clamp(9px, 3vw, 11px);
    }

    .main-text-svg {
        width: 90vw;
    }
}

@media (min-width: 1200px) {
    .background-texts span {
        font-size: clamp(13px, 1.2vw, 18px);
    }

    .main-text-svg {
        width: min(50vw, 1000px);
    }
}

.footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.footer-brand {
    font-size: 12px;
    color: rgba(29, 29, 31, 0.4);
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

.footer-links {
    font-size: 12px;
    color: rgba(29, 29, 31, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.footer-links a {
    color: rgba(29, 29, 31, 0.4);
    text-decoration: none;
}

.footer-brand a {
    color: rgba(29, 29, 31, 0.4);
    text-decoration: none;
}

.footer-links a:hover,
.footer-brand a:hover {
    color: #007aff;
}

.footer-aigc {
    font-size: 8px;
    color: rgba(29, 29, 31, 0.2);
    margin-top: 4px;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .footer {
        bottom: 15px;
    }
    
    .footer-brand,
    .footer-links {
        font-size: 10px;
    }
}
