/* =============================================
   PlayJoy - Bright Neon Style / 亮色霓虹风格
   与旧版：视觉效果完全不同
   - 浅色背景 + 鲜艳霓虹渐变强调色
   - 卡片大圆角+发光边框
   - 按钮渐变+发光阴影
   - 标题渐变文字效果
   ============================================= */

:root {
    --neon-pink: #ff0080;
    --neon-purple: #9d00ff;
    --neon-cyan: #00d4ff;
    --neon-gradient: linear-gradient(135deg, #ff0080, #9d00ff, #00d4ff);
    --bg-main: #fff5fa;
    --bg-gradient: linear-gradient(135deg, #fff5fa 0%, #f5f0ff 50%, #f0fdff 100%);
    --card-bg: #ffffff;
    --card-shadow: 0 4px 30px rgba(255, 0, 128, 0.12);
    --border-color: rgba(255, 0, 128, 0.2);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aa0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff5fa;
    background: linear-gradient(135deg, #fff5fa 0%, #f5f0ff 50%, #f0fdff 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.page-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 0, 128, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(255, 0, 128, 0.08);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0080, #9d00ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.3));
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 0, 128, 0.15);
    border-radius: 25px;
    overflow: hidden;
    width: 100%;
    max-width: 580px;
    transition: all 0.3s ease;
    position: relative;
}

.search-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 27px;
    background: linear-gradient(135deg, #ff0080, #9d00ff, #00d4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.search-box:focus-within {
    background: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.2), 0 0 60px rgba(157, 0, 255, 0.1);
}

.search-box:focus-within::before {
    opacity: 0.6;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 24px;
    font-size: 15px;
    color: var(--text-primary);
    background: transparent;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    border: none;
    background: linear-gradient(135deg, #ff0080 0%, #9d00ff 100%);
    color: #fff;
    width: 56px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-radius: 18px;
    margin: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
}

.search-box button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(255, 0, 128, 0.45);
}

.search-box button:active {
    transform: scale(0.95);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 20px 18px;
    background: transparent;
}

.main-nav a {
    display: inline-block;
    padding: 12px 28px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 14px;
    border-radius: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 0, 128, 0.15);
    background: rgba(255, 255, 255, 0.6);
}

.main-nav a:hover {
    background: rgba(255, 0, 128, 0.05);
    color: #ff0080;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.15);
    border-color: rgba(255, 0, 128, 0.4);
}

.main-nav a.active {
    background: linear-gradient(135deg, #ff0080 0%, #9d00ff 100%);
    color: #fff;
    box-shadow: 0 4px 25px rgba(255, 0, 128, 0.4), 0 0 40px rgba(157, 0, 255, 0.25);
    border-color: transparent;
}

.main-nav a::after {
    display: none !important;
}

.site-main {
    padding: 48px 0 80px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 0 4px;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0080, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title .icon {
    font-size: 32px;
    background: none;
    -webkit-text-fill-color: #ff0080;
}

.view-all {
    color: #ff0080;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
}

.view-all:hover {
    color: #9d00ff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.game-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 128, 0.1);
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.08);
}

.game-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, #ff0080, #9d00ff, #00d4ff);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 50px rgba(255, 0, 128, 0.2), 0 0 40px rgba(157, 0, 255, 0.1);
    border-color: rgba(255, 0, 128, 0.3);
}

.game-card:hover::before {
    opacity: 0.5;
}

.game-card a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.game-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.5s ease;
}

.game-card:hover img {
    transform: scale(1.08);
}

.game-card .game-title {
    position: static;
    padding: 16px 20px 20px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
    background: #ffffff;
    background-image: none;
    border-top: 1px solid rgba(255, 0, 128, 0.05);
}

.load-more {
    text-align: center;
    margin-top: 56px;
}

.load-more button {
    background: transparent;
    color: #ff0080;
    border: 2px solid #ff0080;
    padding: 16px 64px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.15);
}

