@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif !important;
}

/* 全局滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #38bdf8;
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 4px;
}

body {
    background: #0f172a;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(129, 140, 248, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
    color: #e0e0e0;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* 应用容器 */
#yingyongrongqi {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    animation: containerFadeIn 0.8s ease;
}

/* 容器淡入动画 */
@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 顶部标题 */
.dingbu {
    grid-column: 1 / -1;
    margin-bottom: 16px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 16px;
    border: 1px solid #2d3748;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 半透明背景图片 */
.background-image {
    position: absolute;
    top: -10%;
    right: 0;
    width: 300px;
    height: 200%;
    background: url(地图图片/lx.webp) no-repeat center right / contain;
    opacity: 0.8;
    z-index: 0;
}

.dingbu::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.dingbu:hover::before {
    left: 100%;
}

.biaoti {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.dingbu>div:not(.background-image) {
    position: relative;
    z-index: 2;
}

.biaoti i {
    color: #38bdf8;
    font-size: 28px;
}

.biaoti h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #38bdf8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 左侧导航 */
#zuoce {
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #2d3748;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: fit-content;
    transition: all 0.3s ease;
}

#zuoce:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

#daohanglan {
    display: flex;
    flex-direction: column;
}

.daohang {
    padding: 18px 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: #000000 solid 1px;
    border-top: #000000 solid 1px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.daohang-guanggaowei {
    padding: 18px 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: #000000 solid 1px;
    border-top: #000000 solid 1px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* 导航遮罩，文字更清晰 */
.daohang::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    transition: all 0.3s ease;
}

.daohang:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.daohang>* {
    position: relative;
    z-index: 1;
}

/* 导航栏地图背景 */
.daohang[data-ditu="ygzz"] {
    background: url(地图图片/源工重镇.webp)no-repeat center center / cover;
}

.daohang[data-ditu="ysxs"] {
    background: url(地图图片/隐世修所.webp)no-repeat center center / cover;
}

.daohang[data-ditu="ysdk"] {
    background: url(地图图片/幽邃地窟.webp)no-repeat center center / cover;
}

.daohang[data-ditu="yhkz"] {
    background: url(地图图片/盐海矿镇.webp)no-repeat center center / cover;
}

.daohang[data-ditu="nht"] {
    background: url(地图图片/霓虹町.webp)no-repeat center center / cover;
}

.daohang[data-ditu="yhxc"] {
    background: url(地图图片/亚海悬城.webp)no-repeat center center / cover;
}

.daohang[data-ditu="shmz"] {
    background: url(地图图片/深海明珠.webp)no-repeat center center / cover;
}

.daohang[data-ditu="wfdy"] {
    background: url(地图图片/微风岛屿.webp)no-repeat center center / cover;
}

.daohang[data-ditu="rlzc"] {
    background: url(地图图片/日落之城.webp)no-repeat center center / cover;
}

.daohang[data-ditu="lhgc"] {
    background: url(地图图片/莲华古城.webp)no-repeat center center / cover;
}

.daohang[data-ditu="lbxg"] {
    background: url(地图图片/裂变峡谷.webp)no-repeat center center / cover;
}

.daohang[data-ditu="shdg"] {
    background: url(地图图片/森寒冬港.webp)no-repeat center center / cover;
}

.daohang:hover {
    border-left-color: #38bdf8;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.daohang.xs {
    border-left-color: #07b5ff;
    background-color: rgba(56, 189, 248, 0.15);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.daohang span {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 2px #000;
    transition: all 0.3s ease;
}

.daohang:hover span {
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 4px rgba(56, 189, 248, 0.5);
}

.daohang::before {
    content: "\f041";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    color: #ffecec;
    font-size: 14px;
    transition: all 0.3s ease;
}

.daohang:hover::before {
    color: #38bdf8;
    transform: scale(1.2);
}

.daohang.xs::before {
    color: #00ffdd;
}

/* 右侧主体内容 */
#youce {
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #2d3748;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 28px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

#youce::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.dituming {
    display: none;
    animation: fadeIn 0.6s ease;
}

.dituming.xs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 箭种分类容器 */
.jianzhong-fenlei {
    background: linear-gradient(135deg, #27273a, #1e293b);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #363652;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}



.jianzhong-fenlei:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: #38bdf8;
}

.jianzhong-fenlei h2 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    transition: all 0.3s ease;
}

.jianzhong-fenlei:hover h2 {
    color: #38bdf8;
}

.jianzhong-fenlei h2::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
}

.jianzhong-fenlei:hover h2::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* 各类箭种的颜色标识 */
.jinong-dianji h2::before {
    background: #f59e0b;
    /* 进攻电击箭 - 橙色 */
}

.jinong-tance h2::before {
    background: #10b981;
    /* 进攻探测箭 - 绿色 */
}

.fangshou-dianji h2::before {
    background: #ef4444;
    /* 防守电击箭 - 红色 */
}

.fangshou-tance h2::before {
    background: #6366f1;
    /* 防守探测箭 - 紫色 */
}

