/* =============================================
 * 全局颜色变量 - 在这里修改主题色
 * ============================================= */
:root {
    /* 主题色：卡片边框、按钮、文字背景等 */
    --theme-color: rgba(255, 107, 107, 0.6);  /* 当前是红色，可以改成其他颜色 */
    --theme-color-solid: #ff6b6b;              /* 实色版本 */
    --theme-color-hover: rgba(255, 107, 107, 0.8); /* 悬停时的颜色 */
    --theme-color-bg: rgba(255, 107, 107, 0.75);   /* 背景色 */
    --theme-color-dark: rgba(214, 48, 49, 0.8);    /* 深色版本 */
}

/*
使用示例：
- 蓝色系：rgba(33, 150, 243, 0.6) 和 #2196F3
- 绿色系：rgba(76, 175, 80, 0.6) 和 #4CAF50
- 紫色系：rgba(156, 39, 176, 0.6) 和 #9C27B0
- 橙色系：rgba(255, 152, 0, 0.6) 和 #FF9800
- 青色系：rgba(0, 188, 212, 0.6) 和 #00BCD4
*/

/* =============================================
 * 第一屏：标题页
 * ============================================= */
.screen-title {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
    max-width: 50vh;
    max-height: 50vw;
    width: auto;
    height: auto;
}

.logo {
    position: absolute;
    top: 9%;
    right: -3%;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
    max-width: 10vh;
    max-height: auto;
    width: auto;
    height: auto;
}

/* =============================================
 * 内容页
 * ============================================= */
.screen-content {
    width: 100vw;
    height: 100vh;
    /* background: rgba(0, 0, 0, 0.3); */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.wbk-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
    max-width: none;
    max-height: 91vw;
    width: auto;
    height: auto;
}
/* =============================================
 * 线路页
 * ============================================= */

.screen-content-2 {
    width: 100vw;
    height: 500vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* 防止子元素视觉溢出 */
    margin-top: 20vh;
}


.wbk-container-2 {
    position: absolute;
    inset: 0;
}

.wbk-image-2 {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 93%;
    width: auto;
    height: auto;
}

.wbk-image-zhuti {
    position: absolute;
    left: 50%;
    top: 4%;
    max-width: 13%;
    max-height: 77%;
    width: auto;
    height: auto;
}

.wbk-image-tuding-1{
    position: absolute;
    left: 42%;
    top: 19%;
    max-width: 33%;
    max-height: 77%;
    width: auto;
    height: auto;
}

.wbk-image-xuehua{
    position: absolute;
    left: 2%;
    top: 16%;
    max-width: 63%;
    max-height: 77%;
    width: auto;
    height: auto;
}

.wbk-image-huaxue{
    position: absolute;
    left: -3%;
    top: 21%;
    max-width: 80%;
    max-height: 77%;
    width: auto;
    height: auto;
}

.wbk-image-tuding-2{
    position: absolute;
    left: 66%;
    top: 46%;
    max-width: 33%;
    max-height: 77%;
    width: auto;
    height: auto;
}

.wbk-image-meishi{
    position: absolute;
    left: 4%;
    top: 41%;
    max-width: 78%;
    max-height: 77%;
    width: auto;
    height: auto;
}


.wbk-image-tuding-3{
    position: absolute;
    left: 32%;
    top: 68%;
    max-width: 33%;
    max-height: 77%;
    width: auto;
    height: auto;
}

.wbk-image-renwu{
    position: absolute;
    left: 7%;
    top: 70.5%;
    max-width: 68%;
    max-height: 77%;
    width: auto;
    height: auto;
}


.wbk-image-shizi{
    position: absolute;
    left: 31%;
    top: 75%;
    max-width: 59%;
    max-height: 77%;
    width: auto;
    height: auto;
}

 /* 文字1 */
.bingxue-text-anchor{
    position: absolute;
    left: 64%;
    top: 23%;
    z-index: 8;
    pointer-events: none;

}
 /* 文字2 */
.nianwei-text-anchor{
    position: absolute;
    left: 22%;
    top: 47%;
    z-index: 8;
    pointer-events: none;

}
 /* 文字3 */
.feyi-text-anchor {
    position: absolute;
    left: 71%;
    top: 66%;
    z-index: 8;
    pointer-events: none;
}

 /* 文字4 */
.tianyuan-text-anchor{
    position: absolute;
    left: 56%;
    top: 90%;
    z-index: 8;
    pointer-events: none;

}

.feyi-text-rotated {
    /* 关键：整块顺时针旋转90度 */
    transform-origin: left top;
    transform: rotate(90deg) translateY(-100%);
    width: 58vh;               /* 控制旋转后“竖向长度” */
    max-width: 82vh;           /* 防止超父容器 */
    color: #111;
}