.load-more button:hover {
    background: linear-gradient(135deg, #ff0080 0%, #9d00ff 100%);
    color: #fff;
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.35), 0 0 70px rgba(157, 0, 255, 0.2);
    transform: translateY(-2px);
}

.load-more button:disabled {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
}

.site-footer {
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 0, 128, 0.1);
    color: var(--text-secondary);
    padding: 56px 0;
    box-shadow: 0 -4px 30px rgba(255, 0, 128, 0.05);
}

.site-footer .page-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.site-footer .footer-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-radius: 0;
    transition: all 0.2s;
}

.site-footer .footer-links a:hover {
    color: #ff0080;
    background: none;
}

.site-footer p {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #ff0080 0%, #9d00ff 100%);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 90;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.back-to-top.show {
    display: flex;
    animation: pulse 2s infinite;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.45), 0 0 70px rgba(157, 0, 255, 0.3);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 0, 128, 0.3); }
    50% { box-shadow: 0 0 50px rgba(255, 0, 128, 0.5); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 245, 250, 0.98);
    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: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff0080;
    animation: bounce 0.6s infinite alternate;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: #9d00ff;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

.category-title {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0080, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    text-align: left;
    letter-spacing: -1px;
    padding: 0 4px;
}

.no-results {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-muted);
    font-size: 18px;
}

.no-results-icon {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.5;
}

/* =================================================================
   DETAIL PAGE
   ================================================================= */

.game {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.game-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    background: #ffffff;
    border: 2px solid rgba(255, 0, 128, 0.15);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(255, 0, 128, 0.1);
}

.game-preview-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px;
    text-align: center;
    z-index: 2;
}

.game-preview-icon {
    position: relative;
    display: inline-block;
}

.game-preview-icon img {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    object-fit: cover;
    border: 3px solid #ff0080;
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.3);
}

.game-preview-title {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    max-width: 90%;
    line-height: 1.2;
}

.play-game-btn {
    border: none;
    background: linear-gradient(135deg, #ff0080 0%, #9d00ff 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 60px;
    border-radius: 100px;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 4px 25px rgba(255, 0, 128, 0.35);
    transition: all 0.3s ease;
}

.play-game-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 40px rgba(255, 0, 128, 0.45), 0 0 50px rgba(157, 0, 255, 0.3);
}

.game-iframe-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #000;
    border-radius: 28px;
    overflow: hidden;
}

.game-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 2px solid #ff0080;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #ff0080;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.2);
    transition: all 0.2s;
}

.game-close-btn:hover {
    background: #ff0080;
    color: #fff;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.4);
}

.game-actions-bar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: none;
    margin: 0;
    padding: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 2px solid rgba(255, 0, 128, 0.15);
    border-radius: 18px;
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.06);
}

.action-btn:hover {
    background: rgba(255, 0, 128, 0.03);
    border-color: #ff0080;
    box-shadow: 0 4px 25px rgba(255, 0, 128, 0.15);
    transform: translateY(-2px);
}

.action-btn .icon {
    font-size: 20px;
}

.game-intro {
    background: #ffffff;
    border: 2px solid rgba(255, 0, 128, 0.15);
    border-radius: 18px;
    padding: 28px 32px;
    max-width: none;
    margin: 0;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.06);
}

.game-intro h2 {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0080, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.game-intro p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.game-detail-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.install-btn {
    display: none;
}

.game .game-actions-bar + .game-intro {
    margin-top: 0;
}

.game > .similar-games-section {
    grid-column: 1 / -1;
    margin-top: 48px;
    max-width: none;
    padding: 0;
}

/* ============= Similar Games ============= */
.similar-games-section {
    max-width: 1200px;
    margin: 64px auto 0;
    padding: 0 32px;
}

.similar-games-section .section-title {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0080, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.similar-games-section .section-title .icon {
    font-size: 30px;
    -webkit-text-fill-color: #ff0080;
}

.similar-games-scroll-wrap {
    position: relative;
}

.similar-games-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 4px 28px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ff0080 rgba(255, 255, 255, 0.3);
}

.similar-games-scroll::-webkit-scrollbar {
    height: 8px;
}

.similar-games-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.similar-games-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ff0080, #9d00ff);
    border-radius: 10px;
}

