/* 游戏风格主题样式 - 与 admin.php 一致 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面背景设置 */
html, body {
    height: 100%;
    min-height: 100vh;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

/* 背景图片容器 */
.game-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('../../user/imgs/bj888.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* 背景遮罩层 - 炫彩渐变 */
.game-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.9) 0%, 
        rgba(22, 33, 62, 0.85) 25%,
        rgba(40, 20, 60, 0.8) 50%, 
        rgba(20, 30, 50, 0.85) 75%,
        rgba(26, 26, 46, 0.9) 100%);
}

/* 动态光效背景 */
.game-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(250, 112, 154, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.05) 0%, transparent 70%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 顶部视觉引导元素 */
.top-visual-guide {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 5px 20px rgba(250, 112, 154, 0.5);
    border-bottom: 3px solid #fa709a;
    line-height: 0;
    display: block;
}

.top-visual-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 内部页面布局 */
.game-inner-container {
    min-height: 100vh;
    padding: 20px 15px 90px;
    position: relative;
    z-index: 1;
}

.game-inner-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* 游戏风格内容卡片 */
.game-content-card {
    background: linear-gradient(145deg, 
        rgba(30, 30, 50, 0.95) 0%, 
        rgba(25, 25, 45, 0.95) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* 卡片顶部光效 */
.game-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffd700 20%, 
        #ffed4e 50%, 
        #ffd700 80%, 
        transparent 100%);
    animation: borderShine 3s linear infinite;
}

@keyframes borderShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.game-content-card-title {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 游戏风格文字样式 */
.game-text-gold {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.game-text-white {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-text-muted {
    color: rgba(255, 255, 255, 0.7);
}

/* 用户昵称样式 */
.game-username {
    color: #ffd700;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* 内容文字样式 */
.game-content-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 时间文字样式 */
.game-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* 点赞数样式 */
.game-like-count {
    color: #ff6b6b;
    font-weight: bold;
}

/* 评论数样式 */
.game-comment-count {
    color: #4facfe;
    font-weight: bold;
}

/* 底部菜单栏 - 游戏风格 */
.game-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, 
        rgba(30, 30, 50, 0.98) 0%, 
        rgba(25, 25, 45, 0.98) 50%,
        rgba(20, 20, 40, 0.98) 100%);
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 -5px 25px rgba(0, 0, 0, 0.6),
        0 -2px 10px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    height: 70px;
}

.game-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

/* 悬浮效果 */
.game-tab-item:hover {
    transform: translateY(-3px);
}

.game-tab-item:active {
    transform: translateY(0);
}

.game-tab-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

/* 图标内部光效 */
.game-tab-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.game-tab-item:hover .game-tab-icon::before {
    left: 100%;
}

.game-tab-icon i {
    color: #ffd700;
    font-size: 22px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.game-tab-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 选中状态 */
.game-tab-item.active .game-tab-text {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.game-tab-item.active .game-tab-icon {
    background: linear-gradient(145deg, 
        rgba(255, 215, 0, 0.5) 0%, 
        rgba(255, 215, 0, 0.3) 100%);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
}

.game-tab-item.active .game-tab-icon i {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* 中间发布按钮特殊样式 */
.game-tab-item:nth-child(3) .game-tab-icon {
    background: linear-gradient(145deg, 
        rgba(255, 107, 107, 0.3) 0%, 
        rgba(255, 107, 107, 0.15) 100%);
    border-color: rgba(255, 107, 107, 0.5);
    transform: scale(1.1);
}

.game-tab-item:nth-child(3) .game-tab-icon i {
    color: #ff6b6b;
    font-size: 26px;
}

.game-tab-item:nth-child(3):hover .game-tab-icon {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

/* 游戏风格按钮 */
.game-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    border-radius: 8px;
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* 游戏风格列表项 */
.game-list-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.game-list-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.05);
}

.game-list-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.game-list-item-content {
    flex: 1;
}

.game-list-item-title {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}

.game-list-item-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 3px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-inner-container {
        padding: 10px 10px 85px;
    }
    
    .top-visual-guide {
        margin-bottom: 10px;
    }
    
    .game-footer {
        height: 65px;
        padding: 5px 0;
    }
    
    .game-tab-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    
    .game-tab-icon i {
        font-size: 20px;
    }
    
    .game-tab-item:nth-child(3) .game-tab-icon i {
        font-size: 24px;
    }
    
    .game-tab-text {
        font-size: 0.7rem;
    }
    
    .game-content-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .game-username {
        font-size: 0.95rem;
    }
    
    .game-content-text {
        font-size: 0.9rem;
    }
}

/* 小屏幕适配 */
@media (max-width: 375px) {
    .game-tab-icon {
        width: 34px;
        height: 34px;
    }
    
    .game-tab-icon i {
        font-size: 18px;
    }
    
    .game-tab-text {
        font-size: 0.65rem;
    }
}
