/* 核心变量定义 - 赛博朋克风格 */
:root {
    --primary-color: #FFD166;
    --primary-gradient: linear-gradient(135deg, #FFD166 0%, #EF476F 100%);
    --secondary-color: #EF476F;
    --accent-color: #06D6A0;
    --text-color: #1b1f23;
    --text-secondary: #5b6169;
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --border-glow: 0 0 12px rgba(239, 71, 111, 0.2);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background:
        radial-gradient(1200px 400px at 20% -10%, rgba(239, 71, 111, 0.06) 0%, transparent 60%),
        radial-gradient(1000px 500px at 120% 0%, rgba(17, 138, 178, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.85rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo:hover {
    text-shadow: var(--border-glow);
}

.logo-text {
    color: var(--text-color);
}

.logo-text-highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.nav-link {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-gradient);
    color: #0b0d14;
    box-shadow: 0 6px 18px rgba(239, 71, 111, 0.35);
}

.nav-link::after { display: none; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* 游戏区域 */
.games-section {
    padding: 5rem 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Press Start 2P', 'Orbitron', sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
}

.hero-section {
    padding: 8rem 0 2rem;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero-title {
    font-family: 'Press Start 2P', 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
}
.hero-subtitle {
    color: var(--text-secondary);
    margin: 0.5rem 0 1.5rem;
}
.hero-search {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.search-input {
    width: 100%;
    max-width: 720px;
    padding: 1rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.search-input:focus {
    border-color: rgba(239, 71, 111, 0.45);
    box-shadow: 0 8px 22px rgba(239, 71, 111, 0.15);
}
.filters-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.tabs {
    display: flex;
    gap: 0.5rem;
}
.tab {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.tab.active, .tab:hover {
    background: var(--primary-gradient);
    color: #0b0d14;
    box-shadow: 0 6px 18px rgba(239, 71, 111, 0.35);
}
.categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.chip-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.04);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}
.chip-pill:hover, .chip-pill.active {
    border-color: rgba(239, 71, 111, 0.45);
    color: var(--text-color);
}

.chip-pill.active {
    background: var(--primary-gradient);
    color: #0b0d14;
    box-shadow: 0 6px 18px rgba(239, 71, 111, 0.25);
    border-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.015) rotateZ(-0.3deg);
    border-color: rgba(239, 71, 111, 0.35);
    box-shadow: 0 14px 30px rgba(239, 71, 111, 0.15);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 71, 111, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.game-card:hover::before {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.game-card:hover .overlay {
    opacity: 1;
}
.play-badge {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: var(--primary-gradient);
    color: #0b0d14;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(239, 71, 111, 0.35);
}

.game-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-thumb {
    transform: scale(1.06);
}

.game-content {
    padding: 1.5rem;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-tag {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: linear-gradient(135deg, #06D6A0 0%, #118AB2 100%);
    color: #0b0d14;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    margin-top: 1rem;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px rgba(17, 138, 178, 0.35);
}

/* 元数据标签与芯片 */
.chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.chip {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    letter-spacing: 0.2px;
}

.chip-category {
    border-color: rgba(255, 209, 102, 0.5);
    color: #FFD166;
    background: rgba(255, 209, 102, 0.12);
}

.chip-tag {
    border-color: rgba(239, 71, 111, 0.5);
    color: #ff7997;
    background: rgba(239, 71, 111, 0.12);
}

.chip-updated {
    border-color: rgba(17, 138, 178, 0.5);
    background: rgba(17, 138, 178, 0.12);
}

.categories-section {
    padding: 3rem 0 2rem;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.category-card {
    position: relative;
    padding: 1.1rem 1rem;
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.04) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 209, 102, 0.45);
    box-shadow: 0 14px 40px rgba(255, 209, 102, 0.18);
}
.category-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
}
.category-count {
    color: var(--text-secondary);
    font-size: .85rem;
}
.category-chip {
    align-self: flex-start;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--primary-gradient);
    border: 1px solid rgba(239, 71, 111, 0.25);
    color: #0b0d14;
    font-size: .75rem;
    box-shadow: 0 6px 16px rgba(239, 71, 111, 0.15);
}

.slider-section {
    padding: 2rem 0 1rem;
}
.slider-row + .slider-row {
    margin-top: 2rem;
}
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.slider-ctrl {
    display: flex;
    gap: .5rem;
}
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    background: #ffffff;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.slider-btn:hover, .slider-btn:focus-visible {
    outline: none;
    background: var(--primary-gradient);
    color: #0b0d14;
    box-shadow: 0 6px 18px rgba(239, 71, 111, 0.35);
}
.slider-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .25rem;
}
.slider-container::-webkit-scrollbar {
    height: 8px;
}
.slider-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
}
.slider-card {
    scroll-snap-align: start;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* 关于区域 */
.about-section {
    padding: 4rem 0 5rem;
    background:
        radial-gradient(800px 300px at 100% 10%, rgba(255, 209, 102, 0.08) 0%, transparent 60%),
        radial-gradient(1000px 500px at 0% 0%, rgba(239, 71, 111, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.about-content {
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 22px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-item:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 71, 111, 0.35);
    box-shadow: 0 14px 30px rgba(239, 71, 111, 0.15);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.about-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 页脚 */
.site-footer {
    background: #ffffff;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-email {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    margin: 0 auto;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-version {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
}

/* 页面头部 */
.page-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, rgba(239, 71, 111, 0.06) 0%, transparent 100%);
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* 内容区域 */
.content-section {
    padding: 2rem 0;
}

/* 返回按钮样式 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 2rem;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.back-btn:hover {
    background: var(--primary-gradient);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(239, 71, 111, 0.35);
}

.back-btn:active {
    transform: translateY(-1px);
}

.back-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: var(--transition);
}

.back-btn:hover .back-icon {
    transform: translateX(-5px);
}

.back-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 详情页 Editorial 区块 */
.editorial-section {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(17, 138, 178, 0.05), rgba(255, 209, 102, 0.06));
}

.editorial-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
}

.editorial-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
}

.editorial-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.editorial-list {
    padding-left: 1.2rem;
    color: var(--text-secondary);
}

.editorial-list li {
    margin: 0.25rem 0;
}

.editorial-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.8rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.faq-item {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.faq-q {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.faq-a {
    color: var(--text-secondary);
}

/* 关于页面样式 */
.about-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.mission-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.mission-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.mission-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    border-color: var(--secondary-color);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.feature-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-cta {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(239, 71, 111, 0.08) 0%, transparent 100%);
    border-radius: 20px;
    margin-top: 3rem;
}

.contact-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 联系页面样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.method-icon {
    font-size: 2.5rem;
    background: rgba(0, 243, 255, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.method-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.method-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0.2rem 0;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.6rem 1.5rem;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* 表单样式 */
.contact-form-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(239, 71, 111, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #0b0d14;
    box-shadow: 0 10px 25px rgba(239, 71, 111, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(255, 209, 102, 0.4);
}

/* 法律页面样式 */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    line-height: 1.8;
}

.legal-text p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.legal-text h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-email {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.legal-accept {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.legal-accept p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-gradient);
    color: #0b0d14;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(239, 71, 111, 0.35);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(255, 209, 102, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        /* background: rgba(255, 255, 255, 0.96); */
        background: rgba(255, 255, 255, 1);
        backdrop-filter: blur(8px);
        flex-direction: column;
        padding: 2rem;
        gap: 0.75rem;
        transform: translateX(100%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        z-index: 1100;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        display: block;
        text-align: center;
        color: var(--text-color);
        background: rgba(0, 0, 0, 0.04);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-gradient);
        color: #0b0d14;
        box-shadow: 0 6px 18px rgba(239, 71, 111, 0.35);
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .back-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
        margin-bottom: 1.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    .page-header{
        padding: 6rem 0 2rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    .section-header{
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-section p {
        text-align: center;
    }
    
    .footer-desc {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
        justify-content: center;
    }
    
    .footer-links a {
        display: inline-block;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-number {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .game-thumb {
        height: 150px;
    }
    
    .game-title {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .back-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    .back-icon {
        width: 18px;
        height: 18px;
    }
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 243, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
