/* =============================================
   PlayJoy - Cartoon Bright Style / 卡通明亮风格
   配色方案：
   - 页面背景：#FFFCF3 浅米色
   - 主色：#FFE8A3 浅黄色
   - 辅助色：#A3D8FF 浅蓝色
   - 卡片：纯白色 #FFFFFF
   - 文字：#4A4A4A 深灰色
   - 强调色：#FFB366 浅橙色
   ============================================= */

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

html, body {
    min-height: 100%;
    font-family: "Comic Sans MS", "Chalkboard", "Comic Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #FFFCF3;
    color: #4A4A4A;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

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

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

/* ============= Page Wrapper ============= */
.page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============= Header ============= */
.site-header {
    background: linear-gradient(180deg, #FFE8A3 0%, #FFFCF3 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(255, 232, 163, 0.3);
    border-radius: 0 0 24px 24px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #4A4A4A;
    letter-spacing: 1px;
    flex-shrink: 0;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
}

.logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.05));
}

/* ============= Search - Cartoon style ============= */
.search-box {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 3px solid #FFE8A3;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 520px;
    box-shadow: 4px 4px 0 rgba(255, 232, 163, 0.4);
    transition: all 0.2s;
}

.search-box:focus-within {
    border-color: #A3D8FF;
    box-shadow: 4px 4px 0 rgba(163, 216, 255, 0.4);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 15px;
    color: #4A4A4A;
    background: transparent;
    font-family: inherit;
}

.search-box input::placeholder {
    color: #B8B8B8;
}

.search-box button {
    border: none;
    background: linear-gradient(135deg, #FFE8A3 0%, #FFD970 100%);
    color: #4A4A4A;
    width: 56px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-radius: 14px;
    margin: 4px;
    transition: all 0.2s;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}

.search-box button:hover {
    background: linear-gradient(135deg, #FFD970 0%, #FFC940 100%);
    transform: translateY(-1px);
}

.search-box button:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* ============= Navigation - Cartoon pill buttons ============= */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px 18px;
}

.main-nav a {
    display: inline-block;
    padding: 10px 22px;
    color: #6B6B6B;
    font-weight: 700;
    font-size: 14px;
    border-radius: 100px;
    background: #FFFFFF;
    border: 2px solid #FFE8A3;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 3px 3px 0 rgba(255, 232, 163, 0.3);
}

.main-nav a:hover {
    background: #FFF8E1;
    color: #4A4A4A;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(255, 232, 163, 0.4);
}

.main-nav a.active {
    background: linear-gradient(135deg, #A3D8FF 0%, #7CC0FF 100%);
    color: #FFFFFF;
    border-color: #7CC0FF;
    box-shadow: 3px 3px 0 rgba(124, 192, 255, 0.4);
}

.main-nav a::after {
    display: none !important;
}

/* ============= Main Content ============= */
.site-main {
    padding: 36px 0 70px;
}

/* ============= Section Header ============= */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 4px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #4A4A4A;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

.section-title .icon {
    font-size: 28px;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.1));
}

.view-all {
    color: #FFB366;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
}

.view-all:hover {
    color: #FF9933;
}

/* ============= Games Grid - Horizontal scroll for hot/new games ============= */
#hotGames, #newGames {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 20px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #FFE8A3 transparent;
}

#hotGames::-webkit-scrollbar, #newGames::-webkit-scrollbar {
    height: 8px;
}

#hotGames::-webkit-scrollbar-track, #newGames::-webkit-scrollbar-track {
    background: rgba(255, 232, 163, 0.2);
    border-radius: 10px;
}

#hotGames::-webkit-scrollbar-thumb, #newGames::-webkit-scrollbar-thumb {
    background: #FFE8A3;
    border-radius: 10px;
    border: 2px solid #FFFCF3;
}

