/* css/style.css */

/* 基本页面样式 */
body {
    font-family: 'Arial', sans-serif; /* 备用字体 */
    /* 黄色调背景已在HTML中通过Tailwind内联样式设置，此处可添加更多全局样式 */
    /* background-image: url('../images/retro-pattern.png'); /* 确保路径正确, HTML中也已设置 */
    /* background-repeat: repeat; */
    /* color: #333; /* 深灰色文字，确保可读性 */
}

/* Logo 艺术字样式 - HTML中已通过内联style和Tailwind实现，此处可备用或扩展 */
.logo {
    /* font-family: 'Press Start 2P', cursive; /* 复古像素字体 */
    /* text-shadow: 2px 2px #ff8c00; /* 橙色文字阴影，增加复古感 */
}

/* 主要标题 H1 艺术字样式 - HTML中已通过内联style和Tailwind实现 */
h1 {
    /* font-family: 'Monoton', cursive; /* 另一种艺术字体 */
    /* text-shadow: 3px 3px #ff8c00; */
}

/* 各区块标题 H2, H3 艺术字样式 - HTML中已通过内联style和Tailwind实现 */
h2, h3 {
    /* font-family: 'Press Start 2P', cursive; */
}

/* 游戏Iframe容器样式 */
#game-container {
    /* 使全屏按钮可以相对于此容器定位 */
    position: relative;
}

/* 游戏Iframe全屏时的样式 */
#game-iframe.fullscreen-active {
    position: fixed; /* 固定定位，覆盖整个视口 */
    top: 0;
    left: 0;
    width: 100vw; /* 视口宽度 */
    height: 100vh; /* 视口高度 */
    z-index: 9999; /* 置于顶层 */
    border: none; /* 全屏时移除边框 */
}

/* 全屏按钮样式 - 大部分由Tailwind处理，此处可微调 */
#fullscreen-btn {
    /* position: absolute; /* 已在HTML中通过Tailwind的 `absolute` 类设置 */
    /* top: 1rem; /* 已在HTML中通过Tailwind的 `top-4` 类设置 */
    /* right: 1rem; /* 已在HTML中通过Tailwind的 `right-4` 类设置 */
    /* z-index: 10; /* 确保在iframe之上，但在全屏iframe之下 */
}

#game-iframe.fullscreen-active + #fullscreen-btn {
    position: fixed; /* 全屏时按钮也固定定位 */
    z-index: 10000; /* 确保在全屏iframe之上 */
    /* 也可以考虑在全屏时改变按钮文本或图标 */
}


/* 动态活泼布局的卡片效果 */
.game-screenshots,
.game-features,
.game-intro,
.how-to-play,
.seo-content,
.game-guide,
.player-reviews,
.faq,
.team-info,
.game-history {
    /* background-color: rgba(255, 235, 153, 0.7); /* 淡黄色半透明背景，已在HTML中通过Tailwind的bg-opacity实现 */
    /* border: 2px solid #ff8c00; /* 橙色边框 */
    /* border-radius: 10px; /* 圆角 */
    /* padding: 20px; /* 内边距 */
    /* margin-bottom: 20px; /* 外边距 */
    /* box-shadow: 5px 5px 15px rgba(0,0,0,0.2); /* 阴影效果 */
    /* transition: transform 0.3s ease-in-out; /* 添加过渡动画 */
}

/* 卡片悬停效果 (可选) */
/*
.game-screenshots:hover,
.game-features:hover,
.game-intro:hover,
.how-to-play:hover,
.seo-content:hover,
.game-guide:hover,
.player-reviews:hover,
.faq:hover,
.team-info:hover,
.game-history:hover {
    transform: translateY(-5px); /* 鼠标悬停时轻微上移 */
}
*/

/* 语言切换按钮样式 */
.lang-btn {
    /* Tailwind 已处理大部分样式 */
    /* transition: background-color 0.3s ease; */
}

.lang-btn.active {
    background-color: #f97316; /* 橙色，表示当前激活的语言 (Tailwind: bg-orange-600) */
    font-weight: bold;
}

/* 响应式设计调整 */
/* Tailwind CSS 默认提供强大的响应式功能，如 sm:, md:, lg: 前缀 */
/* 此处可以为不使用Tailwind控制的特定元素添加自定义断点样式 */

/* 例如，确保小屏幕上字体不会过大 */
@media (max-width: 640px) {
    .logo {
        font-size: 2rem; /* 调整小屏幕上的Logo字体大小 (Tailwind: text-3xl) */
    }
    h1 {
        font-size: 2.5rem; /* 调整小屏幕上的H1字体大小 (Tailwind: text-4xl) */
    }
    h2 {
        font-size: 1.8rem; /* (Tailwind: text-2xl or text-3xl) */
    }
    h3 {
        font-size: 1.5rem; /* (Tailwind: text-xl or text-2xl) */
    }
}

/* 页脚样式 */
footer p {
    /* margin-bottom: 0.5rem; */
}

footer a {
    /* color: #d97706; /* 橙色链接 (Tailwind: text-orange-600) */
    /* text-decoration: none; */
}

/* footer a:hover {
    text-decoration: underline;
} */

/* 确保背景图片路径相对于CSS文件的位置 */
/* 如果图片在 /images/retro-pattern.png, CSS在 /css/style.css */
/* 则路径应为 ../images/retro-pattern.png */

/* 截图图片样式 */
.game-screenshots img {
    /* border: 3px solid #ff8c00; /* 橙色边框，已在HTML中通过Tailwind设置 */
    /* border-radius: 5px; /* 圆角 */
    /* width: 100%; /* 宽度自适应容器 */
    /* height: auto; /* 高度自动 */
    /* margin-bottom: 10px; /* 图片间距 */
}

/* 评论卡片 */
.review-card {
    /* border-left: 5px solid #ff8c00; /* 左侧橙色强调线 */
} 