/* ================================== 全局基础样式 ================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    min-height: 100vh;
    transition: background-color 0.3s ease;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

a:hover {
    color: #00a8ee;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
    loading: lazy;
}

/* 全局背景 */
body .syymw-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    z-index: 1;
    filter: none;
    pointer-events: none;
}

body .syymw-background-overlay {
    display: none;
}

/* 页面外层容器（修复高度自适应） */
body .syymw-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    height: auto; /* 自适应高度，去除固定值 */
}

.syymw-container > .syymw-main-wrapper,
.syymw-container > .syymw-page-title {
    padding: 0 20px;
}

/* ================================== 顶部Banner与菜单 ================================== */
/* 顶部Banner：与菜单无缝贴合 */
body .syymw-top-contact-banner {
    margin-top: 0 !important; 
    position: relative;
    top: 0; 
    z-index: 4; 
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: transparent;
    left: 50%;
    transform: translateX(-50%);
}
.dashicons, .dashicons-before::before {
  font-size: 20px;
}
/* Banner内部图片与文字 */
.syymw-top-contact-banner .syymw-contact-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.syymw-contact-banner-link .syymw-contact-banner-img {
    width: 100%;
    height: 380px;
    max-height: none;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.syymw-top-contact-banner .syymw-contact-banner-text {
    position: absolute;
    bottom: 7vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 0.5vw 2vw;
    border-radius: 50px;
    font-size: 1.2vw;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1;
    white-space: nowrap;
}

.syymw-top-contact-banner:hover .syymw-contact-banner-img {
    transform: scale(1.02);
}

.syymw-top-contact-banner:hover .syymw-contact-banner-text {
    opacity: 1;
}

body .syymw-contact-anchor {
    height: 0;
    visibility: hidden;
}

/* 顶部菜单样式 */
header.your-menu-class,
.your-menu-class {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    background: inherit;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ================================== 支付功能已关闭 ================================== */
.syymw-payment-closed-tip {
  width: 100vw;
  height: 50px;
  background-color: #ff0024;
  color: #fff;
  text-align: center;
  line-height: 50px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  font-size: 20px;
  }
  
  /* 鼠标悬停样式 */
.syymw-payment-closed-tip:hover {
  /* 背景色加深，增强交互反馈 */
  background-color: #000; /* 比原橙色深5%，保持色调统一 */
  /* 增加轻微阴影，提升层次感 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* 底部阴影，模拟"浮起"感 */
  /* 文字微亮，增强可读性（可选） */
  color: #f8f8f8;
}

/* 悬停时，触发图标同步变化（增强整体联动感） */
.syymw-payment-closed-tip:hover .tooltip-icon {
  background: rgba(255, 255, 255, 0.3); /* 图标背景透明度提高 */
  transform: scale(1.1); /* 图标轻微放大，提示可交互 */
  transition: all 0.3s ease; /* 图标变化也添加过渡 */
}
/* ================================== QQ头像 ================================== */
/* 新增：QQ头像通用样式 */
.syymw-qq-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* 圆形头像，匹配原有图标容器风格 */
    display: block;
}
/* 新增：副标题下方QQ资料模块样式（副标题下20px，模块上15px） */
.syymw-qq-profile {
    text-align: center;
    margin-top: 20px; /* 距离副标题20px */
    margin-bottom: 15px; /* 距离三大模块15px */
    padding: 10px 0;
}
.syymw-qq-profile .profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 8px;
    border: 2px solid rgba(255,77,79,0.2); /* 匹配模块图标容器边框风格 */
}
.syymw-qq-profile .profile-nickname {
    background-image: -webkit-linear-gradient(90deg, #07c160, #fb6bea 25%, #3aedff 50%, #fb6bea 75%, #28d079);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-size: 100% 600%;
  font-size: 18px;
  font-weight: 900;
  animation: wzw 10s linear infinite;
}
/* 修复：模块图标容器适配头像（原有60x60尺寸不变0x60尺寸不变） */
@keyframes wzw {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -300%;
  }
}

