/* 科技感蓝色酒店色调变量 */
:root {
    --primary-blue: #2979ff;
    --secondary-blue: #448aff;
    --glow-blue: #00b0ff;
    --light-blue: #82b1ff;
    --dark-blue: #0d47a1;
    --deep-blue: #001970;
    --accent-silver: #b0bec5;
    --dark-bg: #0c0c14;
    --card-bg: rgba(20, 25, 45, 0.85);
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --border-glow: rgba(41, 121, 255, 0.4);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 禁止右键菜单 */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 科技感背景 - 蓝色酒店风格 */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(41, 121, 255, 0.05) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(rgba(0, 176, 255, 0.05) 1px, transparent 1px) 0 0 / 50px 50px;
    opacity: 0.3;
}

.glow-spot-blue {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 20%;
    right: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: floatGlow 20s ease-in-out infinite alternate;
}

.glow-spot-cyan {
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: 15%;
    left: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 176, 255, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    animation: floatGlow 25s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -30px) scale(1.1); }
}

.floating-hotel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hotel-element {
    position: absolute;
    color: rgba(41, 121, 255, 0.15);
    font-size: 20px;
    opacity: 0;
    animation: floatHotel 20s linear infinite;
    text-shadow: 0 0 10px rgba(0, 176, 255, 0.3);
}

@keyframes floatHotel {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* 页面标题区域 - 科技感蓝色酒店设计 */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, 
        rgba(20, 25, 45, 0.9) 0%, 
        rgba(25, 35, 60, 0.9) 50%, 
        rgba(20, 25, 45, 0.9) 100%);
    color: var(--text-light);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 30px rgba(41, 121, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(41, 121, 255, 0.1) 45%, 
        rgba(68, 138, 255, 0.2) 50%, 
        rgba(41, 121, 255, 0.1) 55%, 
        transparent 70%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.page-title:before,
.page-title:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glow-blue));
}

.page-title:before {
    left: -60px;
}

.page-title:after {
    right: -60px;
    background: linear-gradient(90deg, var(--glow-blue), transparent);
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glow-blue), var(--light-blue), transparent);
}

.title-highlight {
    background: linear-gradient(135deg, var(--glow-blue), #2979ff, #82b1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    text-shadow: 0 0 20px rgba(0, 176, 255, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-gray);
}

/* Logo样式 */
.logo {
    text-align: center;
    padding: 20px 0 30px;
}

.logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(41, 121, 255, 0.3));
}

/* 视频容器 - 科技感蓝色酒店设计 */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0 50px;
}

.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    cursor: pointer;
}

.video-item:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(41, 121, 255, 0.1) 45%, 
        rgba(68, 138, 255, 0.2) 50%, 
        rgba(41, 121, 255, 0.1) 55%, 
        transparent 70%);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.video-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--glow-blue);
    box-shadow: 
        0 20px 40px rgba(41, 121, 255, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(41, 121, 255, 0.15);
}

.video-item:hover:before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

video {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid var(--border-glow);
    transition: transform 0.6s ease;
}

.video-item:hover video {
    transform: scale(1.05);
}

.video-info {
    padding: 20px;
    background: rgba(20, 25, 45, 0.9);
    border-radius: 0 0 15px 15px;
    position: relative;
}

.video-info:before {
    content: '🏨';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--text-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(0, 176, 255, 0.5);
    z-index: 2;
}

.video-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 400;
    text-align: center;
    position: relative;
    padding-top: 10px;
}

.video-title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--light-blue), transparent);
}

.video-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

/* 导航按钮区域 */
.navigation-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px auto;
    max-width: 1000px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    background: linear-gradient(135deg, 
        rgba(20, 25, 45, 0.9) 0%, 
        rgba(15, 20, 35, 0.9) 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 400;
    transition: var(--transition-smooth);
    box-shadow: 
        4px 4px 15px rgba(0, 0, 0, 0.6),
        -4px -4px 15px rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 25px rgba(41, 121, 255, 0.1);
    border: 1px solid var(--border-glow);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    min-width: 150px;
}