/* 点位列表样式 */
.dianwei-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.dianwei-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #33334d;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.dianwei-item:hover {
    background: #38bdf8;
    color: #0f172a;
    font-weight: 500;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.4);
    border-color: #38bdf8;
}

.dianwei-item a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

/* 响应式适配 */
@media (max-width: 992px) {
    #yingyongrongqi {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #zuoce {
        margin-bottom: 20px;
    }

    .biaoti h1 {
        font-size: 28px;
    }

    .background-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 200%;
        background: url(地图图片/lx.webp) no-repeat center right / contain;
        opacity: 0.3;
        z-index: 0;
    }
}

@media (max-width: 576px) {
    #youce {
        padding: 20px;
    }

    .daohang {
        padding: 16px 20px;
    }

    .dingbu {
        padding: 16px 20px;
    }

    .dianwei-list {
        grid-template-columns: 1fr;
    }

    .biaoti h1 {
        font-size: 24px;
    }

    .background-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 200%;
        background: url(地图图片/lx.webp) no-repeat center right / contain;
        opacity: 0.1;
        z-index: 0;
    }
}

/* 打赏按钮和弹窗样式 */
.dashang-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e67474, #ec4545);
    color: rgb(255, 250, 250);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 6px 12px rgba(221, 145, 145, 0.3);
    margin-top: 12px;
}

.dashang-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #ec4545, #dc2626);
}

/* 弹窗遮罩层 */
.dashang-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 弹窗容器 */
.dashang-popup {
    background: #1e293b;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    width: 90%;
    max-width: 600px;
    border: 1px solid #363652;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* 弹窗关闭按钮 */
.close-popup {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #33334d;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close-popup:hover {
    background: #ef4444;
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

/* 二维码容器 */
.qrcode-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
}

/* 二维码图片样式 */
.qrcode-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.qrcode-item:hover {
    transform: translateY(-4px);
}

.qrcode-item img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 2px solid #363652;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.qrcode-item img:hover {
    transform: scale(1.05);
    border-color: #38bdf8;
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.3);
}

.qrcode-item p {
    margin-top: 12px;
    font-size: 14px;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.qrcode-item:hover p {
    color: #38bdf8;
}

/* 禁止选中文字 */
body {
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .dituming.xs {
        animation: fadeIn 0.6s ease;
    }
}

/* 版权水印 */
body::after {
    content: "© 抖音：点位备忘录（无畏契约）";
    position: fixed;
    bottom: 16px;
    right: 16px;
    opacity: 0.2;
    font-size: 12px;
    z-index: 999;
    pointer-events: none;
}

/* 标题容器通用样式 */
.title-wrapper {
    position: relative;
    margin: -15px 1px 20px -25px;
    padding: 0 10px;
}

/* 探测箭标题样式 */
.tance-jian-title h4 {
    font-size: 19px;
    font-weight: 600;
    color: #93c5fd;
    /* 适配暗黑的浅蓝，贴合探测箭主题 */
    padding: 12px 20px;
    background: linear-gradient(135deg, #1e3a8a, #1e293b);
    /* 深蓝渐变，贴合整体暗黑风格 */
    border-left: 4px solid #38bdf8;
    /* 复用全局主色 */
    border-radius: 12px;
    /* 统一全局圆角规范 */
    margin: 0;
    box-shadow: 0 4px 8px rgba(56, 189, 248, 0.2);
    /* 适配暗黑阴影 */
    border: 1px solid #2d3748;
    /* 统一边框样式 */
}



/* 电击箭标题样式 */
.dianji-jian-title h4 {
    font-size: 19px;
    font-weight: 600;
    color: #fca5a5;
    /* 适配暗黑的浅红，贴合电击箭主题 */
    padding: 12px 20px;
    background: linear-gradient(135deg, #7f1d1d, #1e293b);
    /* 深红渐变，贴合整体暗黑风格 */
    border-left: 4px solid #ef4444;
    /* 适配暗黑的红色系 */
    border-radius: 12px;
    /* 统一全局圆角规范 */
    margin: 0;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.2);
    /* 适配暗黑阴影 */
    border: 1px solid #2d3748;
    /* 统一边框样式 */
}



/* 响应式适配（与原文件响应式逻辑对齐） */
@media (max-width: 768px) {

    .tance-jian-title h4,
    .dianji-jian-title h4 {
        font-size: 17px;
        padding: 10px 16px;
    }
}

/* 探测箭图标样式 */
.tctb {
    width: 22px;
    /* 宽度调整 */
    height: 22px;
    /* 高度调整 */
    vertical-align: middle;
    /* 和文字居中对齐，更好看 */
    margin-right: 10px;
    margin-bottom: 3px;
}



/* 电击箭图标样式 */
.djtb {
    width: 22px;
    /* 宽度调整 */
    height: 22px;
    /* 高度调整 */
    vertical-align: middle;
    /* 和文字居中对齐，更好看 */
    margin-right: 10px;
    margin-bottom: 3px;
}