:root {
    --primary: #007AFF;
    --primary-dark: #0056CC;
    --accent: #FF9500;
    --success: #34C759;
    --danger: #FF3B30;
    --bg-primary: #F2F2F7;
    --bg-secondary: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #8E8E93;
    --text-tertiary: #C7C7CC;
    --border: #E5E5EA;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #5AC8FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: var(--border);
    transform: scale(1.05);
}

.search-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.top-nav {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.top-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
}

.top-nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-primary);
}

.top-nav-item.active {
    color: var(--primary);
    background: rgba(0, 122, 255, 0.1);
}

.top-nav-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.top-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.section-badge {
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-list.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.game-list.compact-scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.game-list.compact-scroll::-webkit-scrollbar {
    display: none;
}

.game-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-hover);
    border-color: var(--border);
}

.game-card:active {
    transform: translateY(0);
}

.game-card.featured {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.game-card.compact {
    flex-shrink: 0;
    width: 150px;
    flex-direction: column;
    padding: 10px;
}

.game-thumbnail-wrapper {
    position: relative;
    flex-shrink: 0;
}

.game-card.featured .game-thumbnail-wrapper {
    width: 100%;
}

.game-card.compact .game-thumbnail-wrapper {
    width: 100%;
}

.game-thumbnail {
    width: 100px;
    height: 75px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-primary);
}

.game-card.featured .game-thumbnail {
    width: 100%;
    height: 120px;
    border-radius: 16px 16px 0 0;
}

.game-card.compact .game-thumbnail {
    width: 100%;
    height: 100px;
    border-radius: 12px;
}

.game-hot-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 8px;
}

.game-category-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.game-card.featured .game-category-badge {
    top: 10px;
    right: 10px;
}

.game-card.compact .game-category-badge {
    display: none;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.game-card.featured .game-info {
    padding: 12px;
}

.game-card.compact .game-info {
    padding-top: 8px;
}

.game-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-card.featured .game-title {
    font-size: 15px;
}

.game-card.compact .game-title {
    font-size: 13px;
    margin-bottom: 0;
}

.game-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.game-card.featured .game-desc {
    font-size: 12px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.game-card.compact .game-desc {
    display: none;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-card.featured .game-meta {
    justify-content: space-between;
}

.game-card.compact .game-meta {
    display: none;
}

.game-category {
    background: var(--bg-primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.game-card.featured .game-category {
    font-size: 10px;
    padding: 3px 8px;
}

.game-play-btn {
    margin-left: auto;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.game-card.featured .game-play-btn {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    text-align: center;
}

.game-play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.game-play-btn:active {
    transform: scale(0.98);
}

/* All Games 模块 - 海报式网格卡片 */
.all-games {
    margin-bottom: 40px;
}

.all-games .section-header {
    margin-bottom: 16px;
    padding: 0;
}

.all-games .section-title {
    font-size: 20px;
    font-weight: 700;
}

.all-games .section-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border);
}

.all-games .game-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.all-games .game-card {
    position: relative;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    gap: 0;
    box-shadow: 0 2px 8px var(--shadow);
    cursor: pointer;
}

.all-games .game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--shadow-hover);
    border-color: var(--primary);
}

.all-games .game-card:active {
    transform: translateY(-1px);
}

.all-games .game-thumbnail-wrapper {
    width: 100%;
    position: relative;
    padding-top: 75%; /* 4:3 比例 */
}

.all-games .game-category-badge {
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.all-games .game-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

.all-games .game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    justify-content: flex-end;
    gap: 0;
    z-index: 1;
}

.all-games .game-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    margin-bottom: 0;
}

.all-games .game-desc,
.all-games .game-meta {
    display: none;
}

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

.load-more-btn {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

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

.category-nav {
    margin-bottom: 24px;
}

.category-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.category-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.ranking-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-hover);
    border-color: var(--border);
}

.ranking-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}

.ranking-item:nth-child(1) .ranking-number {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.ranking-item:nth-child(2) .ranking-number {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: white;
}

.ranking-item:nth-child(3) .ranking-number {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: white;
}

.ranking-item:nth-child(n+4) .ranking-number {
    background: var(--bg-primary);
    color: var(--text-secondary);
}

.ranking-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.ranking-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.ranking-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-category {
    font-size: 12px;
    color: var(--text-secondary);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.back-btn:hover {
    background: var(--border);
    transform: scale(1.05);
}

.back-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.detail-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-content {
    padding: 20px;
}

.detail-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.detail-info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.detail-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.detail-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-controls {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-primary);
}

.play-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.fullscreen-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.fullscreen-btn:hover {
    background: var(--border);
    transform: scale(1.05);
}

.fullscreen-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.game-frame-container {
    width: 100%;
    height: calc(100vh - 60px);
    position: relative;
    background: #000;
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

.loading-overlay.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.static-content {
    padding: 20px;
}

.static-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.static-content h3:first-child {
    margin-top: 0;
}

.static-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.static-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.static-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.static-date {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.about-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 24px;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: var(--bg-primary);
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.clear-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.clear-btn.visible {
    opacity: 1;
    visibility: visible;
}

.clear-btn:hover {
    background: var(--bg-primary);
}

.clear-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.search-results {
    padding: 20px;
}

.search-grid-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.search-grid .game-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--shadow);
}

.search-grid .game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--shadow-hover);
    border-color: var(--primary);
}

.search-grid .game-thumbnail-wrapper {
    width: 100%;
    position: relative;
    padding-top: 75%;
}

.search-grid .game-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.search-grid .game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    gap: 0;
}

.search-grid .game-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    margin-bottom: 0;
}

.search-grid .game-desc,
.search-grid .game-meta {
    display: none;
}

.search-grid .game-category-badge {
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .search-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .search-grid .game-title {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .search-grid .game-title {
        font-size: 15px;
    }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.no-results-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.no-results-hint {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer {
    background: #1C1C1E;
    padding: 24px 20px 0;
    margin-top: 16px;
    border-radius: 16px 16px 0 0;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 12px;
    font-size: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.footer-links span {
    display: none;
}

.footer-brand {
    text-align: center;
    padding: 20px 0 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand .logo-text {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #5AC8FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

@media (min-width: 480px) {
    .footer-links {
        grid-template-columns: repeat(5, auto);
        justify-content: center;
        gap: 4px 16px;
    }
}

@media (min-width: 768px) {
    .footer {
        padding: 28px 32px 0;
        margin-top: 24px;
        border-radius: 20px 20px 0 0;
    }

    .footer-inner {
        max-width: 800px;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 2px;
    }

    .footer-links a {
        padding: 8px 16px;
    }

    .footer-links span {
        display: inline;
        color: rgba(255, 255, 255, 0.2);
    }

    .footer-brand {
        font-size: 13px;
    }

    .game-card {
        padding: 16px;
        gap: 16px;
    }

    .game-thumbnail {
        width: 120px;
        height: 90px;
    }

    .game-title {
        font-size: 17px;
    }

    .game-desc {
        font-size: 14px;
    }

    .game-card.compact {
        width: 180px;
    }

    .game-card.compact .game-thumbnail {
        height: 120px;
    }

    .top-nav-item svg {
        width: 28px;
        height: 28px;
    }

    .top-nav-item span {
        font-size: 12px;
    }

    .all-games .game-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .all-games .game-title {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .game-list:not(.featured-grid):not(.compact-scroll) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .game-card {
        border-radius: 20px;
    }

    .game-list.featured-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .game-card.featured .game-thumbnail {
        height: 150px;
    }

    .ranking-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .all-games .game-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .all-games .game-title {
        font-size: 15px;
    }
}
