
.game-detail-container {
    margin: 20px 0;
    max-width: var(--all-width);
    padding: 0 20px;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.game-thumbnail {
    flex-shrink: 0;
}

.game-thumbnail .img-box {
    width: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.game-thumbnail .img-box::before {
    padding-top: 100%;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-title {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.game-category {
    display: inline-block;
    padding: 6px 12px;
    background-color: darkorange;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    align-self: flex-start;
}

/* 游戏控制区域 */
.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.game-controls h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

/* 全屏按钮 */
.fullscreen-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: darkorange;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.fullscreen-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.fullscreen-btn:active {
    transform: translateY(0);
}

.fullscreen-btn svg {
    width: 18px;
    height: 18px;
}

.fullscreen-btn.fullscreen-active {
    background-color: #e74c3c;
}

.fullscreen-btn.fullscreen-active:hover {
    background-color: #c0392b;
}

/* 游戏容器 */
.video-container {
    width: 100%;
    margin: 0;
    max-width: none;
    display: flex;
    height: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
}

iframe {
    flex: 1;
    border: none;
}

/* 全屏状态样式 */
.video-container:fullscreen {
    height: 100vh !important;
    border-radius: 0;
    box-shadow: none;
}

.video-container:-webkit-full-screen {
    height: 100vh !important;
    border-radius: 0;
    box-shadow: none;
}

.video-container:-moz-full-screen {
    height: 100vh !important;
    border-radius: 0;
    box-shadow: none;
}

.video-container:-ms-fullscreen {
    height: 100vh !important;
    border-radius: 0;
    box-shadow: none;
}

/* 全屏提示 */
.fullscreen-tip {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 10000;
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

/* 响应式设计 */
@media screen and (max-width: 769px) {
    .game-detail-container {
        padding: 0 15px;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .game-thumbnail .img-box {
        width: 100px;
        margin: 0 auto;
    }
    
    .game-title {
        font-size: 22px;
    }
    
    .video-container {
        height: 400px;
    }
    
    .game-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .game-controls h2 {
        text-align: center;
        font-size: 20px;
    }
    
    .fullscreen-btn {
        justify-content: center;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .fullscreen-btn svg {
        width: 20px;
        height: 20px;
    }
}