* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    color: white;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    text-align: center;
    flex: 1;
}

.logo-container {
    margin-bottom: 15px;
}

.site-logo {
    height: 60px;
    width: auto;
    max-width: 300px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.language-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

h1 {
    margin-bottom: 10px;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    margin-bottom: 40px;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
    position: relative;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 70%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.country-flag {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5rem;
}

.carousel-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 3;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 轮播图滑动指示器 */
.carousel {
    cursor: grab;
    user-select: none;
}

.carousel:active {
    cursor: grabbing;
}

.carousel-slides {
    touch-action: pan-y;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel.dragging .carousel-slides {
    transition: none;
}

/* 滑动提示 */
.carousel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5));
    border-radius: 1px;
    z-index: 2;
    opacity: 0;
    animation: swipeHint 3s ease-in-out infinite;
}

.carousel::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.5));
    border-radius: 1px;
    z-index: 2;
    opacity: 0;
    animation: swipeHint 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes swipeHint {
    0%, 90%, 100% { opacity: 0; }
    45% { opacity: 0.6; }
}

/* 域名导航样式 - 简约设计 */
.domain-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #3498db;
}

.domain-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.domain-item {
    background: white;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e8ecef;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.domain-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #3498db;
}

.domain-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.domain-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    margin: 0;
}

.domain-name i {
    margin-right: 8px;
    color: #3498db;
    font-size: 1rem;
}

.domain-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #95a5a6;
    transition: all 0.3s;
}

.access-status.online {
    background: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.4);
}

.access-status.offline {
    background: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.speed-btn {
    display: none;
}

.speed-result {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

.speed-good {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.speed-average {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.speed-poor {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.visit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.visit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.visit-btn i {
    margin-left: 4px;
    font-size: 0.8rem;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.8);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* 响应式设计 */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 15px;
            }
            
            .language-switcher {
                align-self: center;
            }
            
            .carousel {
                height: 350px;
            }
            
            .slide-content h2 {
                font-size: 1.7rem;
            }
            
            .slide-content p {
                font-size: 1rem;
            }
            
            .domain-list {
                grid-template-columns: 1fr;
            }
            
            .domain-item {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }
            
            .domain-actions {
                justify-content: space-between;
                width: 100%;
            }
            
            h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 480px) {
            .lang-btn {
                padding: 4px 8px;
                font-size: 0.8rem;
            }
            
            .site-logo {
                height: 45px;
                max-width: 250px;
            }
            
            .carousel {
                height: 300px;
            }
            
            .slide-content {
                max-width: 90%;
            }
            
            .slide-content h2 {
                font-size: 1.5rem;
            }
            
            .domain-section {
                padding: 20px;
            }
            
            .domain-actions {
                gap: 6px;
            }
            
            .visit-btn {
                padding: 4px 8px;
                font-size: 0.8rem;
            }
            
            .visit-btn {
                min-width: 50px;
            }
        }
