* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: linear-gradient(135deg, #e3f4ef 0%, #c5e8db 100%); min-height: 100vh; color: #2c3e50; }

.page { min-height: 100vh; padding: 30px 20px; display: flex; flex-direction: column; }

/* ===== 首页 ===== */
.page-home { justify-content: center; align-items: center; text-align: center; background: linear-gradient(135deg, #1a8870 0%, #2d6a8f 100%); color: white; }
.home-title { font-size: 42px; font-weight: bold; margin-bottom: 16px; letter-spacing: 4px; }
.home-subtitle { font-size: 24px; margin-bottom: 60px; opacity: 0.9; }
.golf-icon { font-size: 100px; margin-bottom: 60px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-15px);} }
.home-logos { position: fixed; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 12px; opacity: 0.7; }

/* ===== 答题页 ===== */
.hole-progress { font-size: 16px; color: #1a8870; font-weight: bold; text-align: center; padding: 12px 20px; background: white; border-radius: 30px; margin-bottom: 30px; align-self: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.question-title { font-size: 22px; font-weight: bold; line-height: 1.5; margin-bottom: 30px; color: #2c3e50; }
.options { display: flex; flex-direction: column; gap: 14px; }
.option-item { background: white; padding: 18px 20px; border-radius: 14px; font-size: 16px; line-height: 1.5; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 2px solid transparent; }
.option-item:active { transform: scale(0.98); border-color: #1a8870; background: #e3f4ef; }
.option-letter { display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; background: #1a8870; color: white; border-radius: 50%; margin-right: 12px; font-weight: bold; }

/* ===== 弹窗 ===== */
.modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; justify-content: center; align-items: center; padding: 20px; }
.modal.show { display: flex; }
.modal-content { background: white; padding: 30px 24px; border-radius: 20px; max-width: 400px; width: 100%; text-align: center; position: relative; animation: slideUp 0.3s; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 20px; color: #999; cursor: pointer; }
.modal-text { font-size: 16px; line-height: 1.6; color: #2c3e50; margin-bottom: 16px; }
.modal-tip { background: #f0f9f5; padding: 14px; border-radius: 10px; font-size: 14px; line-height: 1.6; color: #1a8870; text-align: left; margin-bottom: 20px; }
.modal-tip strong { color: #2c3e50; display: block; margin-bottom: 6px; }

/* ===== 结果页 ===== */
.page-result { justify-content: center; align-items: center; text-align: center; }
.result-header { font-size: 18px; color: #1a8870; margin-bottom: 20px; }
.result-card { background: white; padding: 40px 30px; border-radius: 20px; width: 100%; max-width: 380px; margin-bottom: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.result-level { font-size: 28px; font-weight: bold; color: #1a8870; margin-bottom: 12px; }
.result-handicap { font-size: 16px; color: #666; margin-bottom: 20px; }
.result-handicap span { font-size: 24px; color: #e74c3c; font-weight: bold; }
.result-desc { font-size: 15px; line-height: 1.7; color: #555; text-align: left; }
.result-footer { font-size: 14px; color: #888; margin-bottom: 20px; }

/* ===== 表单页 ===== */
.page-form { background: #f5f7fa; }
.form-header { text-align: center; margin-bottom: 30px; }
.form-title { font-size: 24px; font-weight: bold; color: #1a8870; margin-bottom: 8px; }
.form-subtitle { font-size: 14px; color: #888; }
.form-group { background: white; padding: 18px; border-radius: 12px; margin-bottom: 14px; }
.form-group label { display: block; font-size: 15px; font-weight: bold; color: #2c3e50; margin-bottom: 10px; }
.form-group input[type="text"], .form-group input[type="tel"] { width: 100%; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 15px; outline: none; transition: border 0.3s; }
.form-group input[type="text"]:focus, .form-group input[type="tel"]:focus { border-color: #1a8870; }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-group label { font-weight: normal; font-size: 14px; display: flex; align-items: center; cursor: pointer; }
.checkbox-group input[type="checkbox"] { margin-right: 6px; width: 16px; height: 16px; accent-color: #1a8870; }

/* ===== 按钮 ===== */
.btn-primary { background: linear-gradient(135deg, #1a8870 0%, #2d6a8f 100%); color: white; border: none; padding: 14px 40px; border-radius: 30px; font-size: 16px; font-weight: bold; cursor: pointer; box-shadow: 0 4px 14px rgba(26,136,112,0.3); width: 100%; max-width: 320px; margin: 0 auto; display: block; }
.btn-primary:active { transform: scale(0.98); }

/* ===== 成功 ===== */
.success-icon { font-size: 60px; margin-bottom: 16px; }
.success-title { font-size: 24px; font-weight: bold; color: #1a8870; margin-bottom: 12px; }
.success-text { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 24px; }