#allGames {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ============= Game Card - Horizontal scroll card ============= */
#hotGames .game-card, #newGames .game-card {
    flex: 0 0 auto;
    width: 180px;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid #FFE8A3;
    transition: all 0.25s;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(255, 232, 163, 0.3);
}

#hotGames .game-card:hover, #newGames .game-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 8px 8px 0 rgba(255, 232, 163, 0.4);
    border-color: #A3D8FF;
}

#allGames .game-card {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid #FFE8A3;
    transition: all 0.25s;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(255, 232, 163, 0.3);
}

#allGames .game-card:hover {
    transform: translateY(-6px);
    box-shadow: 8px 8px 0 rgba(255, 232, 163, 0.4);
    border-color: #A3D8FF;
}

.game-card a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.game-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #FFF8E1;
    transition: transform 0.4s;
}

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

.game-card .game-title {
    position: static;
    padding: 12px 14px 16px;
    color: #4A4A4A;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #FFFFFF;
    background-image: none;
    border-top: 2px solid #FFF8E1;
}

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

.load-more button {
    background: #FFFFFF;
    color: #FFB366;
    border: 3px solid #FFB366;
    padding: 14px 56px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    box-shadow: 4px 4px 0 rgba(255, 179, 102, 0.3);
}

.load-more button:hover {
    background: linear-gradient(135deg, #FFB366 0%, #FF9933 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 rgba(255, 179, 102, 0.4);
}

.load-more button:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0 rgba(255, 179, 102, 0.3);
}

.load-more button:disabled {
    background: #FFF8E1;
    color: #B8B8B8;
    border-color: #FFE8A3;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ============= Footer - Cartoon style ============= */
.site-footer {
    background: linear-gradient(180deg, #FFFCF3 0%, #FFE8A3 100%);
    color: #6B6B6B;
    padding: 40px 0;
    border-radius: 24px 24px 0 0;
}

.site-footer .page-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.site-footer .footer-links a {
    font-weight: 700;
    font-size: 14px;
    color: #6B6B6B;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    display: inline-block;
    width: fit-content;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}

.site-footer .footer-links a:hover {
    color: #4A4A4A;
    background: #FFFFFF;
    transform: translateX(4px);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.08);
}

.site-footer p {
    margin: 4px 0;
    font-size: 13px;
    color: #8B8B8B;
}

/* ============= Back To Top ============= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: #FFFFFF;
    color: #FFB366;
    border: 3px solid #FFB366;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 90;
    box-shadow: 4px 4px 0 rgba(255, 179, 102, 0.3);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #FFB366 0%, #FF9933 100%);
    color: #FFFFFF;
    border-color: #FF9933;
    box-shadow: 6px 6px 0 rgba(255, 179, 102, 0.4);
    transform: translateY(-4px) rotate(10deg);
}

/* ============= Loading ============= */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 252, 243, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 100001;
    transition: opacity 0.3s;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFE8A3;
    border: 2px solid #FFD970;
    animation: bounce 0.6s infinite alternate;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: #A3D8FF;
    border-color: #7CC0FF;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: #FFB366;
    border-color: #FF9933;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

/* ============= Category Title ============= */
.category-title {
    font-size: 32px;
    font-weight: 900;
    color: #4A4A4A;
    margin-bottom: 32px;
    text-align: left;
    letter-spacing: 1px;
    padding: 0 4px;
    text-shadow: 2px 2px 0 rgba(255, 232, 163, 0.4);
}

/* ============= No Results ============= */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #B8B8B8;
    font-size: 17px;
}

.no-results-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* =================================================================
   DETAIL PAGE - Cartoon bright style
   ================================================================= */

.game {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

/* Preview - Left column */
.game-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    background: #FFF8E1;
    border: 4px solid #FFE8A3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(255, 232, 163, 0.3);
}

.game-preview-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
    z-index: 2;
}

.game-preview-icon {
    position: relative;
    display: inline-block;
}

