* {
         margin: 0;
         padding: 0;
         box-sizing: border-box;
         font-family: 'Poppins', sans-serif;
}

:root {
         --primary-color: #6366f1;
         --secondary-color: #a855f7;
         --accent-color: #ec4899;
         --background-color: #f8fafc;
         --dark-background: #1e293b;
         --light-text: #f8fafc;
         --dark-text: #334155;
         --card-bg: #ffffff;
         --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
         --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
         --button-gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

body {
         background-color: var(--background-color);
         color: var(--dark-text);
         line-height: 1.6;
}

i {
         font-style: normal;
}

a {
         text-decoration: none;
         color: var(--primary-color);
         transition: all 0.3s ease;
}

a:focus {
         outline: none;
         border-bottom: 3px solid #abf107;
}

a:hover {
         color: var(--accent-color);
}

ul,
li {
         list-style: none;
         margin: 0;
         padding: 0;
}

.elementWith {
         width: 1200px;
         margin: 0 auto;
}

/* 按钮样式 */
.btn {
         display: inline-block;
         padding: 0.8rem 1.5rem;
         border-radius: 50px;
         background: var(--button-gradient);
         color: var(--light-text);
         font-weight: 500;
         border: none;
         cursor: pointer;
         transition: all 0.3s ease;
         box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn:hover {
         transform: translateY(-2px);
         box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* 容器样式 */
.container {
         width: 100%;
         max-width: 1200px;
         margin: 0 auto;
         padding: 0 20px;
}

/* 通知条样式 */
.notification {
         background: var(--gradient-bg);
         color: var(--light-text);
         text-align: center;
         padding: 12px;
         font-weight: 500;
}

/* 网格布局 */
.grid {
         display: grid;
         gap: 2rem;
}

/* 卡片样式 */
.card {
         background: var(--card-bg);
         border-radius: 12px;
         padding: 2rem;
         box-shadow: var(--card-shadow);
         transition: transform 0.3s ease;
}

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

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
         font-weight: 700;
         line-height: 1.2;
         margin-bottom: 1rem;
         color: var(--dark-text);
}

/* 弹窗样式 */
.modal-overlay {
         position: fixed;
         top: 0;
         left: 0;
         right: 0;
         bottom: 0;
         background-color: rgba(0, 0, 0, 0.5);
         display: flex;
         justify-content: center;
         align-items: center;
         z-index: 1000;
         opacity: 0;
         visibility: hidden;
         transition: all 0.3s ease;
}

.modal-overlay.active {
         opacity: 1;
         visibility: visible;
}

.modal {
         background: var(--card-bg);
         border-radius: 12px;
         padding: 2rem;
         max-width: 90%;
         width: 500px;
         box-shadow: var(--card-shadow);
         transform: translateY(20px);
         transition: all 0.3s ease;
}

.modal-overlay.active .modal {
         transform: translateY(0);
}

.modal-header {
         display: flex;
         justify-content: space-between;
         align-items: center;
         margin-bottom: 1.5rem;
}

.modal-close {
         background: transparent;
         border: none;
         font-size: 1.5rem;
         cursor: pointer;
         color: var(--dark-text);
}

/* 动画效果 */
@keyframes fadeIn {
         from {
                  opacity: 0;
         }
         to {
                  opacity: 1;
         }
}

.fade-in {
         animation: fadeIn 0.5s ease forwards;
}

/* 响应式工具类 */
@media (min-width: 768px) {
         .grid-2 {
                  grid-template-columns: repeat(2, 1fr);
         }
         
         .grid-3 {
                  grid-template-columns: repeat(3, 1fr);
         }
         
         .grid-4 {
                  grid-template-columns: repeat(4, 1fr);
         }
}

/* QR码弹窗样式 */
#addressQrcode {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background-color: rgba(0, 0, 0, 0.5);
         display: flex;
         justify-content: center;
         align-items: center;
         z-index: 1000;
}

.qrcodeDiv {
         background-color: var(--card-bg);
         border-radius: 12px;
         padding: 2rem;
         width: 90%;
         max-width: 350px;
         display: flex;
         flex-direction: column;
         align-items: center;
         box-shadow: var(--card-shadow);
}

.qrcodeText {
         display: flex;
         justify-content: space-between;
         align-items: center;
         width: 100%;
         margin-bottom: 1.5rem;
}

#qrcodeTitle {
         font-size: 1.2rem;
         font-weight: 600;
         color: var(--dark-text);
}

#qrcodeImg {
         width: 200px;
         height: 200px;
         margin-bottom: 1.5rem;
}

#saveLocal {
         background: var(--button-gradient);
         color: white;
         border: none;
         padding: 0.8rem 1.5rem;
         border-radius: 50px;
         font-weight: 500;
         cursor: pointer;
         transition: all 0.3s ease;
}

#saveLocal:hover {
         transform: translateY(-3px);
         box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 客服联系弹窗样式 */
#telegramID {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background-color: rgba(0, 0, 0, 0.5);
         display: flex;
         justify-content: center;
         align-items: center;
         z-index: 1000;
}

.telegramDiv {
         background-color: var(--card-bg);
         border-radius: 12px;
         padding: 2rem;
         width: 90%;
         max-width: 350px;
         display: flex;
         flex-direction: column;
         align-items: center;
         box-shadow: var(--card-shadow);
}

.telegramTitle {
         display: flex;
         justify-content: space-between;
         align-items: center;
         width: 100%;
         margin-bottom: 1.5rem;
}

.telegramTitle span:first-child {
         font-size: 1.2rem;
         font-weight: 600;
         color: var(--dark-text);
}

.telegramTitle span:last-child {
         font-size: 24px;
         cursor: pointer;
}

.telegramDiv img {
         width: 80px;
         height: 80px;
         margin-bottom: 1rem;
}

.telegramDiv p {
         font-size: 1.2rem;
         margin-bottom: 1.5rem;
}

.telegramButton {
         display: flex;
         gap: 1rem;
}

.telegramButton span {
         display: inline-block;
         padding: 0.8rem 1.5rem;
         background-color: #e2e8f0;
         color: var(--dark-text);
         border-radius: 50px;
         cursor: pointer;
         transition: all 0.3s ease;
}

.telegramButton span:hover {
         background-color: #cbd5e1;
}

.telegramButton a {
         display: inline-block;
         padding: 0.8rem 1.5rem;
         background: var(--button-gradient);
         color: white;
         border-radius: 50px;
         transition: all 0.3s ease;
}

.telegramButton a:hover {
         transform: translateY(-3px);
         box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 回到顶部和客服图标样式 */
#backTop, #kefuIcon {
         position: fixed;
         right: 20px;
         width: 60px;
         height: 60px;
         background-color: white;
         border-radius: 50%;
         display: flex;
         justify-content: center;
         align-items: center;
         cursor: pointer;
         box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
         z-index: 100;
         transition: all 0.3s ease;
}

#backTop {
         bottom: 100px;
}

#kefuIcon {
         bottom: 30px;
}

#backTop:hover, #kefuIcon:hover {
         transform: translateY(-3px);
         box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
         background: var(--gradient-bg);
}

#backTop img, #kefuIcon img {
         width: 30px;
         height: 30px;
         transition: all 0.3s ease;
}

#backTop:hover img, #kefuIcon:hover img {
         filter: brightness(10);
}

/* 消息提示样式 */
#message {
         position: fixed;
         top: 20px;
         left: 50%;
         transform: translateX(-50%);
         padding: 1rem 2rem;
         background-color: rgba(0, 0, 0, 0.7);
         color: white;
         border-radius: 8px;
         z-index: 2000;
         box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}