.syymw-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 防止头像溢出圆形容器 */
}
/* ================================== 主模块与标题 ================================== */
/* 主模块覆盖Banner */
.syymw-container .syymw-main-wrapper {
    position: relative;
    top: -55px; 
    z-index: 5; 
    background: rgba(254, 254, 254, 0.54);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* 核心标题 */
.syymw-main-wrapper .syymw-page-title {
    margin: 80px auto 40px;
    padding: 0;
    text-align: center;
}

.syymw-page-title h1 {
    font-size: 36px;
    color: #353535;
    margin: 0 0 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.syymw-page-title p {
    font-size: 18px;
    color: rgba(66, 66, 66, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}


/* ================================== 服务模块样式 ================================== */
/* 服务模块容器 */
.syymw-main-wrapper .syymw-modules-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    margin: 0 auto 30px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
}

/* 3个服务模块 */
.syymw-modules-container .syymw-service-module {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px 15px;
    width: 90%;
    max-width: 260px;
    height: 380px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.syymw-modules-container .syymw-service-module:hover,
.syymw-modules-container .syymw-service-module[style*="border-color:#4caf50"] {
    border-color: #4caf50;
    transform: translateY(-5px);
}

.syymw-service-module.syymw-relative {
    position: relative;
}

/* 折扣标签 */
.syymw-service-module .syymw-discount-tag {
    position: absolute;
    top: 8px;
    right: -25px;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 32px;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(255,77,79,0.3);
    z-index: 1;
}

/* 图标容器 */
.syymw-service-module .syymw-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255,77,79,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.syymw-icon-container .dashicons {
    font-size: 30px;
    color: #ff4d4f;
}

/* 模块标题与描述 */
.syymw-service-module h3 {
    font-size: 18px;
  color: #ff31cc;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.syymw-service-module p {
    font-size: 14px;
  color: rgba(49, 49, 49, 0.7);
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
  height: 60px;
  overflow: hidden;
  margin-top: 45px;
}

/* 价格样式 */
.syymw-service-module .syymw-price-container {
    position: relative;
    text-align: center;
}

.syymw-price-container .syymw-price-animation {
    font-size: 28px;
    font-weight: bold;
    color: #ff4d4f;
    display: inline-block;
    animation: syymw-pricePulse 2s infinite;
}

.syymw-price-container .syymw-price-tag {
    position: absolute;
    top: 3px;
    right: 48px;
    color: #ffd700;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 0 4px rgba(255,215,0,0.8);
    letter-spacing: 0.3px;
}

/* 已选择标记 */
.syymw-service-module .syymw-selected-marker {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 16px;
    padding: 3px 12px;
    color: #4caf50;
    font-size: 13px;
    z-index: 2;
}

.syymw-selected-marker .dashicons {
    font-size: 26px;
    vertical-align: middle;
}

.syymw-selected-marker span:last-child {
    margin-left: 3px;
}

/* 服务模块内广播滚动（独立样式） */
.syymw-service-module .syymw-broadcast-scroll {
    width: 100%;
    height: 20px;
    overflow: hidden;
    position: absolute;
    bottom: 15px;
    left: 0;
    white-space: nowrap;
    color: #ffd700;
    text-shadow: 0 0 6px rgba(255,215,0,0.6);
}

.syymw-service-module .syymw-broadcast-text {
    position: absolute;
    top: 0;
    right: -100%;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: syymw-scrollLeft 15s linear infinite; /* 复用通用动画 */
}
/* 模块广播文本颜色区分 */
.syymw-service-module[data-service="service_1_group"] .syymw-broadcast-text {
    color: #40a9ff;
    text-shadow: 0 0 6px rgba(64, 169, 255, 0.6);
}
.syymw-service-module[data-service="技术支持"] .syymw-broadcast-text {
    color: #40a9ff;
    text-shadow: 0 0 6px rgba(64, 169, 255, 0.6);
}

.syymw-service-module[data-service="service_2_group"] .syymw-broadcast-text {
    color: #ffd700;
    text-shadow: 0 0 6px rgba(255,215,0,0.6);
}

.syymw-service-module[data-service="service_3_group"] .syymw-broadcast-text {
    color: #d12ebf;
    text-shadow: 0 0 6px rgba(209, 46, 168, 0.6);
}


/* ================================== 购买按钮样式 ================================== */
#syymw-buy-btn {
    /* 基础样式 */
    border: none;
    padding: 14px 30px;
    font-size: 17px;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    /* 动态样式 */
    background: linear-gradient(135deg, #888 0%, #666 100%);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

#syymw-buy-btn span:first-child {
    position: relative;
    z-index: 1;
}

#syymw-buy-btn .syymw-btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.15);
    transform: rotate(30deg);
    transition: all 0.8s ease;
}

/* 按钮激活状态 */
#syymw-buy-btn.syymw-btn-active {
    animation: syymw-btnPulse 2s infinite;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255,77,79,0.4);
}

/* 按钮容器 */
.syymw-main-wrapper .syymw-mb-10 {
    margin-top: 10px;
    margin-bottom: 80px;
    text-align: center;
}

/* 全关状态按钮 */
.syymw-btn-all-closed {
    background: #f0f0f0 !important;
    color: #999 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.syymw-btn-all-closed:hover {
    transform: none !important;
}


/* ================================== 支付弹窗样式 ================================== */
/* 弹窗容器 */
body #syymw-qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 弹窗内容区 */
#syymw-qrcode-modal .syymw-modal-content {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 650px;

    box-sizing: border-box;
}

/* 弹窗关闭按钮 */
.syymw-modal-content .syymw-modal-close {
    text-align: right;
    margin-bottom: 15px;
}

.syymw-modal-close button {
    font-size: 20px;
    cursor: pointer;
    border-radius: 50px;
    padding: 3px 10px;
    border: 1px solid #000;
    background-color: #acacacb2;
}

/* 弹窗标题 */
#syymw-qrcode-modal h3 {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
}