.game-preview-icon img {
    width: 130px;
    height: 130px;
    border-radius: 24px;
    object-fit: cover;
    border: 4px solid #FFFFFF;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
}

.game-preview-title {
    color: #4A4A4A;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    max-width: 90%;
    line-height: 1.2;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

.play-game-btn {
    border: none;
    background: linear-gradient(135deg, #FFB366 0%, #FF9933 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 56px;
    border-radius: 100px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 4px 4px 0 rgba(255, 153, 51, 0.4);
    transition: all 0.2s;
}

.play-game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 rgba(255, 153, 51, 0.5);
}

/* Game iframe */
.game-iframe-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.game-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    color: #4A4A4A;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    border: 2px solid #FFE8A3;
    transition: all 0.2s;
}

.game-close-btn:hover {
    background: #FFE8A3;
    transform: rotate(90deg);
}

/* Right column - buttons and intro */
.game-actions-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: none;
    margin: 0;
    padding: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FFFFFF;
    border: 3px solid #FFE8A3;
    border-radius: 18px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #4A4A4A;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    box-shadow: 3px 3px 0 rgba(255, 232, 163, 0.2);
}

.action-btn:hover {
    background: #FFF8E1;
    border-color: #A3D8FF;
    box-shadow: 4px 4px 0 rgba(163, 216, 255, 0.3);
    transform: translateY(-2px);
}

.action-btn .icon {
    font-size: 18px;
}

.game-intro {
    background: #FFFFFF;
    border: 3px solid #FFE8A3;
    border-radius: 18px;
    padding: 24px 28px;
    max-width: none;
    margin: 0;
    box-shadow: 3px 3px 0 rgba(255, 232, 163, 0.2);
}

.game-intro h2 {
    font-size: 18px;
    font-weight: 800;
    color: #4A4A4A;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.game-intro p {
    font-size: 14px;
    color: #6B6B6B;
    line-height: 1.7;
}

/* Right column wrapper */
.game-detail-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Install button (mobile) */
.install-btn {
    display: none;
}

.game .game-actions-bar + .game-intro {
    margin-top: 0;
}

/* Similar Games - Full width */
.game > .similar-games-section {
    grid-column: 1 / -1;
    margin-top: 36px;
    max-width: none;
    padding: 0;
}

/* ============= Similar Games ============= */
.similar-games-section {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 24px;
}

.similar-games-section .section-title {
    font-size: 22px;
    font-weight: 800;
    color: #4A4A4A;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.similar-games-section .section-title .icon {
    font-size: 26px;
}

.similar-games-scroll-wrap {
    position: relative;
}

.similar-games-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 20px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #FFE8A3 transparent;
}

.similar-games-scroll::-webkit-scrollbar {
    height: 6px;
}

.similar-games-scroll::-webkit-scrollbar-track {
    background: rgba(255, 232, 163, 0.2);
    border-radius: 10px;
}

.similar-games-scroll::-webkit-scrollbar-thumb {
    background: #FFE8A3;
    border-radius: 10px;
}

.similar-game-card {
    flex: 0 0 auto;
    width: 160px;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #FFE8A3;
    transition: all 0.25s;
    box-shadow: 3px 3px 0 rgba(255, 232, 163, 0.2);
}

.similar-game-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 6px 6px 0 rgba(255, 232, 163, 0.3);
    border-color: #A3D8FF;
}

.similar-game-card a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.similar-game-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #FFF8E1;
    transition: transform 0.3s;
}

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

.similar-game-card .game-title {
    position: static;
    padding: 10px 12px 14px;
    color: #4A4A4A;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #FFFFFF;
    background-image: none;
    border-top: 2px solid #FFF8E1;
}

/* ============= Fullscreen Game ============= */
.app-module {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
}

