/* Base Styles */
:root {
    --bg-gradient: linear-gradient(to bottom, #F3E5F5, #FFFFFF);
    --text-color: #4A3E66;
    --accent-color-1: #9C27B0;
    --accent-color-2: #E1BEE7;
    --border-color: #E1BEE7;
    --card-bg: rgba(255, 255, 255, 0.85);
    --shadow: 0 8px 32px rgba(156, 39, 176, 0.1);
    --transition: all 0.3s ease;
}

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

html, body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* 启用iOS平滑滚动 */
    touch-action: auto; /* 允许所有触摸行为 */
}

body {
    position: relative; /* 确保正确的定位上下文 */
    overflow-y: auto; /* 明确允许垂直滚动 */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
}

/* 确保广告区域在导航栏下方显示 */
#adv1 {
    margin-top: 70px; /* 精确调整上边距，确保完全位于导航栏下方 */
    position: relative;
    z-index: 900; /* 确保在导航栏下方 */
    width: 100%;
    box-sizing: border-box;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color-1);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color-1);
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-toggle.active .menu-icon {
    background: transparent;
}

.menu-toggle.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 移动端隐藏hero区域（不占文档流） */
@media (max-width: 768px) {
    .hero {
        display: none;
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: var(--text-color);
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.15);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Web端布局：一行四个游戏卡片，只显示前8个 */
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        max-height: calc(2 * (350px + 30px)); /* 增加高度以确保显示两行8个游戏 */
        overflow: visible;
    }
    
    /* 只显示前8个游戏 */
    .games-grid > *:nth-child(n+9) {
        display: none;
    }
    
    .featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 中等屏幕优化 */
@media (min-width: 769px) and (max-width: 1023px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.game-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(156, 39, 176, 0.2);
}

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

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

.game-card-content {
    padding: 15px;
}

.game-card-title {
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Search */
.search-container {
    text-align: center;
    margin-bottom: 40px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    display: inline-block;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(225, 190, 231, 0.3);
    border-color: var(--accent-color-1);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    margin: 0 20px;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent-color-1);
}

.footer-bottom {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-game-title {
    font-size: 2rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin: 0;
}

.modal-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 25px;
}

/* 游戏iframe容器 */
.game-iframe-container {
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #000;
    min-height: 500px;
    flex-shrink: 0;
}

#gameIframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--accent-color-1);
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    transform: rotate(90deg);
    color: #ffffff;
    background: var(--accent-color-1);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Play按钮样式 */
.play-btn {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    margin: 20px 0;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    max-width: 200px;
    align-self: center;
}

.play-btn:hover, .play-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
    filter: brightness(1.05);
}

.play-btn:active {
    transform: translateY(0);
}

/* Game Details Page Styles */
.game-details {
    padding: 120px 0 80px;
}

.game-content {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-details-container {
    width: 100%;
}

.game-details-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.game-details-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.game-thumb-large {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.game-details-info {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.game-details-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-details-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.game-meta {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.game-category {
    background: rgba(156, 39, 176, 0.1);
    color: var(--accent-color-1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    align-items: center;
    justify-content: flex-start;
}

/* 按钮图标样式 */
.btn-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.play-game-btn {
    margin-right: 15px;
    margin-bottom: 15px;
    background: var(--accent-color-1);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.play-game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

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

.secondary-btn {
    background: transparent;
    border: 2px solid var(--accent-color-1);
    color: var(--accent-color-1);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--accent-color-1);
    color: white;
}

/* 游戏额外信息部分 */
.game-extra-info {
    margin-top: 40px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

/* 游戏统计信息 */
.game-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(156, 39, 176, 0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color-1);
    margin-bottom: 5px;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.game-iframe-section {
    margin-top: 40px;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.error-message h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color-1);
}

.loading-message {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
    padding: 60px 20px;
}

/* Responsive Game Details */
@media (max-width: 992px) {
    .game-details-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .game-details-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .game-details {
        padding: 100px 0 60px;
    }
    
    .game-details-info {
        padding: 25px 20px;
    }
    
    .game-details-title {
        font-size: 1.8rem;
    }
    
    .game-details-description {
        font-size: 1rem;
    }
    
    .play-game-btn,
    .secondary-btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .game-iframe-container {
        min-height: 400px;
    }
    
    #gameIframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .game-details {
        padding: 90px 0 50px;
    }
    
    .game-details-info {
        padding: 20px 15px;
    }
    
    .game-details-title {
        font-size: 1.6rem;
    }
    
    .game-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-iframe-container {
        min-height: 350px;
    }
    
    #gameIframe {
        height: 350px;
    }
}
/* 移动端响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95% !important;
        max-height: 95vh !important;
        padding: 25px 20px !important;
        border-radius: 20px !important;
    }
    
    /* 隐藏移动端的hero-container */
    .hero-container {
        display: none;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 15px;
        padding-right: 50px; /* 为关闭按钮留出空间 */
    }
    
    .modal-game-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin: 0;
    }
    
    .modal-description {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .play-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        font-size: 1.2rem !important;
        margin: 20px 0 !important;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .play-btn:hover, .play-btn:active {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
    }
    
    .game-iframe-container {
        margin-top: 20px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        min-height: 400px;
    }
    
    #gameIframe {
        height: 400px;
        touch-action: manipulation;
    }
    
    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1001;
    }
    
    .modal-close:hover, .modal-close:active {
        background: var(--accent-color-1);
        color: white;
        transform: rotate(90deg);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: white;
        z-index: 999;
        padding: 80px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        margin-bottom: 0;
    }
    
    .nav-link {
        display: block;
        padding: 16px 15px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        transition: all 0.2s ease;
        font-size: 1.1rem;
    }
    
    .nav-link:hover, .nav-link:active {
        background: rgba(156, 39, 176, 0.1);
        color: var(--accent-color-1);
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    /* 触摸优化 - 移除全局的touch-action设置，以允许正常滚动 */
    
    .games-grid, .featured-grid {
        gap: 25px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-card {
        transition: none;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .game-card:active {
        transform: scale(0.98);
    }
    
    .game-card-img {
        height: 150px;
        object-fit: cover;
    }
    
    .game-card-content {
        padding: 12px;
    }
    
    .game-card-title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .btn {
        transition: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .games-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-card {
        height: 100%;
    }
    
    .game-card-img {
        height: 140px;
    }
    
    .game-card-content {
        padding: 10px;
    }
    
    .game-card-title {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btn {
        max-width: 200px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav {
        width: 90%;
    }
    
    .category-card {
        padding: 25px 20px;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .about {
        margin: 0 15px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .modal-content {
        padding: 20px 15px !important;
    }
    
    .modal-game-title {
        font-size: 1.6rem !important;
    }
    
    .game-iframe-container {
        min-height: 350px;
    }
    
    #gameIframe {
        height: 350px;
    }
}