/*
 * AceRust游戏社区网站样式表
 * ===========================
 * 
 * 文件描述：主样式文件，包含网站所有页面的样式定义
 * 创建时间：2024年
 * 维护人员：AceRust开发团队
 * 
 * 样式结构：
 * 1. 基础重置和变量定义
 * 2. 全局布局和基础样式
 * 3. 导航栏样式
 * 4. 主页横幅和英雄区域
 * 5. 服务器卡片和列表样式
 * 6. VIP礼包页面样式
 * 7. 模态框和弹窗样式
 * 8. 按钮和交互元素
 * 9. 响应式设计媒体查询
 * 
 * 设计主题：深色科技风，蓝色主色调
 * 主要颜色：
 * - 主色：#1e88e5 (蓝色)
 * - 背景：#050b14 (深蓝黑)
 * - 卡片：#0d1c30 (深蓝灰)
 */

/* ===== 1. 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* 半透明背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    position: relative;
    text-align: center;
}

.loading-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: url('http://acerust.cn/image/menu/AceRusticon.png') center center no-repeat;
    background-size: cover;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    animation: spin 2s linear infinite;
    box-shadow: 0 0 30px var(--primary-color);
}

.loading-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: 'Microsoft YaHei', sans-serif;
    text-shadow: 0 0 20px var(--primary-color);
}

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* ===== CSS变量定义 ===== */
:root {
    /* 主色调 */
    --primary-color: #1e88e5;      /* 主要蓝色 */
    --primary-dark: #1565c0;     /* 深蓝色 */
    --secondary-color: #0a1929;  /* 次要背景色 */
    --accent-color: #123456;     /* 强调色 */
    
    /* 文字颜色 */
    --text-primary: #ffffff;     /* 主要文字 */
    --text-secondary: #b3b3b3;   /* 次要文字 */
    --text-muted: #888888;       /* 淡化文字 */
    
    /* 背景颜色 */
    --bg-primary: #050b14;       /* 主背景 */
    --bg-secondary: #0a1929;     /* 次要背景 */
    --bg-card: #0d1c30;          /* 卡片背景 */
    --bg-hover: #132e4d;         /* 悬停背景 */
    
    /* 状态颜色 */
    --success-color: #00ff88;    /* 成功绿色 */
    --warning-color: #ffaa00;    /* 警告橙色 */
    --error-color: #ff4444;      /* 错误红色 */
    
    /* 装饰颜色 */
    --border-color: #1e3a5f;     /* 边框颜色 */
    --shadow-color: rgba(30, 136, 229, 0.3);  /* 阴影颜色 */
    
    /* 渐变定义 */
    --gradient-primary: linear-gradient(135deg, #1e88e5, #2196f3);
    --gradient-secondary: linear-gradient(135deg, #0a1929, #123456);
    --gradient-card: linear-gradient(145deg, #0d1c30, #132e4d);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 - 半透明卡片式设计 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 850px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* QQ群按钮样式 */
.qq-group-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px; /* 减小圆角 */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    gap: 8px;
}

/* 放大QQ图标 */
.qq-group-btn .fab.fa-qq {
    font-size: 1.5em;
}

.qq-group-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

/* 自定义提示框样式 */
.tooltip-container {
    position: relative;
}

.custom-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
}

/* 提示框箭头 */
.custom-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
}

.tooltip-container:hover .custom-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

/* 图片Logo样式 */
.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo-image {
    transform: scale(1.05);
}

.logo-wrapper:hover .logo-overlay-text {
    text-shadow: 0 0 15px var(--shadow-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    padding-left: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%; /* 设置左边缘在父元素中心 */
    transform: translateX(-50%); /* 向左移动自身宽度的一半，实现居中 */
    background-color: rgba(0, 0, 0, 0.8);
    min-width: 350px; /* 增加宽度以解决鼠标移动到下拉列表可能自动收回的问题 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-top: 0; /* 移除上边距，使下拉列表与导航文字贴紧 */
    backdrop-filter: blur(10px);
}

.dropdown-content a {
    color: #ffffff;
    font-family: 'Microsoft YaHei', sans-serif;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.dropdown-content a:hover {
    background-color: rgba(0, 150, 255, 0.1);
    color: #0096ff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-link:hover {
    color: #0096ff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* 汉堡菜单激活状态样式 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 主页横幅 */
.hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        background-image: url('http://acerust.cn/image/menu/website.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        position: relative;
        overflow: hidden;
    }

    @media (max-width: 768px) {
        .hero {
            background-attachment: scroll; /* 移动端禁用fixed背景 */
            background-size: cover;
            background-position: center center;
            min-height: 100vh;
        }
    }

/* 粒子效果Canvas样式 */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* 半透明黑色遮罩，确保文字清晰 */
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 0 20px var(--shadow-color);
}

.hero-title .highlight {
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 字体优化 */
.section-title {
    font-family: 'Inter', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-color));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(30, 136, 229, 0.3);
    margin-bottom: 1rem;
    text-align: center;
}

/* 服务器特色 */
.features-section {
    padding: 50px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* VIP头部 */
.vip-header {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.vip-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 20px var(--shadow-color);
    color: var(--text-primary);
}

.vip-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 服务器列表 */
.servers-section {
    padding: 50px 0;
    background: var(--bg-secondary);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* 基础样式优化 */
body {
    font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 400;
    margin-bottom: 20px;
}

/* 服务器卡片图片样式 */
.server-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 0;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.server-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.server-status.online {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
    border-color: rgba(0, 255, 136, 0.2);
}

.server-status.offline {
    background: rgba(255, 68, 68, 0.1);
    color: var(--error-color);
    border-color: rgba(255, 68, 68, 0.2);
}

.server-status.maintenance {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning-color);
    border-color: rgba(255, 170, 0, 0.2);
}

.server-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 服务器头部布局调整 */
.server-header {
    margin-bottom: 15px;
    text-align: center;
}

.server-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.server-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.server-status-wrapper {
    margin-top: 6px;
    display: flex;
    justify-content: center;
}

/* 服务器信息样式优化 */
.server-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

/* Toast提示框样式优化 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease, fadeOut 0.5s ease 2.5s forwards;
    z-index: 3000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.success {
    background: rgba(0, 255, 136, 0.2);
    border-left: 4px solid var(--success-color);
}

.toast.error {
    background: rgba(255, 68, 68, 0.2);
    border-left: 4px solid var(--error-color);
}

.toast.info {
    background: rgba(30, 136, 229, 0.2);
    border-left: 4px solid var(--primary-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.server-image {
    width: 100%;
    height: 256px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 512 / 256;
}

.server-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.server-info {
    margin-bottom: 20px;
}

.server-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.server-info-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.server-name {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .server-image {
        height: 200px;
        aspect-ratio: 512 / 256;
    }
    
    /* VIP页面响应式样式 */
    .vip-page {
        padding: 80px 0 40px;
    }
    
    .vip-header h1 {
        font-size: 2.2rem;
    }
    
    .vip-header p {
        font-size: 1rem;
    }
    
    .server-switcher {
        padding: 20px;
        margin: 0 15px 40px;
    }
    
    .server-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .server-tab {
        width: 100%;
        max-width: 200px;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0 15px;
        max-width: none;
        padding: 0 15px;
    }
    
    .package-card {
        padding: 25px;
    }
    
    .package-card.featured {
        transform: none;
        border: 1px solid var(--border-color);
    }
    
    .package-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .payment-options {
        flex-direction: column;
        align-items: center;
    }
}

.connect-btn {
    flex: 1;
    padding: 15px 28px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.connect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.connect-btn:hover::before {
    left: 100%;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.connect-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* 服务器列表卡片查看详情按钮 */
.details-btn {
    padding: 15px 28px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-align: center;
}

.details-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.details-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.server-actions {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

/* 响应式设计 - 合并480px断点 */
@media (max-width: 480px) {
    .server-image {
        height: 150px;
        aspect-ratio: 512 / 256;
    }
    
    .server-content {
        padding: 1.5rem;
    }
    
    .server-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    /* VIP页面480px响应式样式 */
    .vip-header h1 {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
}

/* 服务器详情页面样式 */
.server-details-page {
    padding: 120px 0 60px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.server-image-container {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.server-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.server-basic-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
}

.info-item span {
    color: var(--text-secondary);
    font-size: 1rem;
}

.info-item strong {
    color: var(--text-primary);
    margin-right: 8px;
}

.gameplay-section,
.rules-section,
.connect-section {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.gameplay-section h2,
.rules-section h2,
.connect-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.gameplay-section h2 i,
.rules-section h2 i,
.connect-section h2 i {
    color: var(--primary-color);
}

.gameplay-intro h3,
.rules-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.gameplay-intro ul,
.rules-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.gameplay-intro li,
.rules-content li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.gameplay-intro li strong,
.rules-content li strong {
    color: var(--text-primary);
}


/* 服务器详情页 特色模块样式 */
.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.connect-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* 命令框样式 */
.command-box {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.8), rgba(15, 20, 40, 0.9));
    border-radius: 12px;
    margin: 20px auto;
    display: flex;
    align-items: stretch;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 550px;
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.command-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: var(--success-color);
    font-size: 1rem;
    word-break: break-all;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.connect-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.connect-buttons .btn {
    padding: 15px 25px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-section {
    text-align: center;
    margin-top: 3rem;
}

.back-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-section .btn:hover {
    background: var(--text-secondary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page i {
    font-size: 4rem;
    color: var(--error-color);
    margin-bottom: 2rem;
}

.error-page h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .server-details-page {
        padding: 100px 0 40px;
    }
    
    .server-header h1 {
        font-size: 2rem;
    }
    
    .server-info-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .connect-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .server-header h1 {
        font-size: 1.8rem;
    }
    
    .gameplay-section,
    .rules-section,
    .connect-section {
        padding: 1.5rem;
    }
}

/* 页脚 */
.footer {
    background: var(--bg-secondary);
    padding: 30px 0 15px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
    font-size: 0.9rem;
    padding: 5px 0;
    overflow: hidden;
}

.footer-link:hover {
    transform: translateY(-1px);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 响应式设计 - 页脚 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-links-horizontal {
        gap: 15px;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 0 10px;
    }
    
    .footer-content {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .footer-links-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

/* 导航操作区域 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* 响应式设计 - 中等屏幕尺寸 */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
        left: -100%;
        top: 66px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        backdrop-filter: blur(10px);
        border-radius: 10px;
    }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    .nav-actions {
        display: flex;
        gap: 10px;
    }
    
    .qq-group-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* 确保中等屏幕上QQ图标也保持放大效果 */
    .qq-group-btn .fab.fa-qq {
        font-size: 1.4em;
    }
    
    .hamburger {
        display: flex;
    }
}

/* 响应式设计 - 小屏幕尺寸 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 66px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        backdrop-filter: blur(10px);
        border-radius: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        margin-left: auto;
    }

    .qq-group-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    /* 确保小屏幕上QQ图标也保持放大效果 */
    .qq-group-btn .fab.fa-qq {
        font-size: 1.4em;
    }
    
    /* 在小屏幕上隐藏QQ群文字，只显示图标 */
    .qq-group-text {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 15% auto;
        width: 95%;
        padding: 30px 20px;
    }

    .homepage-rule-header {
        padding: 15px 20px;
    }
    
    .homepage-rule-header h3 {
        font-size: 1.1rem;
    }
    
    .homepage-rule-content li {
        font-size: 0.9rem;
    }
}

/* 首页规则模块样式 - 使用独立命名避免冲突 */
.homepage-rules-section {
    padding: 50px 0;
    background: var(--gradient-card);
}

.homepage-rules-container {
    max-width: 800px;
    margin: 0 auto;
}

.homepage-rule-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.homepage-rule-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.homepage-rule-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.homepage-rule-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.homepage-rule-header i:first-child {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ff6b35;
    width: 24px;
    text-align: center;
}

.homepage-rule-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}
/***********************************断点**********************************/
.homepage-toggle-icon {
    font-size: 1rem;
    color: #888;
    transition: transform 0.3s ease;
}

.homepage-rule-category.active .homepage-toggle-icon {
    transform: rotate(180deg);
}

.homepage-rule-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.homepage-rule-category.active .homepage-rule-content {
    max-height: 500px;
    padding: 20px 25px;
}

.homepage-rule-content ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.homepage-rule-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #ccc;
    line-height: 1.6;
}

.homepage-rule-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
}

.homepage-rule-content li:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        /* iOS Safari 特殊处理 */
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }

    /* 移动端背景图片加载失败时的备用背景 */
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 50%, #0d1c30 100%);
        z-index: -1;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .modal-content {
        margin: 15% auto;
    }
}

/* 针对iOS设备的特殊优化 */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

/* 针对Android Chrome的优化 */
@supports not (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .hero {
            background-attachment: scroll;
        }
    }
}

/* VIP页面样式 - 与主页面颜色完全一致 */
.vip-page {
    padding: 100px 0 60px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.vip-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 服务器切换 - 优化科技感样式 */
.server-switcher {
    text-align: center;
    margin-bottom: 50px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.server-switcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.server-switcher h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(30, 136, 229, 0.3);
}

.server-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.server-tab {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.server-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.server-tab:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
    border-color: var(--primary-light);
}

.server-tab:hover::before {
    left: 100%;
}

.server-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--shadow-color);
    transform: translateY(-2px);
}

.server-tab.active::before {
    left: 100%;
    transition: all 0.3s ease;
}

/* VIP礼包网格布局 */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .package-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (min-width: 992px) {
    .package-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.package-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.package-header {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.package-image {
    width: 100%;
    aspect-ratio: 566/612;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: transparent;
    transition: transform 0.3s ease;
}

.name-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.package-features {
    margin-bottom: 5px;
    flex-grow: 1;
}

.package-features ul {
    width: 100%;
    max-width: 55%;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    text-align: center;
}

.package-features li {
    padding: 5px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features .fas {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.85rem;
    min-width: 16px;
    text-align: center;
}

.qq-contact-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qq-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.qq-contact-btn:hover::before {
    left: 100%;
}

.qq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.qq-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.qq-contact-btn .fab {
    font-size: 1.2rem;
}

.package-card.lifetime {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.package-card.lifetime:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.package-card.lifetime .server-name {
    color: rgba(255, 255, 255, 0.85);
}

.package-card.lifetime .package-features li {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 模态框样式 - 简化版动画效果 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, 
                opacity 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(30, 136, 229, 0.2);
}

/* 一键启动游戏按钮样式 */
.modal-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* 命令框输入框样式 */
.command-box input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(30, 136, 229, 0.3);
    min-width: 0;
}

.command-box input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
    background: rgba(0, 0, 0, 0.8);
}

.command-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.5), transparent);
}

.command-box code {
    color: var(--primary-color);
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(30, 136, 229, 0.3);
}

/* 复制按钮样式 */
.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-left: 2px;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.4);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied::after {
    content: '✓ 已复制';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success-color);
    color: var(--bg-primary);
    border-radius: 0 8px 8px 0;
    animation: fadeInOut 2s ease;
}

/* 一键启动游戏按钮样式 */
.launch-btn {
    transition: all 0.3s ease !important;
}

.launch-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.4) !important;
}

.launch-btn:active {
    transform: translateY(0) !important;
}

/* 服务器模态框内容样式 */
.server-modal-content {
    text-align: center;
    padding: 20px;
}

.server-ip {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.command-input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(30, 136, 229, 0.3);
    min-width: 0;
}

.action-buttons {
    margin-bottom: 20px;
}

.launch-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.4);
}

.launch-btn:active {
    transform: translateY(0);
}

.instruction-text {
    font-size: 14px;
}

.console-instruction {
    color: #666;
    margin-bottom: 10px;
}

.steam-instruction {
    color: #888;
    font-size: 14px;
    margin-top: 10px;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.payment-methods h3 {
    margin: 30px 0 20px;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.payment-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}