body {
    background: linear-gradient(135deg, #420000, #2b0000);
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(255, 215, 0, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 215, 0, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 215, 0, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 215, 0, 0.03) 75%);
    background-size: 20px 20px;
    pointer-events: none;
}

.header, .contact, .sites-container {
    position: relative;
    z-index: 1;
}

.title-container, .contact, .site-box {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header {
    position: relative;
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(to bottom, #420000, #2b0000);
}

.logo-section {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 25px;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    background: linear-gradient(45deg, rgba(66,0,0,0.3), rgba(0,0,0,0.3));
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 20px;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    padding: 0 20px;
    z-index: 2;
}

.logo-text::before,
.logo-text::after {
    content: '❖';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #FFD700;
    opacity: 0.5;
    z-index: 1;
}

.logo-text::before {
    left: -15px;
}

.logo-text::after {
    right: -15px;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
    z-index: 1;
}

.team-name {
    font-size: 18px;
    color: #FFA500;
    margin-top: 15px;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    padding: 5px 15px;
    z-index: 2;
}

.title-container {
    text-align: center;
    margin: 40px auto;
    padding: 30px;
    max-width: 800px;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    position: relative;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.title-container::before {
    display: none;
}

.title-wrapper {
    position: relative;
    padding: 0;
    margin-bottom: 0;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    letter-spacing: 8px;
    position: relative;
    padding: 0 80px;
    display: inline-block;
}

.main-title::before {
    display: none;
}

.main-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: #FFD700;
    transform: translateY(-50%);
    right: 15px;
    display: block;
}

.title-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
    display: block;
}

.main-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #FFD700 !important;
    text-shadow: none !important;
}

.main-title::before,
.main-title::after {
    display: block;
}

.main-title::after {
    display: none;
}

.title-border {
    display: none;
}

.notice {
    font-size: 16px;
    color: #FFFFFF;
    margin: 20px auto;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
    padding: 12px 25px;
    background: rgba(0,0,0,0.2);
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 1px;
    text-align: center;
    width: fit-content;
}

.notice:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.3);
}

.contact {
    text-align: center;
    margin: 40px auto;
    max-width: 1400px;
    padding: 30px;
    background: linear-gradient(45deg, rgba(0,0,0,0.5), rgba(66,0,0,0.5));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,215,0,0.1);
    backdrop-filter: blur(10px);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
}

.contact-info {
    text-decoration: none;
    position: relative;
}