.feyi-title {
    margin: 0 0 12px 0;
    font-size: clamp(12px, 4.5vw, 52px);
    font-weight: 600;
    line-height: 2.1;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.feyi-body {
    margin: 0;
    font-size: clamp(15px, 2.8vw, 30px);
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    max-width: 24em;

}


.wbk-image-tuding-4{
    position: absolute;
    left: 57%;
    top: 88%;
    max-width: 33%;
    max-height: 77%;
    width: auto;
    height: auto;
}



/* =============================================
 * 播放器卡片区域
 * ============================================= */
.screen-players {
    width: 100vw;
    min-height: 600vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.player-card {
    position: absolute;
    width: 38vh;
    height: 29vh;
    cursor: pointer;
    transform-origin: left top;
    transform: rotate(90deg);
}

/* 每个卡片的位置 - 从上到下垂直排列，可以单独微调 left 和 top */
.player-card-1 {
    left: 91%;
    top: 2%;
}

.player-card-2 {
    left: 71%;
    top: 10%;
}

.player-card-3 {
    left: 91%;
    top: 18%;
}

.player-card-4 {
    left: 71%;
    top: 26%;
}

.player-card-5 {
    left: 91%;
    top: 34%;
}

.player-card-6 {
    left: 71%;
    top: 42%;
}

.player-card-7 {
    left: 91%;
    top: 50%;
}

.player-card-8 {
    left: 71%;
    top: 58%;
}

.player-card-9 {
    left: 91%;
    top: 66%;
}

.player-card-10 {
    left: 71%;
    top: 74%;
}

.player-card-11 {
    left: 91%;
    top: 82%;
}

.player-card-12 {
    left: 71%;
    top: 90%;
}
.player-card,
.player-card * {
    -webkit-tap-highlight-color: transparent; /* 去掉移动端蓝色点击高亮 */
}

.player-card:focus,
.player-card:focus-visible,
.player-card:active {
    outline: none;
}

/* 微妙的卡通风格边框 */
.player-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    /* 圆角 + 微妙的切角效果 */
    border-radius: 16px;
    overflow: hidden;
    /* 彩色边框 */
    border: 3px solid transparent;
    background-clip: padding-box;
    /* 渐变边框效果 - 使用主题色变量 */
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 6px var(--theme-color),
        0 6px 20px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

/* 悬停时轻微上浮 */
.player-card:hover .player-card-inner {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 6px var(--theme-color-hover),
        0 8px 25px rgba(0, 0, 0, 0.2);
}

.player-card.is-pressing .player-card-inner {
    animation: card-squash-pop 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes card-squash-pop {
    0%   { transform: scale(1, 1); }
    35%  { transform: scale(1.10, 0.90); }  /* 挤压 */
    70%  { transform: scale(0.98, 1.02); }  /* 回弹 */
    100% { transform: scale(1.06, 1.06); }  /* 放大 */
}


.player-thumbnail {
    position: relative;
    width: 100%;
    height: 100%; /* 整张卡片都显示图片 */
    overflow: hidden;
    /* 内阴影营造层次感 */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.player-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 整图灰色滤镜 - 减弱一些让图片更清晰 */
.player-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(60, 60, 60, 0.35); /* 数值越大越灰 */
    z-index: 1;
    pointer-events: none;
}

/* 简洁的卡通风格播放按钮 */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, var(--theme-color-solid), #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    z-index: 3;
    pointer-events: none;
    /* 简洁的阴影 - 使用主题色变量 */
    box-shadow:
        0 4px 0 var(--theme-color-dark),
        0 6px 15px rgba(0, 0, 0, 0.3);
}

/* 播放按钮内部小三角 */
.play-icon::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
}



/* 取消底部灰条，改成整卡居中文字 */
.player-info {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: flex-end; /* 改为底部对齐 */
    justify-content: center;
    padding: 0 0 20px 0; /* 底部留出间距 */
    z-index: 2;
}

.company-name {
    color: #fff;
    font-size: clamp(14px, 2.8vw, 22px);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
    /* 清晰的文字阴影 */
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    /* 半透明背景条 - 使用主题色变量 */
    background: var(--theme-color-bg);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}



/* =============================================
 * 弹窗样式 - 卡通剪纸风格
 * ============================================= */
.player-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.player-modal.active {
    display: flex;
}

/* 弹窗内容 - 微妙的卡通风格 */
.modal-content {
    width: 80vh;
    max-width: 90vw;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    /* 彩色边框 - 使用主题色变量 */
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 8px var(--theme-color),
        0 10px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(90deg);
    transform-origin: center center;
    position: relative;
}

/* 移除装饰角标，保持简洁 */
.modal-content::before,
.modal-content::after {
    display: none;
}

.modal-video {
    width: 100%;
    height: auto;
    display: block;
}

.modal-info {
    padding: 12px 15px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.modal-desc {
    width: 100%;
    font-size: clamp(12px, 2vw, 16px);
    color: #333;
    line-height: 1.6;
    /* 简洁的分隔线 - 使用主题色变量 */
    border-bottom: 2px solid var(--theme-color);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.modal-contact {
    font-size: clamp(11px, 1.8vw, 14px);
    color: var(--theme-color-solid);
    font-weight: 600;
}

.modal-phone {
    font-size: clamp(11px, 1.8vw, 14px);
    color: #4ecdc4;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    /* 简洁的圆形按钮 - 使用主题色变量 */
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    background: var(--theme-color-hover);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
    background: var(--theme-color-solid);
}

.modal-close:active {
    transform: scale(0.95);
}



/* =============================================
 * 占位区域
 * ============================================= */
.placeholder-spacer {
    width: 100vw;
    height: 50vh;
}

