/* ============================================
   東京高級派對 - 優化された高級スタイルシート
   ============================================ */

/* 基础重置与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    background: #0a0a0b;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    /* 只防止水平滚动弹性，允许垂直滚动 */
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 防止移动端缩放，但允许正常滚动 */
body, html {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 移除touch-action限制，允许垂直滚动 */
}

/* 可选择的文本元素 */
.performer-name,
.description-content,
.info-value,
.real-name {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ============================================
   背景装饰系统
   ============================================ */

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.03;
    background:
            radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(244, 228, 188, 0.08) 0%, transparent 60%);
    background-size: 100% 100%, 80% 80%, 120% 120%;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
        opacity: 0.03;
    }
    50% {
        background-position: 10% 10%, 90% 90%, 60% 40%;
        opacity: 0.05;
    }
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M40 40l20-20v40l-20-20z'/%3E%3Cpath d='M40 40l-20-20v40l20-20z'/%3E%3Cpath d='M20 40l20-20h-40l20 20z'/%3E%3Cpath d='M60 40l20-20h-40l20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

/* ============================================
   导航栏系统
   ============================================ */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.back-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 50%, #c9a96e 100%);
    color: #0a0a0b;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
            0 4px 14px rgba(212, 175, 55, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.back-btn:hover::before {
    left: 100%;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow:
            0 8px 25px rgba(212, 175, 55, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.back-btn .icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.back-btn:hover .icon {
    transform: translateX(-2px);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, #d4af37, #f4e4bc, #d4af37, #c9a96e);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: logoShimmer 3s ease-in-out infinite;
}

@keyframes logoShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #d4af37;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #51cf66;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(81, 207, 102, 0.5);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* ============================================
   主容器布局
   ============================================ */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 32px 80px;
    min-height: 100vh;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ============================================
   媒体展示区域
   ============================================ */

.media-showcase {
    position: sticky;
    top: 140px;
    z-index: 10;
}

.main-display {
    position: relative;
    width: 85%;
    max-width: 450px;
    margin: 0 auto;
    /* 调整宽高比，让图片更窄更长 */
    aspect-ratio: 2/3;
    min-height: 500px;
    max-height: 75vh;
    background: linear-gradient(145deg, #1a1a1c, #0f0f10);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(212, 175, 55, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-display:hover {
    box-shadow:
            0 30px 70px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(212, 175, 55, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.media-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-media:hover {
    transform: scale(1.05);
}

.no-main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2a2a2c, #1f1f20);
    color: #666;
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    color: #444;
    display: block;
    margin-bottom: 16px;
    animation: placeholderFloat 3s ease-in-out infinite;
}

.placeholder-text {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

@keyframes placeholderFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(180deg); }
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 40px 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 5;
}

.media-info {
    color: #d4af37;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-icon {
    font-size: 18px;
    animation: iconSparkle 2s ease-in-out infinite;
}

@keyframes iconSparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.5));
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8));
    }
}

.media-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fullscreen-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.fullscreen-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
}

/* ============================================
   缩略图导航系统 - 圆形导航
   ============================================ */

.thumbnails-container {
    margin-top: 32px;
}

.thumbnails-wrapper {
    position: relative;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.thumbnails {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px;
    background: rgba(26, 26, 28, 0.6);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    /* 隐藏滚动条但保持功能 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.thumb-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #1a1a1c, #0f0f10);
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 活跃状态的缩略图 */
.thumb-item.active .thumb-wrapper {
    border: 3px solid #d4af37;
    box-shadow:
            0 0 0 2px rgba(212, 175, 55, 0.2),
            0 8px 25px rgba(212, 175, 55, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.15);
}

.thumb-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: activeRing 2s ease-in-out infinite;
}

@keyframes activeRing {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* 悬停效果 */
.thumb-item:hover .thumb-wrapper {
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.08);
    box-shadow:
            0 6px 20px rgba(212, 175, 55, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.thumb-item:not(.active):hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: hoverRipple 0.6s ease-out;
}

@keyframes hoverRipple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 140%;
        height: 140%;
        opacity: 0;
    }
}