.similar-game-card {
    flex: 0 0 auto;
    width: 180px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 128, 0.1);
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.06);
}

.similar-game-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 35px rgba(255, 0, 128, 0.18);
    border-color: rgba(255, 0, 128, 0.3);
}

.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: rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease;
}

.similar-game-card:hover img {
    transform: scale(1.06);
}

.similar-game-card .game-title {
    position: static;
    padding: 12px 14px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
    background-image: none;
    border-top: 1px solid rgba(255, 0, 128, 0.05);
}

/* ============= 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: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #ff0080;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff0080;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.app-module .game-close-btn:hover {
    background: #ff0080;
    color: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .game {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .page-wrapper {
        padding: 0 24px;
    }

    .header-top {
        padding: 16px 24px;
    }

    .category-title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .game {
        padding: 36px 24px 60px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 16px;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        margin-top: 4px;
    }

    .main-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 10px 14px 16px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        font-size: 12px;
        padding: 10px 18px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .game-card {
        border-radius: 18px;
    }

    .game-card .game-title {
        font-size: 14px;
        padding: 12px 14px 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .game {
        grid-template-columns: 1fr;
        padding: 24px 18px 48px;
    }

    .game-preview {
        border-radius: 20px;
    }

    .game-preview-icon img {
        width: 120px;
        height: 120px;
    }

    .game-preview-title {
        font-size: 24px;
    }

    .play-game-btn {
        font-size: 14px;
        padding: 14px 48px;
    }

    .action-btn {
        font-size: 14px;
        padding: 14px 20px;
    }

    .game-intro {
        padding: 22px;
    }

    .similar-games-section {
        padding: 0 24px;
        margin-top: 48px;
    }

    .similar-game-card {
        width: 150px;
    }

    .site-footer .page-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .site-footer .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        height: 32px;
    }

    .search-box input {
        padding: 14px 18px;
        font-size: 14px;
    }

    .search-box button {
        width: 48px;
        height: 42px;
    }

    .game-card {
        border-radius: 14px;
    }

    .game-card img {
        aspect-ratio: 4 / 3;
    }

    .game-card .game-title {
        font-size: 12px;
        padding: 10px 12px 14px;
    }

    .category-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .load-more button {
        padding: 14px 48px;
        font-size: 14px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .game {
        padding: 18px 14px 36px;
        gap: 24px;
    }

    .game-preview {
        border-radius: 16px;
        aspect-ratio: auto;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .game-preview-inner {
        position: static;
        gap: 12px;
        padding: 12px 0 0;
    }

    .game-preview-icon img {
        width: 140px;
        height: 140px;
        border-radius: 24px;
    }

    .play-game-btn {
        position: absolute;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        font-size: 13px;
        padding: 10px 32px;
    }

    .install-btn {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff0080 0%, #9d00ff 100%);
        color: #fff;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
        transition: transform 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;
    }

    .game-actions-bar {
        margin-top: 0;
    }

    .action-btn {
        font-size: 13px;
        padding: 12px 16px;
    }

    .game-intro {
        padding: 18px;
        border-radius: 14px;
    }

    .game-intro h2 {
        font-size: 16px;
    }

    .game-intro p {
        font-size: 13px;
    }

    .similar-games-section {
        padding: 0 14px;
        margin-top: 40px;
    }

    .similar-games-section .section-title {
        font-size: 18px;
    }

    .similar-games-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        overflow-x: visible;
        padding: 0;
    }

    .similar-game-card {
        width: 100%;
        border-radius: 14px;
    }

    .similar-game-card .game-title {
        font-size: 11px;
        padding: 8px 10px 12px;
    }
}