.contact-box {
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    padding: 12px 35px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-box:hover::before {
    opacity: 1;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.contact-icon {
    font-size: 48px !important;
    margin-right: 20px;
    color: #420000 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.contact-number {
    font-size: 36px;
    font-weight: bold;
    color: #420000 !important;
    text-shadow: 0 2px 4px rgba(255,255,255,0.2);
    letter-spacing: 1px;
}

.add-friend-text {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFD700;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(66, 0, 0, 0.9);
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.contact-box:hover .add-friend-text {
    bottom: -40px;
    opacity: 1;
}

/* 修改标题样式 */
.cn-text {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
    letter-spacing: 8px;
}

.en-text {
    font-size: 18px;
    color: #FFA500;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-weight: 500;
}

.sites-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
}

.site-box {
    padding: 5px 20px 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 100%);
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.site-box::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.site-box:hover::before {
    opacity: 0.8;
}

.site-box:hover {
    transform: translateY(-5px);
}

.site-header {
    text-align: center;
    margin-bottom: 20px;
}

.site-logo {
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px auto 90px;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 1;
    background-color: transparent;
    transition: opacity 0.3s ease;
}

.site-logo::before,
.site-logo::after {
    display: none;
}

.speed-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.speed-item:hover {
    background-color: #f0f0f0;
}

.speed {
    min-width: 100px;
    display: flex;
    align-items: center;
    font-weight: bold;
    transition: color 0.3s ease;
}

.speed i {
    margin-right: 5px;
    font-size: 14px;
}

.speed-item:hover .speed {
    transform: scale(1.05);
}

.url {
    flex: 1;
    margin: 0 10px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.enter-btn {
    min-width: 80px;
    background-color: #c00;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.enter-btn:hover {
    background-color: #ff1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}

.refresh-btn {
    width: 100%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #420000;
    border: none;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.refresh-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.refresh-btn:hover::before {
    left: 100%;
}

.refresh-btn:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.refresh-btn i {
    font-size: 20px;
    animation: spin 2s linear infinite;
    display: inline-block;
}

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

/* 添加按钮点击效果 */
.refresh-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* 当按钮在刷新状态时添加动画效果 */
.refresh-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.refresh-btn.loading i {
    animation: spin 1s linear infinite;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #c00;
    margin: 15px 0;
}

/* 添加图标样式 */
.logo-icon {
    font-size: 40px;
    color: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: floatIcon 3s ease-in-out infinite;
    z-index: 2;
}

.contact-icon {
    font-size: 24px;
    color: #fff;
}

.site-icon {
    font-size: 30px;
    color: #c00;
    margin-bottom: 10px;
}

/* 修改联系咨询样式 */
.contact-title {
    text-align: center;
}

.cn-text {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.en-text {
    font-size: 16px;
    color: #FFA500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 优化布局间距 */
.speed-list {
    margin-top: 50px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* 添加收藏按钮样式 */
.favorite-btn {
    position: static;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #420000;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.favorite-btn i {
    font-size: 16px;
}

/* 修改联系方式样式 */
.contact-methods {
    display: flex;
    align-items: center;
    gap: 30px;
}

.qq-container, .tg-container {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255,255,255,0.1);
}

.tg-container .contact-icon,
.tg-container .contact-number,
.qq-container .contact-icon,
.qq-container .contact-number {
    color: #420000 !important;
}

.qq-container:hover, .tg-container:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.qq-container .contact-icon {
    color: #420000;
}

.tg-container .contact-icon {
    color: white;
}

.contact-number {
    font-size: 32px;
    font-weight: bold;
}

.qq-container .contact-number {
    color: #420000;
}

.tg-container .contact-number {
    color: white;
}

/* 添加页面装饰元素 */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

/* 添加全局动画效果 */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.logo-text, .main-title {
    background-size: 200% auto;
    animation: none;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

.title-container::before,
.title-container::after {
    display: none;
}

.line-left, .line-right {
    display: none;
}

/* 添加动画效果 */
@keyframes borderGlow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
}

@keyframes titleShine {
    0% {
        background-position: -100% center;
    }
    100% {
        background-position: 200% center;
    }
}

.header .notice {
    display: none;
}

/* 添加新的温馨提示样式 */
.notice-container {
    text-align: center;
    margin: 40px auto;
    max-width: 1400px;
}

.notice {
    font-size: 18px;
    color: #FFFFFF;
    padding: 15px 40px;
    background: linear-gradient(45deg, rgba(0,0,0,0.5), rgba(66,0,0,0.5));
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,215,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice:hover::before {
    opacity: 1;
}

.notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    border-color: rgba(255,215,0,0.5);
}

.notice i {
    color: #FFD700;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 调整联系咨询的上边 */
.contact {
    margin-top: 20px;
}

/* 移除之前的notice样式 */
.logo-section .notice {
    display: none;
}

/* 修改联系方式数字样式 */
.contact-number {
    font-size: 42px;
    font-weight: 800;
    font-family: 'Arial Black', sans-serif;
    background: linear-gradient(45deg, #420000, #8B0000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: numberPulse 2s ease-in-out infinite;
    text-shadow: none;
}

@keyframes numberPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* 添加数字悬浮动画 */
@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }
    50% {
        transform: translateY(-2px);
        text-shadow: 4px 4px 8px rgba(0,0,0,0.3);
    }
}

/* 添加效画 */
.contact-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* 修改联系方式容器样式 */
.contact-box {
    padding: 15px 45px;
    position: relative;
    overflow: hidden;
}

/* 添加发光边框效果 */
.contact-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    border-radius: 50px;
}

@keyframes borderRotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* 优化图标样式 */
.contact-icon {
    font-size: 52px !important;
    margin-right: 25px;
    background: linear-gradient(45deg, #420000, #8B0000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 修改顶部按钮容器样式 */
.top-buttons {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 修改官方首页按钮样式 */
.home-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #420000;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: auto;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.home-btn i {
    font-size: 16px;
}

/* 修改收藏按钮样式 */
.favorite-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #420000;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    margin-left: auto;
}

.favorite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.favorite-btn i {
    font-size: 16px;
}

/* 添加响应式布局 */
@media screen and (max-width: 1400px) {
    .sites-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }
}

@media screen and (max-width: 768px) {
    .sites-container {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-text {
        font-size: 36px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .contact-number {
        font-size: 32px;
    }
    
    .top-buttons {
        padding: 0 10px;
    }
}

/* 添加摸设备优化 */
@media (hover: none) {
    .contact-box:hover,
    .site-box:hover,
    .refresh-btn:hover {
        transform: none;
    }
}

/* 添加图片加载优化 */
.site-logo img {
    opacity: 0;
    transition: opacity 0.3s;
}

.site-logo img.loaded {
    opacity: 1;
}

.logo-placeholder {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    color: #666;
    font-size: 14px;
}

.site-name {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #420000;
    text-align: center;
    width: auto;
    white-space: nowrap;
    padding: 5px 15px;
    border: 2px solid #FFD700;
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(255,215,0,0.1), rgba(255,165,0,0.1));
    box-shadow: 
        0 0 0 1px #420000,
        0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

/* 添加最后一个盒子的特殊样式 */
.site-name-header {
    display: none;
}

/* 最后一个盒子不需要 site-logo */
.site-box:last-child .site-logo {
    display: block;
}

/* 最后一个盒子的 speed-list 调整 */
.site-box:last-child .speed-list {
    margin-top: 50px;
}

.site-logo img[src*="default-logo.png"] {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 10px;
    padding: 10px;
}
  