/*
    CSS: style-embed.css
    -----------------------
    【最终视觉微调】
    - 背景图已按要求调整得更模糊、更透明。
    - 所有其他效果、功能和布局保持不变。
*/

:root {
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --color-text-primary: #2c2c2e;
    --color-text-secondary: #5a6470;
    --color-accent: #ff4500;
    --color-accent-hover: #ff6347;
    --color-surface-bg: rgba(255, 255, 255, 0.75);
    --color-surface-border: rgba(0, 0, 0, 0.08);
}

@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes shine-pass {
    0% { transform: skewX(-25deg) translateX(-150%); }
    100% { transform: skewX(-25deg) translateX(150%); }
}

html, body, #theGameBox {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    margin: 0; padding: 0;
    font-family: var(--font-stack);
    background: linear-gradient(135deg, #fff0e6, #ffe8d9, #ffd8cc, #ffceb8);
    background-size: 300% 300%;
    animation: animated-gradient 8s ease infinite;
    overflow: hidden;
    color: var(--color-text-primary);
}

/* 模糊背景图逻辑 */
.gamePlayerBg .gamePlayerBgImage { display: none; }
.has-image .gamePlayerBg .gamePlayerBgImage {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* 
      【关键修改】
      - 模糊度增加: blur(40px)
      - 不透明度降低: opacity(0.5)
      - 饱和度和亮度微调，使其更柔和
    */
    filter: blur(29px) saturate(100%) brightness(1) opacity(0.9);
    transform: scale(1.25); /* 稍微放大一点以确保模糊边缘不穿帮 */
    transition: transform 0.8s ease-out; 
}

/* 内容面板 */
.gamePlayerSplashContent {
    background: var(--color-surface-bg);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid var(--color-surface-border);
    border-radius: 20px;
    width: 90%; max-width: 850px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 69, 0, 0.1);
    animation: popIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    padding: clamp(20px, 4vw, 40px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gamePlayerSplashContent:hover {
    box-shadow: 0 12px 55px rgba(0, 0, 0, 0.12), 0 0 35px rgba(255, 69, 0, 0.2);
    transform: translateY(-2px);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.95); } }

.gamePlayerSplashContent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    animation: shine-pass 4s cubic-bezier(0.4, 0.0, 0.2, 1) 1s infinite;
    pointer-events: none;
}

.gamePlayerSplash {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; box-sizing: border-box;
}

.gamePlayerCenterContent {
    display: grid; grid-template-columns: 2fr 1fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}
#theGameBox:not(.has-image) .gamePlayerCenterContent {
    grid-template-columns: 1fr;
    text-align: center;
}

.gamePlayerTitle {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700; color: var(--color-text-primary);
    margin: 0 0 1rem 0;
}
.gamePlayerPrerollDescription {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--color-text-secondary);
    line-height: 1.6; margin: 0 0 1.5rem 0;
}
.gamePlayerPrerollCTA span {
    display: inline-block; background-color: var(--color-accent); color: #fff;
    padding: 14px 35px; border-radius: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.25);
}
.gamePlayerPrerollCTA:hover span {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.4);
}

.gamePlayerThumb > div {
    width: 100%; aspect-ratio: 2 / 1;
    background-size: cover; background-position: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gamePlayerThumb:hover > div {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gamePlayerLoadingAnim {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 244, 240, 0.9);
    backdrop-filter: blur(5px); z-index: 10000;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.gamePlayerLoadingAnim div { border-color: var(--color-accent) transparent transparent transparent; }
.gamePlayerLoadingAnim span { color: var(--color-text-secondary); margin-top: 120px; }

.gamePlayerHidden { display: none !important; }

@media (max-width: 768px) {
    #theGameBox:not(.has-image) .gamePlayerCenterContent,
    .has-image .gamePlayerCenterContent {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gamePlayerThumb { display: none; }
}

.gamePlayerLoadingAnim div {
    box-sizing: border-box; display: block; position: absolute;
    width: 64px; height: 64px; margin: 4px;
    border-width: 3px; border-style: solid; border-radius: 50%;
    animation: gamePlayerLoadingAnim 1s infinite;
}
.gamePlayerLoadingAnim div:nth-child(1) { animation-delay: -0.9s; }
.gamePlayerLoadingAnim div:nth-child(2) { animation-delay: -0.8s; }
.gamePlayerLoadingAnim div:nth-child(3) { animation-delay: -0.1s; }
@keyframes gamePlayerLoadingAnim {
    from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}