.thumb-img, .thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    display: block;
}

.thumb-item:hover .thumb-img,
.thumb-item:hover .thumb-video {
    transform: scale(1.1);
}

/* 确保视频缩略图正确显示 */
.thumb-video {
    background: #000;
}

/* 修复视频缩略图加载问题 */
.thumb-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.thumb-type {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    color: #0a0a0b;
    padding: 4px;
    border-radius: 50%;
    font-size: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a0a0b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.thumb-type span {
    font-size: 10px;
}

/* ============================================
   信息展示区域
   ============================================ */

.info-showcase {
    padding: 20px 0;
}

.performer-card {
    background: linear-gradient(145deg, #1a1a1c, #0f0f10);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.performer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.performer-header {
    text-align: center;
}

.type-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.type-amateur {
    background: linear-gradient(135deg, #ff6b9d, #ff8cc8);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

.type-professional {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
}

.performer-name {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 25%, #f4e4bc 50%, #d4af37 75%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: nameGlow 4s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.real-name {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 300;
}

.real-name .label {
    font-weight: 500;
    color: #d4af37;
}

.name-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    gap: 16px;
}

.divider-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.divider-icon {
    color: #d4af37;
    font-size: 16px;
    animation: dividerSparkle 3s ease-in-out infinite;
}

@keyframes dividerSparkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* ============================================
   信息卡片系统
   ============================================ */

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.info-card {
    background: linear-gradient(145deg, #1a1a1c, #0f0f10);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.card-header {
    padding: 24px 28px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 228, 188, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-title {
    color: #d4af37;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 20px 28px 28px;
}

/* 基本信息网格 */
.info-grid {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background: rgba(212, 175, 55, 0.03);
    margin: 0 -12px;
    padding: 14px 12px;
    border-radius: 8px;
}

.info-label {
    color: #bbb;
    font-size: 15px;
    font-weight: 400;
    flex: 1;
}

.info-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    text-align: right;
    flex: 1;
}

/* 特殊标签样式 */
.grade-badge {
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    color: #0a0a0b;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.code-badge {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

/* 服务信息样式 */
.service-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-label {
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
}

.service-period, .service-time {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.date-tag, .time-tag {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 228, 188, 0.1));
    color: #d4af37;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.start-date {
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.15), rgba(64, 192, 87, 0.1));
    color: #51cf66;
    border-color: rgba(81, 207, 102, 0.2);
}

.end-date {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(255, 140, 200, 0.1));
    color: #ff6b9d;
    border-color: rgba(255, 107, 157, 0.2);
}

.date-separator, .time-separator {
    color: #d4af37;
    font-weight: bold;
    font-size: 14px;
}

.special-tag {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(255, 140, 200, 0.1));
    color: #ff6b9d;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255, 107, 157, 0.2);
    display: inline-block;
}

/* 描述内容 */
.description-content {
    line-height: 1.8;
    color: #ddd;
    font-size: 16px;
    font-weight: 300;
}

.description-content p {
    margin-bottom: 16px;
}

/* ============================================
   联系按钮
   ============================================ */

.contact-section {
    text-align: center;
    padding: 24px 0;
}

.contact-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 25%, #d4af37 50%, #c9a96e 75%, #d4af37 100%);
    background-size: 300% 300%;
    border: none;
    padding: 20px 48px;
    border-radius: 28px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
            0 12px 35px rgba(212, 175, 55, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: contactGlow 4s ease-in-out infinite;
}