/* 弹窗广播滚动（修复穿出问题） */
.syymw-modal-content .syymw-modal-broadcast {
    margin: 0 0 15px;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    height: auto;
    min-height: 24px;
    overflow: hidden;
}

.syymw-modal-broadcast .syymw-broadcast-scroll {
    width: 100%;
    height: auto;
    max-height: 60px;
    overflow: hidden;
    position: relative;
    white-space: normal;
}

.syymw-broadcast-scroll .syymw-broadcast-text {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.5;
    text-align: center;
    animation: syymw-scrollLeft 15s linear infinite; /* 复用通用动画 */
    color: #fd4040;
}

/* 二维码容器 */
.syymw-modal-content .syymw-qrcode-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 0 20px;
}

.syymw-qrcode-container div {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.syymw-qrcode-container p {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 15px;
}

.syymw-qrcode-container img {
    width: 220px;
    height: 220px;
}

/* 倒计时 */
#syymw-qrcode-modal #syymw-countdown-timer {
    color: #ff4d4f;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 6px rgba(255,77,79,0.6);
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}


/* ================================== 打烊模块样式 ================================== */
.syymw-service-closed {
    filter: grayscale(70%);
    cursor: not-allowed;
    opacity: 0.9;
}

.syymw-closed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.syymw-closed-icon, .syymw-closed-text {
    text-align: center;
}

/* 正常模块hover效果 */
.syymw-service-module:not(.syymw-service-closed):hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}


/* ================================== 黑夜模式适配 ================================== */
[data-bs-theme="dark"] body {
    color: #eee;
    background-color: #121212;
}

[data-bs-theme="dark"] a:hover {
    color: #40c4ff;
}

[data-bs-theme="dark"] body .syymw-page-background {
    background-color: #1a1a1a;
}

[data-bs-theme="dark"] .syymw-container .syymw-main-wrapper {
    background: rgb(36, 36, 36);
    box-shadow: 0 8px 32px rgba(9, 9, 9, 0.5);
}

[data-bs-theme="dark"] .syymw-page-title h1 {
    color: #cecece;
}

[data-bs-theme="dark"] .syymw-page-title p {
    color: #cecece;
}

[data-bs-theme="dark"] .syymw-qq-profile .profile-nickname {
    color: #fff;
    text-shadow: 0 1px 3px rgba(204, 204, 204, 0.91);
    white-space: nowrap;
}
[data-bs-theme="dark"] .syymw-service-module {
    background: rgb(49, 49, 49) !important;
}
[data-bs-theme="dark"] .syymw-service-module h3 {
    color: #dfdfdf;
}
[data-bs-theme="dark"] .syymw-service-module p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 45px;
}

/* ================================== 页脚样式 ================================== */
footer.site-footer,
.site-footer {
    z-index: 2;
    position: absolute;
    width: 100%;
}


/* ================================== 动画定义（通用复用） ================================== */
@keyframes syymw-pricePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes syymw-btnPulse {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-3px); }
}

@keyframes syymw-scrollLeft {
    0% { right: -100%; }
    100% { right: 100%; }
}


/* ================================== 手机端适配 ================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    .syymw-contact-banner-link .syymw-contact-banner-img {
        height: 220px;
    }
   .syymw-service-module .syymw-price-container {
    top: -25px;
    }
    .syymw-container > .syymw-main-wrapper,
    .syymw-container > .syymw-page-title {
        padding: 0 10px;
        width: 90%;
        margin: 0 auto;
    }

    .syymw-top-contact-banner .syymw-contact-banner-text {
        font-size: 14px;
        padding: 8px 16px;
        bottom: 110px;
    }

    .syymw-price-container .syymw-price-tag {
        right: 52px;
    }

    .syymw-main-wrapper .syymw-page-title {
        margin: 50px auto 30px;
    }

    .syymw-page-title h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .syymw-page-title p {
        font-size: 14px;
    }

    .syymw-main-wrapper .syymw-modules-container {
        gap: 10px;
    }

    .syymw-modules-container .syymw-service-module {
        height: auto;
        min-height: 350px;
        max-width: 270px;
        backdrop-filter: blur(8px);
    }

    .syymw-service-module .syymw-broadcast-text {
        font-size: 11px;
        animation-duration: 12s;
    }

    .syymw-main-wrapper #syymw-buy-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    #syymw-qrcode-modal .syymw-qrcode-container {
        gap: 15px;
    }

    #syymw-qrcode-modal img {
        width: 140px;
        height: 140px;
    }

    .syymw-modal-broadcast .syymw-broadcast-text {
        font-size: 12px;
        color: #ff0d0d;
        white-space: nowrap;
    }
    
    #syymw-qrcode-modal .syymw-modal-content {
        padding: unset;
    }

    #syymw-qrcode-modal #syymw-countdown-timer {
        font-size: 14px;
    }

    header.your-menu-class,
    .your-menu-class {
        height: 60px;
    }
}

@media (min-width: 769px) {
    .syymw-main-wrapper .syymw-modules-container {
        flex-direction: row;
    }
    .syymw-page-title h1 {
        font-size: 42px;
    }
}