.nav-btn:hover {
    color: #e3f2fd;
    border-color: var(--glow-blue);
    transform: translateY(-5px);
    box-shadow: 
        6px 6px 25px rgba(0, 0, 0, 0.8),
        -6px -6px 25px rgba(255, 255, 255, 0.1),
        inset 0 0 35px rgba(41, 121, 255, 0.15),
        0 0 30px rgba(41, 121, 255, 0.3);
}

.nav-btn:active {
    transform: translateY(-2px);
}

.nav-btn i {
    color: var(--glow-blue);
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* 上一页按钮图标样式 */
.page-btn:first-child i {
    margin-right: 12px;
}

/* 下一页按钮图标样式 */
.page-btn:last-child i {
    margin-left: 12px;
}

/* 返回主目录按钮图标样式 */
.home-btn i {
    margin-right: 12px;
}

.nav-btn:hover i {
    transform: scale(1.2);
}

.page-btn:first-child:hover i {
    transform: translateX(-5px) scale(1.2);
}

.page-btn:last-child:hover i {
    transform: translateX(5px) scale(1.2);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(41, 121, 255, 0.15), 
        transparent);
    transition: left 0.8s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

/* 返回主目录按钮特殊样式 */
.home-btn {
    background: linear-gradient(135deg, 
        rgba(25, 35, 60, 0.9) 0%, 
        rgba(30, 45, 75, 0.9) 100%);
    border-color: rgba(0, 176, 255, 0.6);
    box-shadow: 
        4px 4px 15px rgba(0, 0, 0, 0.6),
        -4px -4px 15px rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 25px rgba(41, 121, 255, 0.2);
    min-width: 180px;
}

.home-btn:hover {
    box-shadow: 
        6px 6px 25px rgba(0, 0, 0, 0.8),
        -6px -6px 25px rgba(255, 255, 255, 0.1),
        inset 0 0 35px rgba(41, 121, 255, 0.25),
        0 0 30px rgba(0, 176, 255, 0.5);
}

/* 装饰元素 */
.decoration {
    position: absolute;
    z-index: -1;
    opacity: 0.15;
    color: var(--primary-blue);
    text-shadow: 0 0 20px var(--glow-blue);
}

.decoration-1 {
    top: 15%;
    left: 5%;
    font-size: 5rem;
    animation: pulseGlow 4s ease-in-out infinite;
}

.decoration-2 {
    bottom: 15%;
    right: 5%;
    font-size: 5rem;
    animation: pulseGlow 4s ease-in-out infinite 2s;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.1); }
}

/* 酒店元素 */
.hotel {
    position: absolute;
    z-index: -1;
    opacity: 0.08;
    color: var(--light-blue);
    font-size: 7rem;
    text-shadow: 0 0 30px rgba(130, 177, 255, 0.3);
}

.hotel-1 {
    top: 20%;
    left: 10%;
    transform: rotate(30deg);
    animation: floatHotelIcon 8s ease-in-out infinite;
}

.hotel-2 {
    bottom: 20%;
    right: 10%;
    transform: rotate(-20deg);
    animation: floatHotelIcon 10s ease-in-out infinite 1s;
}

@keyframes floatHotelIcon {
    0%, 100% { transform: rotate(30deg) translateY(0); }
    50% { transform: rotate(35deg) translateY(-20px); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-title:before,
    .page-title:after {
        width: 20px;
    }
    
    .page-title:before {
        left: -35px;
    }
    
    .page-title:after {
        right: -35px;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 30px;
        font-size: 1rem;
        min-width: 0;
    }
    
    .home-btn {
        order: 1;
    }
    
    .page-btn:first-child {
        order: 2;
    }
    
    .page-btn:last-child {
        order: 3;
    }
    
    .decoration, .hotel {
        display: none;
    }
    
    .glow-spot-blue,
    .glow-spot-cyan {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .video-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navigation-buttons {
        padding: 0 20px;
    }
}

@media (min-width: 1200px) {
    .video-container {
        grid-template-columns: repeat(3, 1fr);
    }
}