﻿* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #1a1a1a;
    color: #ffffff;
    position: relative;
    min-width: 320px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/dark-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.carousel-container2 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 20px;
    overflow: hidden;
}

.carousel2 {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
}

.carousel2::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-item2 {
    flex: 0 0 auto;
    width: calc((100% - 80px) / 5); /* 5个item平均分布 */
    min-width: 150px;
    text-align: center;
    transition: transform 0.3s ease;
}

.carousel-item2 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.carousel-item2:hover img {
    transform: scale(1.05);
}

.carousel-item2 p {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

.arrow2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow2:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.arrow2.left {
    left: 0;
}

.arrow2.right {
    right: 0;
}

.carousel-mobile {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    display: block;
}

.slides-mobile {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
}

.slides-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    border-radius: 20px;
}

.slides-mobile img[style*="display: block"] {
    opacity: 1;
}

.carousel-dots {
	position: absolute;
	bottom: 10px;
	right: 10px;
 /* 调整小圆点到右下角的距离 */
	display: flex;
	gap: 5px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 0 5px;
	cursor: pointer;
 /* 添加指针样式，表示可点击 */
	transition: background-color 0.3s ease;
}

.dot.active {
	background-color: #fff;
 /* 激活状态的小圆点颜色 */
}

.carousel, .banner-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slides {
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    position: relative; /* 活动的幻灯片使用相对定位，保持文档流 */
    opacity: 1;
    visibility: visible;
}

.slide a {
    display: block;
    width: 100%;
}

.slide picture {
    display: block;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        gap: 8px;
        padding: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-img-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.modal-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .image-modal {
        padding: 20px;
    }

    .modal-img-container {
        max-width: 95%;
    }

    .modal-img {
        max-width: 100%;
        max-height: 70vh;
    }

    .close-modal {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
    }
}

.carousel-container2 {
    margin-top: 0;
 /* 移除顶部外边距 */
    padding-top: 0;
 /* 移除顶部内边距 */
}

/* 基础模块样式 */
.module {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.module:last-child {
    margin-bottom: 0;
}

.module h2 {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin: 0 0 15px 0;
}

.module p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
}

/* 图片行样式 */
.image-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
    width: 100%;
}

