/* 
 * layout.css - 布局样式
 * 包含：容器、头部、主体、页脚等结构性布局
 */

/* ========== 主容器 ========== */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-md);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== 头部布局 ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-sm);
}

.title {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-nav {
  display: flex;
  gap: var(--spacing-md);
}

/* ========== 主内容区域 ========== */
.main {
  flex: 1;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

/* ========== 游戏信息区 ========== */
.level-row {
  width: 100%;
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

/* ========== 输入区域布局 ========== */
.input-area {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: var(--spacing-md) auto;
}

.input-group {
  width: 100%;
  margin-bottom: var(--spacing-md);
}

/* ========== 页脚布局 ========== */
.footer {
  padding: var(--spacing-md);
  text-align: center;
}

.footer-content {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-links {
  margin-top: var(--spacing-sm);
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}