/* Global Styles */
:root {
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --dark: #292f36;
    --light: #f7fff7;
    --accent: #ff8e53;
    --success: #45b7d1;
    --danger: #ff4757;
    --warning: #ffa502;
    --info: #74b9ff;
    --text: #2d3436;
    --text-secondary: #636e72;
    --card-bg: #ffffff;
    --card-hover: #fff5f5;
    --shadow: 0 6px 25px rgba(255, 107, 107, 0.2);
    --border-radius: 8px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f7fff7 0%, #f0fff4 50%, #e8f5e8 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 a {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--dark);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4), 0 0 30px rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::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: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Header/Navigation */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.1);
    border-bottom: 3px solid var(--primary);
}

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

.logo {
    position: static;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav ul li {
    margin: 0;
}

.nav ul li a {
    font-weight: 600;
    position: relative;
    padding: 8px 12px;
    color: var(--dark);
    font-size: 1.1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav ul li a:hover {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: var(--transition);
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    transform: scaleX(1);
}

.nav ul li a.active {
    color: var(--primary);
    background: rgba(255, 107, 107, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 1), 0 0 30px rgba(255, 255, 255, 0.3);
    font-weight: 800;
}

.hero-content h2::after {
    display: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
    font-weight: 600;
}

/* Category Grid Section */
.category-grid {
    padding: 5rem 0;
    background: var(--light);
}

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

.category-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.category-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
    border-color: var(--primary);
}

.category-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.category-item h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark);
}

/* Trending Games */
.trending-games {
    padding: 5rem 0;
}

/* Recently Added */
.recently-added {
    padding: 5rem 0;
    background: var(--light);
}

/* Top Rated */
.top-rated {
    padding: 5rem 0;
}

/* All Games */
.all-games {
    padding: 5rem 0;
    background: var(--light);
}

/* Game Badges */
.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.game-badge:nth-child(2) {
    background: linear-gradient(45deg, var(--success), var(--secondary));
}

.game-badge:nth-child(3) {
    background: linear-gradient(45deg, var(--warning), var(--accent));
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
}

.newsletter h2 {
    color: white;
}

.newsletter h2::after {
    background: white;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: white;
    color: var(--text);
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Featured Games */
.featured-games {
    padding: 5rem 0;
}

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

/* Game card animation styles */
.game-card {
    transition: all 0.5s ease;
}

/* Ensure proper display of exactly 9 cards */
.games-grid .game-card {
    opacity: 1;
    transform: translateY(0);
}

.game-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(74, 111, 165, 0.1);
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.3);
    background: var(--card-hover);
}

/* About Us Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.about-features li i {
    margin-right: 1rem;
    color: var(--success);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: rgba(30, 30, 30, 0.5);
}

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

.team-member {
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover .member-image {
    border-color: var(--accent);
}

.member-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Info Section */
.contact-info {
    padding: 5rem 0;
    text-align: center;
}

.contact-details {
    max-width: 600px;
    margin: 0 auto;
}
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    margin-bottom: 1rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-stats span {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.game-stats i {    margin-right: 5px;    color: var(--warning);}

/* 新的游戏卡片布局样式 */
.game-section {
    margin-bottom: 3rem;
}

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

.hot-label {
    background: linear-gradient(45deg, var(--danger), #ff6b6b);
    color: white;
    padding: 0.6rem 2.2rem;
    border-radius: 35px;
    font-weight: bold;
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(250, 82, 82, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.category-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* HOT游戏行布局 */
.game-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hot-game {
    flex: 0 0 250px;
}

/* 游戏网格布局 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.game-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* 调整游戏卡片大小 */
.game-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
    border-color: var(--primary);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 160px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    background: linear-gradient(45deg, var(--light), var(--secondary));
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    background: var(--card-bg);
    padding: 1.2rem;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.game-info h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.game-stats i {
    color: var(--accent);
    margin-right: 0.4rem;
    font-size: 1rem;
}

/* 游戏类别标签 */
.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-row {
        flex-direction: row;
        justify-content: center;
        gap: 1.2rem;
    }
    
    .hot-game {
        flex: 0 0 160px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    /* 小屏幕设备调整 */
    .hot-label {
        padding: 0.4rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .game-image {
        height: 120px;
    }
    
    .game-info {
        padding: 0.8rem;
    }
}

/* Categories Section */
.categories {
    padding: 5rem 0;
    background: var(--light);
}

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

.category-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition), background 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.category-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.category-card.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.category-card.active i,
.category-card.active h3 {
    color: white;
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Category Selector Styles */
.category-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.category-dropdown {
    padding: 12px 24px;
    background: var(--card-bg);
    color: var(--text);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
    outline: none;
}

.category-dropdown:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.category-dropdown:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.category-dropdown option {
    background: var(--dark);
    color: var(--text);
    padding: 10px;
}

/* Responsive adjustments for category selector */
@media (max-width: 768px) {
    .category-selector {
        flex-direction: column;
        width: 100%;
    }
    
    .category-dropdown {
        width: 100%;
        max-width: 300px;
    }
}

/* Newsletter */
.newsletter {
    padding: 5rem 0;
    text-align: center;
}

.newsletter form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2rem;
}

.newsletter input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: var(--card-bg);
    color: var(--text);
    outline: none;
}

.newsletter button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    color: var(--light);
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--light);
    font-size: 1.3rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

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

.footer-section ul li a {
    color: rgba(247, 255, 247, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--light);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px) scale(1.1);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(247, 255, 247, 0.6);
    font-size: 0.9rem;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }
    
    .logo {
        position: static;
        margin-bottom: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .nav ul {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .nav ul li {
        margin: 0;
    }
    
    .nav ul li a {
        font-size: 1rem;
        padding: 6px 10px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter button {
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }
    
    /* 手机端两列游戏卡片布局 */
    .container {
        padding: 0 12px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .game-card {
        border-radius: var(--border-radius);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin: 0;
    }
    
    .game-image {
        height: 120px;
        overflow: hidden;
    }
    
    .game-image img {
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .game-category {
        top: 8px;
        left: 8px;
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    
    .game-info {
        padding: 1rem;
        border-top: 2px solid var(--primary);
    }
    
    .game-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .game-stats {
        gap: 0.8rem;
        font-size: 0.8rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* 保持两列布局 */
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 小屏幕进一步优化 */
    .game-image {
        height: 100px;
    }
    
    .game-info {
        padding: 0.8rem;
    }
    
    .game-info h3 {
        font-size: 0.85rem;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .nav ul li a {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.category-card,
.hero-content {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

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