.image-row img {
    width: calc(33.333% - 13.333px);
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-row img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 按钮组样式 */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.button-group .contact-telegram {
    margin: 0;
}

.button-group button {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 按钮样式 */
.register-btn,
.login-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    max-width: 160px;
}

.register-btn {
    background: linear-gradient(135deg, #c58000, #7e5600)
}

.login-btn {
    background: linear-gradient(135deg, #011018, #455A64);
}

.register-btn:hover,
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.register-btn:active,
.login-btn:active {
    transform: translateY(1px);
}

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

.register-btn:hover::before,
.login-btn:hover::before {
    left: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .button-group {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .button-group button {
        padding: 8px 20px;
        font-size: 14px;
        white-space: nowrap;
        width: auto;
    }

    .register-btn,
    .login-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .button-group {
        gap: 8px;
    }

    .button-group button {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* 福利列表样式 */
.benefits-list {
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}

.benefit-item {
    background-color: transparent;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.benefit-item span {
    color: #fff;
    font-size: 14px;
    display: inline;
}

.benefit-item span:first-child {
    margin-right: 15px;
}

.benefit-detail {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* 轮播样式优化 */
.carousel-container2 {
    position: relative;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    user-select: none;
}

.carousel2 {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    cursor: grab;
}

.carousel-item2 {
    flex: 0 0 calc(20% - 12px);
    min-width: calc(20% - 12px);
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel2 {
        gap: 10px;
        padding: 5px 0;
    }

    .carousel-item2 {
        flex: 0 0 calc(33.333% - 10px);
        min-width: calc(33.333% - 10px);
    }
}

@media (max-width: 480px) {
    .carousel-item2 {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}

/* 全局容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

.module {
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	padding: 1.2rem;
}

.module h2 {
	font-size: 24px;
	margin-bottom: 10px;
	color: #ffffff;
	margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.module p {
	font-size: 16px;
	margin-bottom: 20px;
	color: #ffffff;
	margin-bottom: 0.8rem;
}

.benefits-list {
	border-radius: 10px;
	margin: 20px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin-top: 0.8rem;
}

.benefits-list h3 {
	color: #fff;
	font-size: 1.2em;
	margin-bottom: 15px;
	text-align: left;
	margin-bottom: 0.8rem;
}

.benefits-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.benefits-list li {
	color: #fff;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 1em;
	line-height: 1.5;
}

.benefits-list li:last-child {
	border-bottom: none;
}

.module p {
	color: #fff;
	font-size: 1.1em;
	line-height: 1.6;
	margin-bottom: 20px;
	text-align: center;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding: 10px;
}

.benefit-item {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.benefit-item span {
	color: #fff;
	font-size: 1.1em;
}

.benefit-item .benefit-detail {
	color: #cccccc;
	font-size: 0.95em;
}

@media (max-width: 768px) {
	.benefits-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.benefit-item {
		padding: 12px;
	}
}

.section-title {
	text-align: center;
	font-size: 2.2em;
	margin: 40px 0;
	color: #fff;
	text-shadow: 0 0 10px rgba(231, 188, 44, 0.5);
	position: relative;
	padding-bottom: 15px;
	font-weight: 600;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, transparent, #FFD700, transparent);
	box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
	animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    }
}

.section-title::before {
    content: '★★★★★';
    color: #FFD700;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5em;
    opacity: 0.8;
    letter-spacing: 3px;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
    animation: starShine 2s ease-in-out infinite;
}

@keyframes starShine {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
}

.navbar {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 15px;
	box-sizing: border-box;
	flex-wrap: nowrap;
	border-bottom: 2px solid #981414;
}

.navbar img {
	height: auto; /* 修改 */
    max-height: 50px; /* 新增 */
    width: auto; /* 新增 */
}

.navbar a {
	text-decoration: none;
	color: #ffffff;
	margin-left: 20px;
	font-size: 16px;
	font-weight: bold;
 /* 加粗 */
	padding: 5px 10px;
 /* 为链接增加一些内边距，方便hover效果 */
	transition: background-color 0.3s ease;
 /* 平滑的背景颜色过渡效果 */
}

.navbar a:hover {
	background-color: #3d3d3d;
 /* 鼠标滑过时变成浅灰色 */
	border-radius: 8px;
}

.navbar .right-links {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

.navbar .right-links a {
    padding: 8px 15px;
    transition: all 0.3s ease;
    font-weight: normal;
}


/* 小屏幕自适应样式 */
@media (max-width: 768px) {
    .navbar img {
        max-height: 40px; /* 修改：使用 max-height 代替 height */
    }

    .navbar a {
        font-size: 14px; /* 修改：进一步缩小字体 */
        margin-left: 15px; /* 修改：稍微减小链接间距 */
    }
}

/* 非常小的屏幕适配 */
@media (max-width: 480px) {
    .navbar img {
        max-height: 35px; /* 修改：使用 max-height 代替 height */
    }

    .navbar a {
        font-size: 12px; /* 修改：再次缩小字体 */
        margin-left: 8px; /* 修改：进一步减小间距 */
    }
}

/* 测速模块样式 */
.speed-test-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
    background: rgba(45, 45, 45, 0.5);
    border-radius: 10px;
    padding: 15px;
}

.speed-test-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.speed-test-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.domain-name {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

.speed-result {
    font-size: 13px;
    color: #4CAF50;
    min-width: 80px;
    text-align: center;
}

.speed-test-buttons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.test-btn, 
.speed-test-item .login-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 70px;
}

.test-btn {
    background: #4CAF50;
    color: white;
}

.speed-test-item .login-btn {
    background: #2196F3;
    color: white;
}

.test-btn:hover,
.speed-test-item .login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.speed-test-note {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .speed-test-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .speed-test-item {
        padding: 8px 12px;
    }

    .domain-name {
        font-size: 13px;
    }

    .speed-result {
        font-size: 12px;
        min-width: 70px;
    }

    .test-btn, 
    .speed-test-item .login-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .speed-test-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .domain-info {
        justify-content: space-between;
    }

    .speed-test-buttons {
        justify-content: flex-end;
        margin-left: 0;
    }
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        gap: 8px;
        padding: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slides {
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    position: relative; /* 活动的幻灯片使用相对定位，保持文档流 */
    opacity: 1;
    visibility: visible;
}

.slide a {
    display: block;
    width: 100%;
}

.slide picture {
    display: block;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        gap: 8px;
        padding: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

.button-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.register-btn, .login-btn {
    flex: 1;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.register-btn {
    color: white;
}

.login-btn {
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.2);
}

.register-btn:hover,
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.register-btn:active,
.login-btn:active {
    transform: translateY(1px);
}

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

.register-btn:hover::before,
.login-btn:hover::before {
    left: 100%;
}

/* 按钮内的图标样式 */
/* 响应式调整 */
@media (max-width: 768px) {
    .button-group {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .button-group button {
        padding: 8px 20px;
        font-size: 14px;
        white-space: nowrap;
        width: auto;
    }

    .register-btn,
    .login-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .button-group {
        gap: 8px;
    }

    .button-group button {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* 会员和代理模块中的按钮组样式 */
.module .button-group {
    margin-top: 1.5rem;
}

.module .register-btn, 
.module .login-btn {
    min-width: 160px;
}

/* 特殊效果：按钮禁用状态 */
.register-btn:disabled,
.login-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 按钮加载状态 */
.register-btn.loading,
.login-btn.loading {
    position: relative;
    color: transparent;
}

.register-btn.loading::after,
.login-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-loading 0.8s ease infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

.carousel-container2 {
    position: relative;
    width: 100%;
    margin: 1rem 0;
    overflow: hidden;
    user-select: none;
}

.carousel2 {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.carousel2:active {
    cursor: grabbing;
}

.carousel-item2 {
    flex: 0 0 auto;
    width: calc(20% - 0.64rem);
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.carousel-item2:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.carousel-item2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.4rem;
}

.carousel-item2 p {
    margin: 0.4rem 0 0;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.9;
}

.arrow2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.arrow2:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.arrow2.left {
    left: 10px;
}

.arrow2.right {
    right: 10px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .carousel2 {
        gap: 0.4rem;
        padding: 0.4rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .carousel-item2 {
        width: calc(33.333% - 0.4rem);
        padding: 0.4rem;
        scroll-snap-align: start;
    }

    .carousel-item2 img {
        border-radius: 6px;
    }

    .carousel-item2 p {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }

    .arrow2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .carousel-item2 {
        width: calc(50% - 0.4rem);
    }
}

/* 公告栏样式 */
.announcement-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    margin: 10px auto;
    border-radius: 8px;
    max-width: 1200px;
    height: 50px; /* 增加高度 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.announcement-icon {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M20 2v20l-8-5H4V7h8L20 2z"/></svg>') center/contain no-repeat;
    margin-right: 15px;
    flex-shrink: 0;
}

.announcement-content-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.announcement-content {
    padding: 0 10px;
    color: #fff;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .announcement-container {
        margin: 10px auto;
        padding: 8px 12px;
    }

    .announcement-icon {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }

    .announcement-content {
        font-size: 14px;
    }

    .announcement-container::before,
    .announcement-container::after {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .announcement-container {
        margin: 8px auto;
        padding: 6px 10px;
    }

    .announcement-icon {
        width: 14px;
        height: 14px;
        margin-right: 8px;
    }

    .announcement-content {
        font-size: 13px;
    }
}

/* 页脚样式优化 */
.footer {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 15px;
}

.footer-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    max-width: 300px;
    width: 25%;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-icons img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-icons img[src*="footer_04"] {
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.footer-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        width: 100%;
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-copyright {
    text-align: center;
    padding: 20px 15px;
    margin-top: 30px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.5;
}

/* 页脚响应式布局 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-bottom {
        margin-top: 20px;
        font-size: 12px;
    }
}

/* 轮播图容器样式 */
.slider-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    padding-top: 40%; /* 调整高度比例 */
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 轮播图导航按钮样式优化 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: max(20px, calc((100vw - 1400px) / 2 + 20px));
}

.slider-arrow.next {
    right: max(20px, calc((100vw - 1400px) / 2 + 20px));
}

/* 轮播图指示器样式优化 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slider {
        padding-top: 56.25%; /* 移动端使用16:9比例 */
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-indicators {
        bottom: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

.title-with-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.contact-telegram {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-telegram:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-telegram span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.title-icon {
    margin-right: 10px;
    font-size: 0.9em;
    color: #fff;
    opacity: 0.9;
    vertical-align: middle;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    margin-right: 8px;
}

/* Adjust icon sizes */
.fa-user.title-icon {
    font-size: 0.85em;
}

.fa-users.title-icon {
    font-size: 1em;
}

.golden-icon {
    color: #FFD700;
    margin-right: 10px;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* 页脚响应式布局 */
@media (max-width: 768px) {
    .footer {
        display: none;
    }
}

@media (min-width: 769px) {
    .footer {
        display: block;
    }
}

/* Hide elements on mobile */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    
    .image-row img {
        width: 100%;
        margin: 0;
    }
    
    .image-row {
        gap: 0;
        justify-content: center;
    }
}

/* Show all images on desktop */
@media (min-width: 769px) {
    .hide-on-mobile {
        display: block;
    }
    
    .image-row {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    
    .image-row img {
        width: calc(33.333% - 13.333px);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 3.8vw;
    }

    h2 {
        font-size: 4.5vw;
    }

    .section-title {
        font-size: 4.5vw;
    }

    .benefit-item span {
        font-size: 3.8vw;
    }

    .button-group button {
        font-size: 3.8vw;
        padding: 1.5vw 4vw;
    }

    .speed-test h2 {
        font-size: 4.5vw;
    }

    .speed-test p {
        font-size: 3.8vw;
    }

    .domain-name {
        font-size: 3.8vw;
    }

    .speed-result {
        font-size: 3.8vw;
    }

    .test-btn, .login-btn {
        font-size: 3.8vw;
    }
}

@media (min-width: 769px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 2.2em;
    }

    .button-group button {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .module p {
        width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: 3.8vw;
        line-height: 1.6;
        text-align: center;
    }
}

.contact-telegram.centered-button {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-telegram.centered-button:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.contact-telegram.centered-button span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.speed-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-text {
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}

.carousel-container2 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 20px;
    overflow: hidden;
}

/* 统一媒体查询断点 */
@media (max-width: 768px) {
    .carousel-container2 {
        padding: 0 10px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hide-on-mobile {
        display: none;
    }
}

.logo a {
    text-decoration: none;
    pointer-events: none;
}

.logo a img {
    pointer-events: auto;
    cursor: pointer;
}* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #1a1a1a;
    color: #ffffff;
    position: relative;
    min-width: 320px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/dark-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.carousel-container2 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 20px;
    overflow: hidden;
}

.carousel2 {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
}

.carousel2::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-item2 {
    flex: 0 0 auto;
    width: calc((100% - 80px) / 5); /* 5个item平均分布 */
    min-width: 150px;
    text-align: center;
    transition: transform 0.3s ease;
}

.carousel-item2 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.carousel-item2:hover img {
    transform: scale(1.05);
}

.carousel-item2 p {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

.arrow2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow2:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.arrow2.left {
    left: 0;
}

.arrow2.right {
    right: 0;
}

.carousel-mobile {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    display: block;
}

.slides-mobile {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
}

.slides-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    border-radius: 20px;
}

.slides-mobile img[style*="display: block"] {
    opacity: 1;
}

.carousel-dots {
	position: absolute;
	bottom: 10px;
	right: 10px;
 /* 调整小圆点到右下角的距离 */
	display: flex;
	gap: 5px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 0 5px;
	cursor: pointer;
 /* 添加指针样式，表示可点击 */
	transition: background-color 0.3s ease;
}

.dot.active {
	background-color: #fff;
 /* 激活状态的小圆点颜色 */
}

.carousel, .banner-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slides {
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    position: relative; /* 活动的幻灯片使用相对定位，保持文档流 */
    opacity: 1;
    visibility: visible;
}

.slide a {
    display: block;
    width: 100%;
}

.slide picture {
    display: block;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        gap: 8px;
        padding: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-img-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.modal-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .image-modal {
        padding: 20px;
    }

    .modal-img-container {
        max-width: 95%;
    }

    .modal-img {
        max-width: 100%;
        max-height: 70vh;
    }

    .close-modal {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
    }
}

.carousel-container2 {
    margin-top: 0;
 /* 移除顶部外边距 */
    padding-top: 0;
 /* 移除顶部内边距 */
}

/* 基础模块样式 */
.module {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.module:last-child {
    margin-bottom: 0;
}

.module h2 {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin: 0 0 15px 0;
}

.module p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
}

/* 图片行样式 */
.image-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
    width: 100%;
}

.image-row img {
    width: calc(33.333% - 13.333px);
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-row img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 按钮组样式 */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.button-group .contact-telegram {
    margin: 0;
}

.button-group button {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 按钮样式 */
.register-btn,
.login-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    max-width: 160px;
}

.register-btn {
    background: linear-gradient(135deg, #cf2424, #D81B60);
}

.login-btn {
    background: linear-gradient(135deg, #4CAF50, #2cb131);
}

.register-btn:hover,
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.register-btn:active,
.login-btn:active {
    transform: translateY(1px);
}

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

.register-btn:hover::before,
.login-btn:hover::before {
    left: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .button-group {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .button-group button {
        padding: 8px 20px;
        font-size: 14px;
        white-space: nowrap;
        width: auto;
    }

    .register-btn,
    .login-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .button-group {
        gap: 8px;
    }

    .button-group button {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* 福利列表样式 */
.benefits-list {
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}

.benefit-item {
    background-color: transparent;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.benefit-item span {
    color: #fff;
    font-size: 14px;
    display: inline;
}

.benefit-item span:first-child {
    margin-right: 15px;
}

.benefit-detail {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* 轮播样式优化 */
.carousel-container2 {
    position: relative;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    user-select: none;
}

.carousel2 {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    cursor: grab;
}

.carousel-item2 {
    flex: 0 0 calc(20% - 12px);
    min-width: calc(20% - 12px);
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel2 {
        gap: 10px;
        padding: 5px 0;
    }

    .carousel-item2 {
        flex: 0 0 calc(33.333% - 10px);
        min-width: calc(33.333% - 10px);
    }
}

@media (max-width: 480px) {
    .carousel-item2 {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}

/* 全局容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

.module {
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	padding: 1.2rem;
}

.module h2 {
	font-size: 24px;
	margin-bottom: 10px;
	color: #ffffff;
	margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.module p {
	font-size: 16px;
	margin-bottom: 20px;
	color: #ffffff;
	margin-bottom: 0.8rem;
}

.benefits-list {
	border-radius: 10px;
	margin: 20px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin-top: 0.8rem;
}

.benefits-list h3 {
	color: #fff;
	font-size: 1.2em;
	margin-bottom: 15px;
	text-align: left;
	margin-bottom: 0.8rem;
}

.benefits-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.benefits-list li {
	color: #fff;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 1em;
	line-height: 1.5;
}

.benefits-list li:last-child {
	border-bottom: none;
}

.module p {
	color: #fff;
	font-size: 1.1em;
	line-height: 1.6;
	margin-bottom: 20px;
	text-align: center;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding: 10px;
}

.benefit-item {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.benefit-item span {
	color: #fff;
	font-size: 1.1em;
}

.benefit-item .benefit-detail {
	color: #cccccc;
	font-size: 0.95em;
}

@media (max-width: 768px) {
	.benefits-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.benefit-item {
		padding: 12px;
	}
}

.section-title {
	text-align: center;
	font-size: 2.2em;
	margin: 40px 0;
	color: #fff;
	text-shadow: 0 0 10px rgba(231, 188, 44, 0.5);
	position: relative;
	padding-bottom: 15px;
	font-weight: 600;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, transparent, #FFD700, transparent);
	box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
	animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    }
}

.section-title::before {
    content: '★★★★★';
    color: #FFD700;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5em;
    opacity: 0.8;
    letter-spacing: 3px;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
    animation: starShine 2s ease-in-out infinite;
}

@keyframes starShine {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
}

.navbar {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 15px;
	box-sizing: border-box;
	flex-wrap: nowrap;
	border-bottom: 2px solid #EECF63;
}

.navbar img {
	height: auto; /* 修改 */
    max-height: 50px; /* 新增 */
    width: auto; /* 新增 */
}

.navbar a {
	text-decoration: none;
	color: #ffffff;
	margin-left: 20px;
	font-size: 16px;
	font-weight: bold;
 /* 加粗 */
	padding: 5px 10px;
 /* 为链接增加一些内边距，方便hover效果 */
	transition: background-color 0.3s ease;
 /* 平滑的背景颜色过渡效果 */
}

.navbar a:hover {
	background-color: #3d3d3d;
 /* 鼠标滑过时变成浅灰色 */
	border-radius: 8px;
}

.navbar .right-links {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

/* 小屏幕自适应样式 */
@media (max-width: 768px) {
    .navbar img {
        max-height: 40px; /* 修改：使用 max-height 代替 height */
    }

    .navbar a {
        font-size: 14px; /* 修改：进一步缩小字体 */
        margin-left: 15px; /* 修改：稍微减小链接间距 */
    }
}

/* 非常小的屏幕适配 */
@media (max-width: 480px) {
    .navbar img {
        max-height: 35px; /* 修改：使用 max-height 代替 height */
    }

    .navbar a {
        font-size: 12px; /* 修改：再次缩小字体 */
        margin-left: 8px; /* 修改：进一步减小间距 */
    }
}

/* 测速模块样式 */
.speed-test-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
    background: rgba(45, 45, 45, 0.5);
    border-radius: 10px;
    padding: 15px;
}

.speed-test-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.speed-test-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.domain-name {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

.speed-result {
    font-size: 13px;
    color: #4CAF50;
    min-width: 80px;
    text-align: center;
}

.speed-test-buttons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.test-btn, 
.speed-test-item .login-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 70px;
}

.test-btn {
    background: #4CAF50;
    color: white;
}

.speed-test-item .login-btn {
    background: #2196F3;
    color: white;
}

.test-btn:hover,
.speed-test-item .login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.speed-test-note {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .speed-test-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .speed-test-item {
        padding: 8px 12px;
    }

    .domain-name {
        font-size: 13px;
    }

    .speed-result {
        font-size: 12px;
        min-width: 70px;
    }

    .test-btn, 
    .speed-test-item .login-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .speed-test-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .domain-info {
        justify-content: space-between;
    }

    .speed-test-buttons {
        justify-content: flex-end;
        margin-left: 0;
    }
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        gap: 8px;
        padding: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slides {
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    position: relative; /* 活动的幻灯片使用相对定位，保持文档流 */
    opacity: 1;
    visibility: visible;
}

.slide a {
    display: block;
    width: 100%;
}

.slide picture {
    display: block;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        gap: 8px;
        padding: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

.button-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.register-btn, .login-btn {
    flex: 1;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.register-btn {
    color: white;
}

.login-btn {
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.2);
}

.register-btn:hover,
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.register-btn:active,
.login-btn:active {
    transform: translateY(1px);
}

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

.register-btn:hover::before,
.login-btn:hover::before {
    left: 100%;
}

/* 按钮内的图标样式 */
/* 响应式调整 */
@media (max-width: 768px) {
    .button-group {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .button-group button {
        padding: 8px 20px;
        font-size: 14px;
        white-space: nowrap;
        width: auto;
    }

    .register-btn,
    .login-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .button-group {
        gap: 8px;
    }

    .button-group button {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* 会员和代理模块中的按钮组样式 */
.module .button-group {
    margin-top: 1.5rem;
}

.module .register-btn, 
.module .login-btn {
    min-width: 160px;
}

/* 特殊效果：按钮禁用状态 */
.register-btn:disabled,
.login-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 按钮加载状态 */
.register-btn.loading,
.login-btn.loading {
    position: relative;
    color: transparent;
}

.register-btn.loading::after,
.login-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-loading 0.8s ease infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

.carousel-container2 {
    position: relative;
    width: 100%;
    margin: 1rem 0;
    overflow: hidden;
    user-select: none;
}

.carousel2 {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.carousel2:active {
    cursor: grabbing;
}

.carousel-item2 {
    flex: 0 0 auto;
    width: calc(20% - 0.64rem);
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.carousel-item2:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.carousel-item2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.4rem;
}

.carousel-item2 p {
    margin: 0.4rem 0 0;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.9;
}

.arrow2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.arrow2:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.arrow2.left {
    left: 10px;
}

.arrow2.right {
    right: 10px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .carousel2 {
        gap: 0.4rem;
        padding: 0.4rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .carousel-item2 {
        width: calc(33.333% - 0.4rem);
        padding: 0.4rem;
        scroll-snap-align: start;
    }

    .carousel-item2 img {
        border-radius: 6px;
    }

    .carousel-item2 p {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }

    .arrow2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .carousel-item2 {
        width: calc(50% - 0.4rem);
    }
}

/* 公告栏样式 */
.announcement-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    margin: 10px auto;
    border-radius: 8px;
    max-width: 1200px;
    height: 50px; /* 增加高度 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.announcement-icon {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M20 2v20l-8-5H4V7h8L20 2z"/></svg>') center/contain no-repeat;
    margin-right: 15px;
    flex-shrink: 0;
}

.announcement-content-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.announcement-content {
    padding: 0 10px;
    color: #fff;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .announcement-container {
        margin: 10px auto;
        padding: 8px 12px;
    }

    .announcement-icon {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }

    .announcement-content {
        font-size: 14px;
    }

    .announcement-container::before,
    .announcement-container::after {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .announcement-container {
        margin: 8px auto;
        padding: 6px 10px;
    }

    .announcement-icon {
        width: 14px;
        height: 14px;
        margin-right: 8px;
    }

    .announcement-content {
        font-size: 13px;
    }
}

/* 页脚样式优化 */
.footer {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 15px;
}

.footer-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    max-width: 300px;
    width: 25%;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-icons img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-icons img[src*="footer_04"] {
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.footer-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        width: 100%;
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-copyright {
    text-align: center;
    padding: 20px 15px;
    margin-top: 30px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.5;
}

/* 页脚响应式布局 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-bottom {
        margin-top: 20px;
        font-size: 12px;
    }
}

/* 轮播图容器样式 */
.slider-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    padding-top: 40%; /* 调整高度比例 */
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 轮播图导航按钮样式优化 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: max(20px, calc((100vw - 1400px) / 2 + 20px));
}

.slider-arrow.next {
    right: max(20px, calc((100vw - 1400px) / 2 + 20px));
}

/* 轮播图指示器样式优化 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slider {
        padding-top: 56.25%; /* 移动端使用16:9比例 */
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-indicators {
        bottom: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

.title-with-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.contact-telegram {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-telegram:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-telegram span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.title-icon {
    margin-right: 10px;
    font-size: 0.9em;
    color: #fff;
    opacity: 0.9;
    vertical-align: middle;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    margin-right: 8px;
}

/* Adjust icon sizes */
.fa-user.title-icon {
    font-size: 0.85em;
}

.fa-users.title-icon {
    font-size: 1em;
}

.golden-icon {
    color: #FFD700;
    margin-right: 10px;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* 页脚响应式布局 */
@media (max-width: 768px) {
    .footer {
        display: none;
    }
}

@media (min-width: 769px) {
    .footer {
        display: block;
    }
}

/* Hide elements on mobile */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    
    .image-row img {
        width: 100%;
        margin: 0;
    }
    
    .image-row {
        gap: 0;
        justify-content: center;
    }
}

/* Show all images on desktop */
@media (min-width: 769px) {
    .hide-on-mobile {
        display: block;
    }
    
    .image-row {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    
    .image-row img {
        width: calc(33.333% - 13.333px);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 3.8vw;
    }

    h2 {
        font-size: 4.5vw;
    }

    .section-title {
        font-size: 4.5vw;
    }

    .benefit-item span {
        font-size: 3.8vw;
    }

    .button-group button {
        font-size: 3.8vw;
        padding: 1.5vw 4vw;
    }

    .speed-test h2 {
        font-size: 4.5vw;
    }

    .speed-test p {
        font-size: 3.8vw;
    }

    .domain-name {
        font-size: 3.8vw;
    }

    .speed-result {
        font-size: 3.8vw;
    }

    .test-btn, .login-btn {
        font-size: 3.8vw;
    }
}

@media (min-width: 769px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 2.2em;
    }

    .button-group button {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .module p {
        width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: 3.8vw;
        line-height: 1.6;
        text-align: center;
    }
}

.contact-telegram.centered-button {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-telegram.centered-button:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.contact-telegram.centered-button span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.speed-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-text {
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}

.carousel-container2 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 20px;
    overflow: hidden;
}

/* 统一媒体查询断点 */
@media (max-width: 768px) {
    .carousel-container2 {
        padding: 0 10px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hide-on-mobile {
        display: none;
    }
}

.logo a {
    text-decoration: none;
    pointer-events: none;
}

.logo a img {
    pointer-events: auto;
    cursor: pointer;
}
/* 导航栏按钮样式 */
.navbar-link {
    text-decoration: none;
    color: #ffffff;
    background: none;
    border: none;
    margin-left: 20px;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navbar-link:hover {
    background-color: #3d3d3d;
    border-radius: 8px;
}

/* 公告栏内嵌按钮样式 */
.inline-register-btn {
    display: inline;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: white;
    background: linear-gradient(135deg, #cf2424, #D81B60);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inline-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Telegram 按钮样式 */
.telegram-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0088cc, #00cccc); /* Telegram 的蓝色渐变 */
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #00cccc, #0088cc); /* 反转渐变色 */
}

.telegram-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}
/* 默认样式：电脑端字体大小 */
h1.hidden {
    font-size: 1.4em; /* 电脑端默认大小，可根据需要调整 */
    margin: 0;
    padding: 0;
}

/* 手机端调整字体大小 */
@media (max-width: 768px) {
    h1.hidden {
        font-size: 1.0em; /* 手机端缩小字体 */
        line-height: 1.4; /* 改善可读性 */
    }
}