.app-module iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.app-module .game-close-btn {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #4A4A4A;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFE8A3;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
    #allGames {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .game {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    #allGames {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .page-wrapper {
        padding: 0 16px;
    }

    .header-top {
        padding: 14px 16px;
    }

    .category-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .game {
        padding: 24px 16px 56px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        margin-top: 2px;
    }

    .main-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 8px 12px 14px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        font-size: 13px;
        padding: 8px 16px;
    }

    #allGames {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    #hotGames .game-card, #newGames .game-card {
        width: 150px;
    }

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

    .game-card .game-title {
        font-size: 13px;
        padding: 10px 10px 12px;
    }

    .section-title {
        font-size: 20px;
    }

    .game {
        grid-template-columns: 1fr;
        padding: 16px 12px 40px;
    }

    .game-preview {
        border-radius: 18px;
        border-width: 3px;
    }

    .game-preview-icon img {
        width: 100px;
        height: 100px;
    }

    .game-preview-title {
        font-size: 22px;
    }

    .play-game-btn {
        font-size: 14px;
        padding: 12px 40px;
    }

    .action-btn {
        font-size: 14px;
        padding: 14px 20px;
    }

    .game-intro {
        padding: 20px;
    }

    .similar-games-section {
        padding: 0 16px;
        margin-top: 36px;
    }

    .similar-game-card {
        width: 130px;
    }

    .site-footer .page-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .site-footer .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    #allGames {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #hotGames .game-card, #newGames .game-card {
        width: 130px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        height: 30px;
    }

    .search-box input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .search-box button {
        width: 44px;
        height: 40px;
    }

    .game-card {
        border-radius: 12px;
        border-width: 2px;
    }

    .game-card img {
        aspect-ratio: 4 / 3;
    }

    .game-card .game-title {
        font-size: 12px;
        padding: 8px 8px 10px;
    }

    .category-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .load-more button {
        padding: 12px 40px;
        font-size: 14px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    /* Detail mobile */
    .game {
        padding: 12px 10px 32px;
        gap: 16px;
    }

    .game-preview {
        border-radius: 14px;
        aspect-ratio: auto;
        border-width: 2px;
        box-shadow: 4px 4px 0 rgba(255, 232, 163, 0.2);
        background: transparent;
    }

    .game-preview-inner {
        position: static;
        gap: 8px;
        padding: 8px 0 0;
    }

    .game-preview-icon img {
        width: 140px;
        height: 140px;
        border-radius: 20px;
    }

    .play-game-btn {
        position: absolute;
        left: 50%;
        bottom: 8px;
        transform: translateX(-50%);
        font-size: 13px;
        padding: 10px 32px;
    }

    .install-btn {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 50%;
        background: linear-gradient(135deg, #FFB366 0%, #FF9933 100%);
        color: #fff;
        font-size: 22px;
        font-weight: 800;
        line-height: 1;
        cursor: pointer;
        box-shadow: 3px 3px 0 rgba(255,153,51,0.35);
        transition: all 0.2s;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .install-btn:hover {
        transform: scale(1.1);
    }

    .game-preview-title {
        font-size: 20px;
        margin-top: 4px;
        color: #4A4A4A;
    }

    .game-actions-bar {
        margin-top: 0;
    }

    .action-btn {
        font-size: 13px;
        padding: 12px 16px;
        border-width: 2px;
    }

    .game-intro {
        padding: 16px;
        border-radius: 14px;
        border-width: 2px;
    }

    .game-intro h2 {
        font-size: 16px;
        color: #4A4A4A;
    }

    .game-intro p {
        font-size: 13px;
        color: #6B6B6B;
    }

    .similar-games-section {
        padding: 0 10px;
        margin-top: 28px;
    }

    .similar-games-section .section-title {
        font-size: 16px;
        color: #4A4A4A;
    }

    .similar-games-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        overflow-x: visible;
        padding: 0;
    }

    .similar-game-card {
        width: 100%;
        border-width: 2px;
    }

    .similar-game-card .game-title {
        font-size: 11px;
        padding: 6px 8px 10px;
    }
}