* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-size: 16px;
    line-height: 1.6;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
}

.loading-spinner {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00d4ff;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #00d4ff;
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #7b2cbf;
    animation-delay: 0.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #f72585;
    animation-delay: 0.4s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

#menu-box {
    position: fixed;
    width: 100%;
    height: 80px;
    background: rgba(15, 12, 41, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#menu-box.scrolled {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.menu {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h2 {
    color: #fff;
    font-size: 28px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.logo h2:hover {
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 24px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.nav-links a:hover::before {
    opacity: 1;
}

#menu-box.scrolled .logo h2 {
    color: #fff;
}

#menu-box.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

#content {
    padding: 120px 0 80px;
    position: relative;
    min-height: 100vh;
}

#content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-box {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.content-box h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}

.content-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
    border-radius: 2px;
}

.changelog-container {
    margin-top: 50px;
}

.changelog-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.changelog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
}

.changelog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.changelog-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.changelog-title {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.changelog-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.changelog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: zoom-in;
}

.changelog-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

.changelog-content a {
    color: #00d4ff;
    transition: all 0.3s ease;
    font-weight: 600;
}

.changelog-content a:hover {
    color: #7b2cbf;
    text-shadow: 0 0 20px rgba(123, 44, 191, 0.5);
}

#footer {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(30px);
    color: #e0e0e0;
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 50%, #f72585 100%);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    margin-bottom: 50px;
    padding: 0 25px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 100%);
    border-radius: 2px;
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.footer-links a:hover {
    color: #00d4ff;
    transform: translateX(10px);
}

.footer-links a i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: #00d4ff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: #00d4ff;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    color: #7b2cbf;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

@media (max-width: 900px) {
    .content-box {
        padding: 0 20px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu {
        justify-content: center;
    }
    
    .footer-section {
        min-width: 100%;
        padding: 0 15px;
    }
    
    .content-box h2 {
        font-size: 2.2rem;
    }
    
    .changelog-item {
        padding: 25px 20px;
    }
    
    #menu-box {
        height: 70px;
    }
    
    .menu {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .content-box h2 {
        font-size: 1.8rem;
    }
    
    .changelog-item {
        padding: 20px 15px;
    }
    
    .changelog-title {
        font-size: 1.3rem;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .logo h2 {
        font-size: 22px;
    }
    
    .content-box {
        padding: 0 15px;
    }
}
