/* ===== 基础样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif; min-height: 100vh; overflow-x: hidden; position: relative; }

/* ===== 动画定义 ===== */
@keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(3deg); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0px) translateX(0px); } 33% { transform: translateY(-15px) translateX(10px); } 66% { transform: translateY(-8px) translateX(-5px); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.9; } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes cloudMove { from { transform: translateX(-100px); } to { transform: translateX(calc(100vw + 100px)); } }
@keyframes starTwinkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ===== 通用容器 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; position: relative; z-index: 1; }

/* ===== 卡片样式 ===== */
.card { background: rgba(255, 255, 255, 0.95); border-radius: 24px; padding: 30px; margin: 15px 0; box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 3px solid transparent; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent); transform: rotate(45deg); transition: all 0.6s; opacity: 0; }
.card:hover::before { opacity: 1; animation: shimmer 1.5s ease-in-out; }
.card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 60px rgba(0,0,0,0.15); border-color: rgba(255,255,255,0.5); }

/* ===== 选项卡片 ===== */
.option-card { background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%); border-radius: 24px; padding: 40px 30px; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 4px solid transparent; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.option-card .emoji { font-size: 4rem; display: block; margin-bottom: 15px; animation: bounce 2s ease-in-out infinite; }
.option-card:hover .emoji { animation: wiggle 0.5s ease-in-out infinite; }
.option-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: #333; }
.option-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }
.option-card:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }

/* 颜色主题 */
.theme-red { border-color: #ff6b6b; background: linear-gradient(135deg, #fff 0%, #fff0f0 100%); }
.theme-red:hover { border-color: #ff4757; box-shadow: 0 25px 50px rgba(255,71,87,0.2); }
.theme-orange { border-color: #ffa502; background: linear-gradient(135deg, #fff 0%, #fff8f0 100%); }
.theme-orange:hover { border-color: #ff9500; box-shadow: 0 25px 50px rgba(255,149,0,0.2); }
.theme-yellow { border-color: #ffd700; background: linear-gradient(135deg, #fff 0%, #fffdf0 100%); }
.theme-yellow:hover { border-color: #ffc107; box-shadow: 0 25px 50px rgba(255,193,7,0.2); }
.theme-blue { border-color: #74b9ff; background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%); }
.theme-blue:hover { border-color: #0984e3; box-shadow: 0 25px 50px rgba(9,132,227,0.2); }
.theme-green { border-color: #55efc4; background: linear-gradient(135deg, #fff 0%, #f0fff8 100%); }
.theme-green:hover { border-color: #00b894; box-shadow: 0 25px 50px rgba(0,184,148,0.2); }
.theme-purple { border-color: #a29bfe; background: linear-gradient(135deg, #fff 0%, #f5f3ff 100%); }
.theme-purple:hover { border-color: #6c5ce7; box-shadow: 0 25px 50px rgba(108,92,231,0.2); }

/* ===== 按钮样式 ===== */
.btn { display: inline-block; padding: 16px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: bold; text-decoration: none; color: white; border: none; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.3); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn:hover::after { width: 300px; height: 300px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); }
.btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.btn-red { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%); }
.btn-orange { background: linear-gradient(135deg, #ffa502 0%, #ff9500 100%); }
.btn-yellow { background: linear-gradient(135deg, #ffd700 0%, #ffc107 100%); color: #333; }
.btn-blue { background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); }
.btn-green { background: linear-gradient(135deg, #55efc4 0%, #00b894 100%); color: #333; }
.btn-purple { background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%); }

/* ===== 标题样式 ===== */
.page-title { font-size: 2.5rem; font-weight: bold; text-align: center; margin-bottom: 10px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: fadeInUp 0.8s ease-out; }
.page-subtitle { text-align: center; color: #666; font-size: 1.1rem; margin-bottom: 40px; animation: fadeInUp 0.8s ease-out 0.2s both; }

/* ===== 步骤/流程样式 ===== */
.step-box { background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%); border-radius: 20px; padding: 25px; margin: 15px 0; border-left: 5px solid #667eea; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; animation: fadeInUp 0.6s ease-out; }
.step-box:hover { transform: translateX(10px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.step-box .step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 50%; font-weight: bold; margin-right: 15px; font-size: 1.2rem; }
.step-box h4 { display: inline; font-size: 1.2rem; color: #333; }
.step-box .content { margin-top: 15px; padding-left: 55px; color: #555; line-height: 1.8; }

/* ===== 材料清单样式 ===== */
.material-list { background: #f8f9ff; border-radius: 16px; padding: 20px; margin: 15px 0; }
.material-list h5 { color: #667eea; margin-bottom: 12px; font-size: 1.1rem; }
.material-list ul { list-style: none; padding: 0; }
.material-list li { padding: 8px 0; padding-left: 30px; position: relative; color: #555; line-height: 1.6; }
.material-list li::before { content: '✅'; position: absolute; left: 0; top: 8px; }

/* ===== 提示框样式 ===== */
.tip-box { background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); border: 2px solid #ffd700; border-radius: 16px; padding: 20px; margin: 20px 0; position: relative; }
.tip-box::before { content: '💡'; font-size: 1.5rem; margin-right: 10px; }
.tip-box strong { color: #856404; }
.tip-box p { color: #856404; margin-top: 8px; line-height: 1.6; }

.warning-box { background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%); border: 2px solid #ff6b6b; border-radius: 16px; padding: 20px; margin: 20px 0; }
.warning-box::before { content: '⚠️'; font-size: 1.5rem; margin-right: 10px; }
.warning-box strong { color: #c0392b; }
.warning-box p { color: #c0392b; margin-top: 8px; line-height: 1.6; }

.info-box { background: linear-gradient(135deg, #e6f3ff 0%, #cce5ff 100%); border: 2px solid #74b9ff; border-radius: 16px; padding: 20px; margin: 20px 0; }
.info-box::before { content: 'ℹ️'; font-size: 1.5rem; margin-right: 10px; }
.info-box strong { color: #0984e3; }
.info-box p { color: #0984e3; margin-top: 8px; line-height: 1.6; }

/* ===== 导航栏 ===== */
.navbar { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 15px 30px; border-radius: 50px; margin: 20px auto; max-width: 600px; display: flex; justify-content: center; align-items: center; gap: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); position: sticky; top: 20px; z-index: 100; animation: fadeInDown 0.5s ease-out; }
.navbar a { text-decoration: none; color: #666; font-weight: 500; padding: 8px 16px; border-radius: 20px; transition: all 0.3s ease; }
.navbar a:hover { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }

/* ===== 网格布局 ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin: 30px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin: 30px 0; }

/* ===== 页脚 ===== */
.footer { text-align: center; padding: 30px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .container { padding: 12px; }
    .hero-title { font-size: 1.8rem !important; }
    .page-title { font-size: 1.6rem !important; }
    .page-subtitle { font-size: 0.95rem; padding: 0 10px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 15px; }
    .navbar { flex-wrap: wrap; gap: 8px; padding: 10px 15px; border-radius: 30px; max-width: 90%; position: relative; top: 10px; }
    .navbar a { padding: 6px 12px; font-size: 0.9rem; }
    .option-card { padding: 25px 18px; }
    .option-card .emoji { font-size: 2.8rem; }
    .option-card h3 { font-size: 1.2rem; }
    .option-card p { font-size: 0.85rem; }
    .card { padding: 20px; border-radius: 18px; }
    .btn { padding: 12px 28px; font-size: 1rem; }
    .step-box { padding: 18px; }
    .step-box .step-num { width: 32px; height: 32px; font-size: 1rem; margin-right: 10px; }
    .step-box .content { padding-left: 42px; }
    .channel-card { padding: 22px; }
    .channel-icon { width: 48px; height: 48px; font-size: 1.4rem; }
    .channel-title { font-size: 1.2rem; }
    .material-list { padding: 15px; }
    .material-list li { font-size: 0.9rem; }
    .tip-box, .warning-box, .info-box { padding: 15px; font-size: 0.9rem; }
    .accordion-header { padding: 15px 18px; font-size: 0.95rem; }
    .accordion-body { padding: 0 18px; }
    .accordion-item.active .accordion-body { padding: 0 18px 15px; }
    .path-indicator { gap: 8px; }
    .path-indicator .path-item { padding: 8px 14px; font-size: 0.8rem; }
    .video-section { padding: 25px 18px; }
    .video-placeholder { padding: 50px 20px; }
    .play-btn { width: 60px; height: 60px; font-size: 1.8rem; }
    .video-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .video-title { font-size: 1.2rem; }
    .video-desc { font-size: 0.85rem; }
    .footer { padding: 20px 15px; font-size: 0.8rem; }
    .notice-banner { padding: 18px; }
    .notice-banner h3 { font-size: 1.1rem; }
    .notice-banner p { font-size: 0.9rem; }
    .counter-only-banner { padding: 15px; font-size: 1rem; }
    .tag { padding: 4px 12px; font-size: 0.75rem; }
    .floating-emoji { font-size: 1.5rem; opacity: 0.12; }
    .deco-circle { opacity: 0.08; }
    .deco-plane { font-size: 2rem; opacity: 0.1; }
    .deco-cloud { font-size: 2.5rem; opacity: 0.08; }
    .deco-star { font-size: 1rem; opacity: 0.2; }
    .particle { width: 5px; height: 5px; }
}

@media (max-width: 480px) {
    .container { padding: 10px; }
    .hero-title { font-size: 1.5rem !important; }
    .page-title { font-size: 1.4rem !important; }
    .page-subtitle { font-size: 0.85rem; }
    .option-card { padding: 20px 14px; border-width: 3px; }
    .option-card .emoji { font-size: 2.2rem; margin-bottom: 10px; }
    .option-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
    .option-card p { font-size: 0.8rem; line-height: 1.5; }
    .option-card-large { padding: 30px 20px; }
    .option-card-large .emoji { font-size: 3rem; }
    .option-card-large h3 { font-size: 1.3rem; }
    .option-card-large p { font-size: 0.85rem; }
    .navbar { padding: 8px 12px; gap: 6px; border-radius: 25px; }
    .navbar a { padding: 5px 10px; font-size: 0.85rem; }
    .btn { padding: 10px 24px; font-size: 0.95rem; }
    .card { padding: 16px; border-radius: 16px; margin: 10px 0; }
    .start-btn { padding: 16px 40px; font-size: 1.1rem; }
    .mascot { font-size: 5rem; }
    .feature-card { padding: 20px; min-width: auto; }
    .feature-card .emoji { font-size: 2.2rem; }
    .feature-card p { font-size: 0.9rem; }
    .channel-card { padding: 18px; border-radius: 18px; margin: 12px 0; }
    .channel-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .channel-title { font-size: 1.1rem; }
    .step-box { padding: 14px; border-left-width: 3px; margin: 10px 0; }
    .step-box h4 { font-size: 1rem; }
    .step-box .content { padding-left: 0; font-size: 0.85rem; }
    .step-box .step-num { display: inline-flex; margin-bottom: 8px; }
    .material-list { padding: 12px; }
    .material-list h5 { font-size: 1rem; }
    .material-list li { padding: 6px 0; padding-left: 24px; font-size: 0.85rem; }
    .tip-box, .warning-box, .info-box { padding: 12px; font-size: 0.85rem; }
    .accordion-header { padding: 12px 15px; font-size: 0.9rem; }
    .accordion-body { padding: 0 15px; }
    .accordion-item.active .accordion-body { padding: 0 15px 12px; }
    .path-indicator { gap: 6px; margin: 12px 0; }
    .path-indicator .path-item { padding: 6px 10px; font-size: 0.75rem; border-radius: 15px; }
    .video-section { padding: 18px 14px; margin: 15px 0; }
    .video-placeholder { padding: 40px 15px; }
    .video-placeholder p { font-size: 0.95rem; }
    .video-placeholder .hint { font-size: 0.8rem; }
    .play-btn { width: 50px; height: 50px; font-size: 1.5rem; }
    .step-item { padding: 10px 0; gap: 10px; }
    .step-num-small { width: 28px; height: 28px; font-size: 0.8rem; }
    .step-text { font-size: 0.85rem; }
    .video-link { padding: 10px 18px; font-size: 0.9rem; }
    .counter-only-badge { padding: 6px 14px; font-size: 0.8rem; }
    .back-btn { padding: 8px 20px; font-size: 0.85rem; }
    .select-title { font-size: 1.6rem; }
    .select-subtitle { font-size: 0.95rem; }
    .grid-3 { gap: 12px; }
    .grid-2 { gap: 12px; }
    .footer { padding: 15px 10px; font-size: 0.75rem; }
    .tag-row { gap: 4px; }
    .tag { padding: 4px 10px; font-size: 0.7rem; margin: 3px; }
    .notice-banner { padding: 15px; }
    .notice-banner h3 { font-size: 1rem; margin-bottom: 6px; }
    .notice-banner p { font-size: 0.85rem; line-height: 1.6; }
    .video-player video { border-radius: 12px; }
}

/* ===== 分支路径指示器 ===== */
.path-indicator { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 20px 0; flex-wrap: wrap; }
.path-indicator .path-item { background: rgba(255,255,255,0.9); padding: 10px 20px; border-radius: 20px; font-size: 0.9rem; color: #666; }
.path-indicator .path-arrow { color: #667eea; font-size: 1.2rem; animation: bounce 1s ease-in-out infinite; }
.path-indicator .path-item.active { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; font-weight: bold; }

/* ===== 标签样式 ===== */
.tag { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; margin: 5px; }
.tag-red { background: #ffe6e6; color: #c0392b; }
.tag-orange { background: #fff3e6; color: #d35400; }
.tag-yellow { background: #fff9e6; color: #b7950b; }
.tag-blue { background: #e6f3ff; color: #0984e3; }
.tag-green { background: #e6fff0; color: #00b894; }
.tag-purple { background: #f0e6ff; color: #6c5ce7; }

/* ===== 手风琴/可展开内容 ===== */
.accordion-item { background: white; border-radius: 16px; margin: 10px 0; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.accordion-header { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; font-weight: 600; color: #333; }
.accordion-header:hover { background: #f8f9ff; }
.accordion-header .arrow { transition: transform 0.3s ease; font-size: 1.2rem; }
.accordion-item.active .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding: 0 25px; }
.accordion-item.active .accordion-body { max-height: 2000px; padding: 0 25px 20px; }
