* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

body {
    background-color: #F8F4ED;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 20px 60px;
    padding-top: max(60px, env(safe-area-inset-top));
    padding-bottom: max(60px, env(safe-area-inset-bottom));
    color: #2A2A2A;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='chinesePattern' x='0' y='0' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M25 0 L25 25 L0 25 M25 25 L25 50 L50 50 M25 25 L50 25 L50 50 M0 25 L25 25 L25 50' fill='none' stroke='%236B5849' stroke-width='0.2' opacity='0.08'/%3E%3Ccircle cx='25' cy='25' r='1' fill='%236B5849' opacity='0.06'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23chinesePattern)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.ink-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(42, 42, 42, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-particle 12s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 35%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 17s; }
.particle:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 19s; }
.particle:nth-child(6) { left: 75%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(7) { left: 85%; animation-delay: 2.5s; animation-duration: 21s; }
.particle:nth-child(8) { left: 92%; animation-delay: 4.5s; animation-duration: 14s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    max-width: 520px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.window-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(107, 88, 73, 0.15);
    border-radius: 4px;
    pointer-events: none;
    animation: frameReveal 1.5s ease-out;
}

@keyframes frameReveal {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.header {
    margin-bottom: 40px;
    padding-top: 30px;
    position: relative;
}

.logo {
    margin-bottom: 20px;
    display: inline-block;
}

.logo-svg {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
    animation: logoAppear 1s ease-out;
}

.logo-svg .s0 {
    fill: #2A2A2A;
    transition: fill 0.6s ease;
}

.logo:hover .logo-svg .s0 {
    fill: #C3272B;
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.brand-title {
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 16px;
    margin-bottom: 8px;
    color: #2A2A2A;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.title-char {
    display: inline-block;
    animation: charAppear 0.8s ease-out backwards;
    animation-fill-mode: both;
}

.title-char:nth-child(1) { animation-delay: 0.1s; }
.title-char:nth-child(2) { animation-delay: 0.2s; }
.title-char:nth-child(3) { animation-delay: 0.3s; }
.title-char:nth-child(4) { animation-delay: 0.4s; }
.title-char:nth-child(5) { animation-delay: 0.5s; }

.title-char:nth-child(odd) {
    animation-name: charSlideLeft;
}

.title-char:nth-child(even) {
    animation-name: charSlideRight;
}

@keyframes charSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes charSlideRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes charAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #6B5849;
    letter-spacing: 8px;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.main-content {
    position: relative;
}

.decoration-line {
    margin-bottom: 25px;
    opacity: 0;
    animation: lineAppear 0.8s ease-out 0.6s backwards;
}

.decoration-line.mirror {
    transform: rotate(180deg);
    margin-top: 25px;
    margin-bottom: 40px;
}

@keyframes lineAppear {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.fret-pattern {
    width: 100%;
    height: 8px;
}

.fret-line {
    stroke: #6B5849;
    stroke-width: 0.5;
    opacity: 0.4;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 1.5s ease-out forwards;
    animation-delay: 1s;
}

.decoration-line.mirror .fret-line {
    animation-delay: 1.3s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.fret-dot {
    fill: #6B5849;
    opacity: 0;
    animation: dotAppear 0.3s ease-out forwards;
}

.fret-dot:nth-child(2) { animation-delay: 1.2s; }
.fret-dot:nth-child(3) { animation-delay: 1.3s; }
.fret-dot:nth-child(4) { animation-delay: 1.4s; }
.fret-dot:nth-child(5) { animation-delay: 1.5s; }

.decoration-line.mirror .fret-dot:nth-child(2) { animation-delay: 1.5s; }
.decoration-line.mirror .fret-dot:nth-child(3) { animation-delay: 1.6s; }
.decoration-line.mirror .fret-dot:nth-child(4) { animation-delay: 1.7s; }
.decoration-line.mirror .fret-dot:nth-child(5) { animation-delay: 1.8s; }

@keyframes dotAppear {
    to {
        opacity: 0.4;
    }
}

.status-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #F8F4ED 100%);
    border: 1px solid rgba(107, 88, 73, 0.1);
    border-radius: 4px;
    padding: 45px 35px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 0 60px rgba(248, 244, 237, 0.5);
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.8s ease-out 0.5s backwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 25px;
    border: 1px solid rgba(61, 76, 92, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon {
    width: 32px;
    height: 32px;
}

.clock-circle {
    stroke-dasharray: 63;
    stroke-dashoffset: 0;
    animation: clockDraw 2s ease-out forwards;
}

@keyframes clockDraw {
    from {
        stroke-dashoffset: 63;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.clock-hand {
    stroke-dasharray: 10;
    stroke-dashoffset: 10;
    animation: handMove 1s ease-out 1s forwards;
}

@keyframes handMove {
    to {
        stroke-dashoffset: 0;
    }
}

.status-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #2A2A2A;
    letter-spacing: 3px;
}

.status-description {
    font-size: 1rem;
    line-height: 2;
    color: #6B5849;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px dashed rgba(107, 88, 73, 0.15);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #3D4C5C;
}

.contact-icon {
    width: 18px;
    height: 18px;
    fill: #6B5849;
    transition: fill 0.3s ease;
}

.contact-item:hover .contact-icon {
    fill: #C3272B;
}

.contact-item a {
    color: #6B5849;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.25s ease;
}

.contact-item a:hover {
    color: #C3272B;
}

.footer {
    margin-top: 30px;
}

.seal {
    margin-bottom: 20px;
    animation: sealStamp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s backwards;
    transform-origin: center;
}

@keyframes sealStamp {
    0% {
        opacity: 0;
        transform: scale(2) rotate(-20deg);
    }
    60% {
        transform: scale(0.9) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.seal-icon {
    width: 40px;
    height: 40px;
}

.seal-border {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: sealDraw 0.8s ease-out 1.8s forwards;
}

@keyframes sealDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.seal-text {
    opacity: 0;
    animation: textFade 0.3s ease-out 2.3s forwards;
}

@keyframes textFade {
    to {
        opacity: 1;
    }
}

.copyright {
    font-size: 0.8rem;
    color: #9A9A9A;
    margin-bottom: 8px;
    letter-spacing: 2px;
    animation: fadeIn 0.8s ease-out 1.8s backwards;
}

.motto {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.85rem;
    color: #6B5849;
    letter-spacing: 4px;
    font-weight: 300;
    animation: fadeIn 0.8s ease-out 2s backwards;
}

.ink-wash {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at bottom center, rgba(61, 76, 92, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: inkSpread 3s ease-out;
}

@keyframes inkSpread {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.language-switch {
    position: fixed;
    top: 30px;
    right: 20px;
    background: #F8F4ED;
    border: 1px solid #6B5849;
    color: #6B5849;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Serif SC', serif;
    box-shadow: 0 4px 12px rgba(107, 88, 73, 0.15);
    z-index: 999;
    animation: floatBtn 3s ease-in-out infinite;
}

.language-switch:hover {
    background: #6B5849;
    color: #F8F4ED;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(107, 88, 73, 0.25);
}

@keyframes floatBtn {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    body {
        padding: 30px 15px;
    }

    .container {
        max-width: 100%;
    }

    .brand-title {
        font-size: 1.7rem;
        letter-spacing: 10px;
        gap: 5px;
    }

    .brand-subtitle {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .status-card {
        padding: 35px 25px;
    }

    .status-title {
        font-size: 1.35rem;
        letter-spacing: 2px;
    }

    .status-description {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .contact-item {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 6px;
    }

    .footer {
        margin-top: 25px;
    }

    .motto {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .particle {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 360px) {
    .brand-title {
        font-size: 1.4rem;
        letter-spacing: 8px;
    }

    .logo-svg {
        width: 70px;
        height: 70px;
    }

    .status-card {
        padding: 28px 20px;
    }

    .status-title {
        font-size: 1.2rem;
    }
}