/* style.css */

/* 基本的 body 样式，设置背景和字体 */
body {
    /* 一个可爱的、多彩的背景渐变 */
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    /* 设置一个清晰、现代的字体，如果 Poppins 不可用，则使用 sans-serif */
    font-family: 'Poppins', sans-serif;
    /* 抗锯齿使字体更平滑 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 语言切换按钮的激活状态 */
.lang-btn.active {
    /* 给当前选中的语言按钮添加下划线和不同的背景色 */
    text-decoration: underline;
    background-color: rgba(255, 255, 255, 0.3); /* 轻微的白色背景 */
}

/* iFrame 容器在全屏时的样式 */
#game-container.is-fullscreen {
    /* 全屏时，确保容器覆盖整个屏幕，没有边距 */
    padding: 0;
    margin: 0;
    /* 背景设为黑色，以防游戏内容未完全填充 */
    background-color: #000;
}

#game-container.is-fullscreen iframe {
    /* 确保 iframe 在容器全屏时也撑满 */
    width: 100vw; /* 视口宽度 */
    height: 100vh; /* 视口高度 */
}

/* 增加一些 Tailwind 未直接处理的细节 */
/* 例如，为评论部分添加特定样式 */
.review-bubble {
    /* 模拟聊天气泡效果 */
    position: relative;
    background: #f0f0f0; /* 浅灰色背景 */
    border-radius: .4em; /* 圆角 */
    padding: 1em; /* 内边距 */
    margin-bottom: 1em; /* 与下一个气泡的间距 */
}

/* 为气泡添加一个小三角 */
.review-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #f0f0f0;
    border-left: 0;
    margin-top: -10px;
    margin-left: -10px;
} 