/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
   
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
.header {
    background: white;
    color: #333;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav a {
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav li:first-child a {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav li:first-child a:hover {
    background: rgba(102, 126, 234, 0.2);
}

.nav-icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.search-icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    /* justify-content: center; */
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s;
    gap: 0.5rem;
    color: #333;
}

.search-icon:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
    z-index: 1;
    border-radius: 8px;
    /* overflow: hidden; */
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, margin-top 0.3s;
    pointer-events: none;
}

/* 扩大hover区域，防止失焦 */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10px;
    right: -10px;
    height: 20px;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
    pointer-events: auto;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: background-color 0.2s, padding-left 0.2s;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    padding-left: 24px;
}

.dropdown-content .nav-icon {
    font-size: 1rem;
    color: #667eea;
    transition: transform 0.2s;
}

.dropdown-content a:hover .nav-icon {
    transform: scale(1.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 400;
}

/* Hero Floating Icons */
.hero-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.hero-icon-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.hero-icon-3 { top: 60%; left: 5%; animation-delay: 1s; }
.hero-icon-4 { top: 70%; right: 10%; animation-delay: 1.5s; }
.hero-icon-5 { top: 30%; left: 20%; animation-delay: 2s; }
.hero-icon-6 { top: 80%; left: 25%; animation-delay: 2.5s; }
.hero-icon-7 { top: 15%; right: 25%; animation-delay: 3s; }
.hero-icon-8 { top: 50%; right: 5%; animation-delay: 3.5s; }
.hero-icon-9 { top: 40%; left: 8%; animation-delay: 4s; }
.hero-icon-10 { top: 65%; right: 20%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero Explore Button */
.hero-explore-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.explore-arrow {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装饰 */
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.5px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 3rem;
    position: relative;
    z-index: 1;
}

.about-content h3 {
    font-size: 2rem;
    margin: 0 0 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.3px;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Mission Box - 现代卡片设计 */
.mission-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid transparent;
    background-clip: padding-box;
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 卡片边框渐变效果 */
.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.mission-box:hover::before {
    opacity: 1;
}

.mission-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

/* 背景装饰元素 */
.mission-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mission-box h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.mission-box h4::before {
    content: '✨';
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
}

.mission-box p {
    color: #555;
    line-height: 2;
    font-size: 1.1rem;
    text-align: left;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Educational Content Section */
.educational-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.educational-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

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

.educational-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.educational-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.educational-card:hover::before {
    transform: scaleX(1);
}

.educational-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.educational-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.educational-card:hover .educational-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.educational-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.educational-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Advantages Section */
.advantages-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.advantages-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #667eea;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: white;
}

.categories-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #667eea;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.4rem;
    padding: 1.5rem 1.5rem 0.5rem;
    color: #333;
}

.category-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

.category-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #667eea;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Games Grid */
.featured-games, .all-games {
    padding: 4rem 0;
    background: #f8f9fa;
}

.featured-games h2, .all-games h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #667eea;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.game-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    position: relative;
}

.game-card-content {
    padding: 1.2rem;
}

.game-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Game Card Description */
.game-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.8rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.7rem;
}

.game-card-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Game Card Button */
.game-card-btn {
    display: inline-block;
    width: 100%;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.game-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
    color: white;
}

.game-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-number {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* View More */
.view-more {
    text-align: center;
    margin-top: 2rem;
}

/* Game Detail Page Disclaimer */
.game-detail-disclaimer {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.game-detail-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2E4052;
    color: white;
    padding: 4rem 0 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2.2rem;
}

.logo-text {
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Footer Links Section */
.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
}

.section-icon {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 0.3rem;
}

/* 白色线性图标样式 */
.section-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '▶';
    font-size: 0.8rem;
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: #667eea;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.8rem;
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 0.8rem;
}

/* Footer Contact Section */
.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

/* Legacy footer-section styles for compatibility */
.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p, .footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom .heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Game Detail Page */

.game-detail-page {
    padding: 2rem 0;
    background: #f8f9fa;
}
.game-detail-page .container,
.game-overview-section .container{
    width: 1200px;
}
/* Game Overview Section */
.game-overview-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 3.5rem 0;
}

/* Overview Card - Modern Design */
.overview-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12),
                0 0 0 1px rgba(102, 126, 234, 0.05);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Card decorative elements */
.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.overview-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.overview-card:hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2),
                0 0 0 1px rgba(102, 126, 234, 0.1);
    transform: translateY(-4px);
}

