* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden; /* 禁止主页面滚动 */
}

body {
  background: linear-gradient(135deg, #ffd8cb, #a2cfff);
  display: flex;
  flex-direction: column;
  font-family: "Arial", "Microsoft YaHei", sans-serif;
  height: 100%;
}

/* 主容器 - 占满整个屏幕，flex 布局 */
.main-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 16px 0 16px;
}

/* 注册提示条 - 固定在顶部 */
.register-tips {
  background: #fff3e0;
  border-left: 5px solid #ff9800;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  text-align: center;
  flex-shrink: 0;
}

.tips-text {
  font-size: 14px;
  color: #b36b00;
  line-height: 1.5;
}

.tips-text strong {
  color: #e67e22;
}

/* iframe 容器 - 白色背景，占满剩余空间，内部滚动 */
.iframe-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  overflow: auto; /* 容器内部滚动 */
  flex: 1;
  min-height: 0; /* flex 子项溢出控制 */
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #fff;
}

/* 版权信息 - 固定在底部 */
.copyright {
  text-align: center;
  padding: 12px 0 16px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.copyright a {
  color: inherit;
  text-decoration: none;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .main-container {
    padding: 12px 12px 0 12px;
  }
  
  .register-tips {
    padding: 12px 16px;
    margin-bottom: 12px;
  }
  
  .tips-text {
    font-size: 12px;
  }
  
  .iframe-container {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  
  .copyright {
    padding: 10px 0 12px;
    font-size: 10px;
  }
}