@keyframes contactGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.contact-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
            0 20px 50px rgba(212, 175, 55, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0a0a0b;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 20px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.contact-btn:hover .btn-shine {
    left: 100%;
}

/* ============================================
   全屏查看器
   ============================================ */

.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.fullscreen-viewer.active {
    opacity: 1;
}

.viewer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.viewer-container {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2001;
}

.viewer-close {
    position: absolute;
    top: -80px;
    right: 0;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.viewer-close:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
}

.viewer-content {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    max-width: 100%;
    max-height: 80vh;
}

.viewer-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-media img,
.viewer-media video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.viewer-controls {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.control-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
}

.media-counter {
    background: rgba(212, 175, 55, 0.15);
    padding: 14px 24px;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 16px;
    font-weight: 500;
    color: #d4af37;
    backdrop-filter: blur(10px);
}

/* ============================================
   自定义视频播放器
   ============================================ */

.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 0;
    overflow: hidden;
}

.custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

.custom-video::-webkit-media-controls-panel,
.custom-video::-webkit-media-controls-play-button,
.custom-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 8;
}

.video-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.video-play-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #0a0a0b;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.video-overlay:hover .video-play-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.custom-video-player:hover .video-controls {
    transform: translateY(0);
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 1200px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .media-showcase {
        position: static;
    }

    .main-display {
        max-width: 400px;
        min-height: 450px;
        max-height: 65vh;
    }

    .thumbnails {
        gap: 14px;
    }

    .thumb-item {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 20px;
        height: 50px;
    }

    .logo-text {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .back-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .main-container {
        padding: 100px 20px 60px;
    }

    .detail-layout {
        gap: 40px;
    }

    .main-display {
        width: 90%;
        max-width: 350px;
        min-height: 400px;
        max-height: 55vh;
    }

    .performer-card {
        padding: 32px 24px;
    }

    .performer-name {
        font-size: 2rem;
    }

    .info-card {
        margin: 0 -8px;
    }

    .card-header {
        padding: 20px 24px 0;
    }

    .card-content {
        padding: 16px 24px 24px;
    }

    .thumbnails {
        gap: 12px;
        padding: 10px;
    }

    .thumb-item {
        width: 56px;
        height: 56px;
    }

    .thumb-type {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .thumb-type span {
        font-size: 8px;
    }

    .contact-btn {
        padding: 16px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 90px 16px 50px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .main-display {
        width: 95%;
        max-width: 300px;
        min-height: 350px;
        max-height: 50vh;
    }

    .performer-card {
        padding: 24px 20px;
        margin: 0 -4px;
    }

    .card-header {
        padding: 16px 20px 0;
    }

    .card-content {
        padding: 12px 20px 20px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 0;
    }

    .info-value {
        text-align: left;
    }

    .service-period,
    .service-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .thumbnails {
        gap: 10px;
        padding: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .thumb-item {
        width: 48px;
        height: 48px;
    }

    .thumb-type {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }

    .thumb-type span {
        font-size: 7px;
    }

    .contact-btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .viewer-close {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -60px;
    }

    .control-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .viewer-controls {
        gap: 16px;
        margin-top: 24px;
    }
}

/* ============================================
   滚动条和选择样式
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #c9a96e);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f4e4bc, #d4af37);
}

::selection {
    background: rgba(212, 175, 55, 0.25);
    color: #ffffff;
}

/* ============================================
   动画和过渡效果
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-switching {
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.media-switching .main-media,
.media-switching .custom-video {
    transform: scale(0.98);
    transition: transform 0.3s ease;
}

/* ============================================
   性能优化
   ============================================ */

.main-media,
.thumb-img,
.thumb-video {
    will-change: transform;
}

.thumbnails {
    /* 优化滚动性能 */
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
}

/* 减少重绘 */
.info-card,
.performer-card,
.main-display {
    contain: layout style;
}

/* ============================================
   缩略图导航系统 - 固定5个显示，左右滑动
   ============================================ */

.thumbnails-container {
    margin-top: 32px;
}

.thumbnails-wrapper {
    position: relative;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.thumbnails {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 20px;
    background: rgba(26, 26, 28, 0.6);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* 固定宽度，最多显示5个缩略图 */
    width: 400px;
    max-width: 90vw;
    overflow-x: auto;
    overflow-y: hidden;
    /* 隐藏滚动条但保持功能 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 优化滚动性能 */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}