.game-overview-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.game-overview-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.overview-intro {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #4a5568;
    margin: 0;
    position: relative;
    padding-left: 2rem;
    font-weight: 400;
}

.overview-intro::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 5px;
    height: calc(100% - 0.8rem);
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.game-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.game-player-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Game Display Area - Combined Container */
.game-display-area {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Fullscreen styles */
.game-display-area:fullscreen,
.game-display-area:-webkit-full-screen,
.game-display-area:-moz-full-screen,
.game-display-area:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    margin: 0;
}

.game-display-area:fullscreen .game-iframe-container,
.game-display-area:-webkit-full-screen .game-iframe-container,
.game-display-area:-moz-full-screen .game-iframe-container,
.game-display-area:-ms-fullscreen .game-iframe-container {
    height: 100vh;
}

/* Game iframe container - Always visible */
.game-iframe-container {
    width: 100%;
    height: 600px;
    position: relative;
}

.game-iframe-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Game thumbnail overlay - Mask layer */
.game-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: #5a6268;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.game-thumbnail-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.game-thumbnail-overlay img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    display: block;
}

.play-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.play-button-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.play-button-large:hover::before {
    width: 200px;
    height: 200px;
}

.play-button-large:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6),
                0 0 25px rgba(102, 126, 234, 0.5);
}

.play-button-large:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.play-button-large .play-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

.play-button-large span:not(.play-icon) {
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.game-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.game-actions button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.game-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.game-actions .btn-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.game-info-sidebar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: fit-content;
}

.game-info-sidebar h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.game-rating .stars {
    color: #ffc107;
    font-size: 1.2rem;
}

#game-rating-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.game-meta {
    margin-bottom: 1.5rem;
}

.meta-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.quick-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.quick-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.quick-info ul {
    list-style: none;
}

.quick-info li {
    padding: 0.5rem 0;
    color: #666;
}

.game-content-sections {
    margin-top: 2rem;
}

.content-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #667eea;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.description-content, .controls-content {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

/* Gameplay Introduction */
.gameplay-intro {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.gameplay-intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 500;
}

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

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

.step-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Tips & Audience Container - Side by Side Layout */
.tips-audience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tips-audience-container .content-section {
    margin-bottom: 0;
}

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

.tip-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.tip-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

.audience-list {
    display: grid;
    gap: 1rem;
}

.audience-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audience-icon {
    font-size: 2rem;
}

.audience-text {
    color: #555;
    font-size: 1.05rem;
}

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

.review-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.review-text {
    color: #555;
    font-style: italic;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.review-author {
    color: #999;
    font-size: 0.95rem;
}

/* Category Page */
.category-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.category-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 2rem;
    flex-shrink: 0;
}

.category-hero h1::before {
    font-size: 2.5rem;
}

.category-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.category-info-text {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.category-description {
    padding: 3rem 0;
    background: white;
}

.category-intro-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
}

.category-intro-content h2 {
    color: #667eea;
    margin-bottom: 1rem;
}

.category-intro-content p {
    margin-bottom: 1rem;
}

.category-features {
    padding: 3rem 0;
    background: #f8f9fa;
}

.category-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #667eea;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.top-games-section, .all-category-games {
    padding: 3rem 0;
}

.top-games-section {
    background: white;
}

.all-category-games {
    background: #f8f9fa;
}

.top-games-section h2, .all-category-games h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #667eea;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-end;
}

.filter-bar label {
    font-weight: 600;
    color: #555;
}

.filter-bar select {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Game Overview Section - Mobile */
    .game-overview-section {
        padding: 2.5rem 0;
    }
    
    .overview-card {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .overview-card::after {
        width: 200px;
        height: 200px;
    }
    
    .game-overview-section h1 {
        font-size: 1.6rem;
        padding-bottom: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .game-overview-section h1::after {
        width: 60px;
        height: 4px;
    }
    
    .overview-intro {
        font-size: 1rem;
        padding-left: 1.5rem;
        line-height: 1.8;
    }
    
    .overview-intro::before {
        width: 4px;
    }
    
    /* Gameplay Introduction - Mobile */
    .gameplay-intro {
        padding: 1.2rem 1.5rem;
        margin-bottom: 1.5rem;
        border-left-width: 3px;
    }
    
    .gameplay-intro p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Tips & Audience Container - Mobile Stack */
    .tips-audience-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tips-audience-container .content-section {
        margin-bottom: 2rem;
    }
    
    /* Game Card Description - Mobile */
    .game-card-description {
        font-size: 0.85rem;
        line-height: 1.4;
        height: 2.4rem;
        margin-bottom: 0.6rem;
    }
    
    /* Game Display Area - Mobile */
    .game-iframe-container {
        height: 400px;
    }
    
    .game-thumbnail-overlay {
        padding: 1.5rem;
    }
    
    .game-thumbnail-overlay img {
        max-width: 280px;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .play-button-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        gap: 0.8rem;
        border-radius: 45px;
    }
    
    .play-button-large .play-icon {
        font-size: 1.3rem;
    }
    
    .play-button-large:hover::before {
        width: 150px;
        height: 150px;
    }
    
    /* Game Detail Page Disclaimer - Mobile */
    .game-detail-disclaimer {
        padding: 1.2rem 0;
    }
    
    .game-detail-disclaimer p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    /* Mobile Header */
    .mobile-menu-toggle {
        display: block;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        font-size: 1.8rem;
        padding: 0.6rem 1rem;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.3s;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }
    
    /* 移动端导航容器 */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 0;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 自定义滚动条样式 */
    .nav::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .nav::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* 关闭按钮样式优化 */
    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        font-size: 2rem;
        width: 48px;
        height: 48px;
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s;
        z-index: 1001;
        font-weight: 300;
        line-height: 1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: rotate(90deg) scale(1.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .mobile-menu-close:active {
        transform: rotate(90deg) scale(0.95);
    }
    
    /* 导航列表容器 */
    .nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 6rem 1.5rem 2rem;
        margin: 0;
        min-height: 100vh;
    }
    
    /* 导航项样式 */
    .nav li {
        width: 100%;
        margin-bottom: 0.5rem;
        animation: slideInFromTop 0.4s ease-out backwards;
    }
    
    .nav li:nth-child(1) { animation-delay: 0.1s; }
    .nav li:nth-child(2) { animation-delay: 0.15s; }
    .nav li:nth-child(3) { animation-delay: 0.2s; }
    .nav li:nth-child(4) { animation-delay: 0.25s; }
    .nav li:nth-child(5) { animation-delay: 0.3s; }
    
    @keyframes slideInFromTop {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* 导航链接样式 */
    .nav a {
        color: white;
        display: flex;
        align-items: center;
        padding: 1.2rem 1.5rem;
        width: 100%;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        font-size: 1.05rem;
        font-weight: 500;
        transition: all 0.3s;
        border: 1px solid rgba(255, 255, 255, 0.15);
        gap: 0.8rem;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .nav a:hover,
    .nav a:active {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateX(5px);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    /* 触摸反馈 */
    .nav a:active {
        transform: translateX(3px) scale(0.98);
        background: rgba(255, 255, 255, 0.25);
    }
    
    /* Home链接特殊样式 */
    .nav li:first-child a {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: white;
        font-weight: 600;
    }
    
    .nav li:first-child a:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.35);
    }
    
    /* 图标样式 */
    .nav-icon {
        font-size: 1.3rem;
        min-width: 24px;
        text-align: center;
    }
    
    /* 下拉菜单样式 */
    .dropdown {
        margin-bottom: 0.5rem;
    }
    
    .dropbtn {
        position: relative;
        width: 100%;
        justify-content: space-between;
    }
    
    .dropbtn::after {
        content: '▼';
        font-size: 0.8rem;
        transition: transform 0.3s ease;
        display: inline-block;
        opacity: 0.8;
    }
    
    .dropdown.active .dropbtn::after {
        transform: rotate(180deg);
    }
    
    /* 移动端禁用hover效果 */
    .dropdown:hover .dropdown-content {
        /* 空规则 - 完全由JS控制 */
    }
    
    .dropdown-content {
        display: block !important;
        position: static;
        background: rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
        margin: 0.5rem 0 0 0;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.4s ease;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-content::before {
        display: none;
    }
    
    .dropdown-content a {
        color: rgba(255, 255, 255, 0.95);
        padding: 1rem 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: transparent;
        border-radius: 0;
        border-left: none;
        border-right: none;
        transition: all 0.2s;
        font-size: 1rem;
    }
    
    .dropdown-content a:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    
    .dropdown-content a:hover,
    .dropdown-content a:active {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        padding-left: 2rem;
        transform: none;
    }
    
    .dropdown-content .nav-icon {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .category-hero h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.6rem;
    }
    
    .category-info-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-icon {
        font-size: 1.5rem;
    }
    
    .hero-explore-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .advantages-grid, .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .educational-grid {
        grid-template-columns: 1fr;
    }
    
    .educational-section h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .educational-card {
        padding: 2rem;
    }
    
    .educational-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .game-detail-container {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}
