/* =========================================================
   吉风羽跃 · 战队招新系统 v2
   二次元冷色调 · 大图展示 + 表单页面
   ========================================================= */
/* Google Fonts已移除（国内访问慢） - 使用系统后备字体 */

:root {
    --accent-cyan: #78d4f0;
    --accent-blue: #4a8fe0;
    --accent-lavender: #8b7fd3;
    --accent-silver: #c8d8e8;
    --text-light: #e8eef8;
    --text-dim: rgba(200, 216, 232, 0.5);
    --bg-dark: rgba(8, 10, 26, 0.85);
}

* { margin:0; padding:0; box-sizing:border-box; }
html, body {
    width:100%; height:100%;
    overflow-x: hidden;
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-light);
    background: #0b0e1a;
}

/* ========== 背景层 ========== */
.recruit-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}
.recruit-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.2) saturate(0.5) blur(3px);
    transform: scale(1.02);
}
.recruit-bg-overlay,
.bg-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background: linear-gradient(160deg, rgba(8,10,26,0.5) 0%, rgba(20,40,70,0.12) 50%, rgba(8,10,26,0.6) 100%);
    pointer-events: none;
}

/* ========== 粒子 ========== */
.pt {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.pt span {
    position: absolute;
    border-radius: 50%;
    background: rgba(120,212,240,0.2);
    animation: flt linear infinite;
}
.pt span:nth-child(1) { left:8%; width:5px; height:5px; animation-duration:14s; }
.pt span:nth-child(2) { left:22%; width:3px; height:3px; animation-duration:18s; animation-delay:2s; }
.pt span:nth-child(3) { left:38%; width:6px; height:6px; animation-duration:15s; animation-delay:4s; }
.pt span:nth-child(4) { left:52%; width:4px; height:4px; animation-duration:20s; animation-delay:1s; }
.pt span:nth-child(5) { left:68%; width:3px; height:3px; animation-duration:16s; animation-delay:3s; }
.pt span:nth-child(6) { left:82%; width:5px; height:5px; animation-duration:17s; animation-delay:5s; }
.pt span:nth-child(7) { left:93%; width:4px; height:4px; animation-duration:12s; animation-delay:6s; }
@keyframes flt {
    0% { transform:translateY(100vh) scale(0); opacity:0; }
    10% { opacity:0.5; }
    90% { opacity:0.15; }
    100% { transform:translateY(-10vh) scale(1.2); opacity:0; }
}

/* ========== 顶部标题 ========== */
.rh {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px 20px;
}
.rh .b {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 6px;
    color: var(--accent-cyan);
    border: 1px solid rgba(120,212,240,0.15);
    border-radius: 30px;
    padding: 4px 16px;
    margin-bottom: 10px;
}
.rh h1 {
    font-weight: 900;
    font-size: 48px;
    letter-spacing: 10px;
    color: var(--text-light);
    text-shadow: 0 0 40px rgba(120,212,240,0.08);
}
.rh h1 .hl { color: var(--accent-cyan); }
.rh .s {
    font-weight: 300;
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 6px;
    margin-top: 4px;
}
.rh .s em { font-style:normal; color: var(--accent-silver); }

/* ========== 四组大图 ========== */
.rg {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto 50px;
    padding: 10px 24px 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.ri {
    position: relative;
    flex: 0 0 auto;
    width: calc((100% - 60px) / 4);
    max-width: 340px;
    text-decoration: none;
    color: var(--text-light);
    display: block;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
    opacity: 0;
    transform: translateY(30px);
    animation: fi 0.9s ease forwards;
}
.ri:nth-child(1) { animation-delay:0.05s; }
.ri:nth-child(2) { animation-delay:0.12s; }
.ri:nth-child(3) { animation-delay:0.19s; }
.ri:nth-child(4) { animation-delay:0.26s; }

@keyframes fi {
    to { opacity:1; transform:translateY(0); }
}

.ri .iw {
    width: 100%;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.ri .iw img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}

/* ===== HOVER 突出效果 ===== */
.ri:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 5;
}
.ri:hover .iw {
    box-shadow: 0 16px 60px rgba(0,0,0,0.55), 0 0 40px rgba(120,212,240,0.1);
}
.ri:hover .iw img {
    filter: brightness(1.06) contrast(1.04);
}

/* ===== 图片底部标签 ===== */
.ri .lb {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 14px 16px;
    background: linear-gradient(transparent, rgba(8,10,26,0.6) 40%, rgba(8,10,26,0.92));
    text-align: center;
    pointer-events: none;
    transition: all 0.4s ease;
}
.ri .lb .nm {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.ri .lb .en {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--accent-cyan);
    opacity: 0.6;
    margin-top: 2px;
}
.ri .lb .de {
    font-size: 12px;
    color: rgba(200,216,232,0.4);
    margin-top: 6px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
.ri:hover .lb .de {
    max-height: 30px;
    opacity: 1;
}

/* ===== 悬停 5 秒小字 ===== */
.ht {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 30px rgba(138,127,211,0.5), 0 2px 10px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 6;
    font-family: 'Noto Sans SC', sans-serif;
}
.ht.sh {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.ht .sm {
    display: block;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(200,216,232,0.4);
    margin-top: 4px;
}

/* =========================================================
   表单页面样式（二次元冷色调）
   用于 recruit-mach/cont/ai/op.html + recruit-success.html
   ========================================================= */

/* --- 表单页面头部 --- */
.form-team-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px 20px;
}
.form-team-header .back-link {
    display: inline-block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 14px;
    transition: 0.3s;
}
.form-team-header .back-link:hover { color: var(--accent-cyan); }
.form-team-header .team-badge {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--accent-cyan);
    border: 1px solid rgba(120,212,240,0.15);
    border-radius: 30px;
    padding: 5px 20px;
    margin-bottom: 12px;
}
.form-team-header h1 {
    font-weight: 900;
    font-size: 38px;
    letter-spacing: 6px;
    color: var(--text-light);
    text-shadow: 0 0 30px rgba(120,212,240,0.08);
    margin-bottom: 10px;
}
.form-team-header p {
    font-weight: 300;
    color: var(--text-dim);
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 1px;
}

/* --- 表单内容区域 --- */
.form-section {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* --- 招新要求卡片 --- */
.team-reqs {
    background: rgba(12,16,30,0.45);
    border: 1px solid rgba(120,212,240,0.08);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}
.team-reqs h3 {
    font-weight: 500;
    color: var(--accent-cyan);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.team-reqs ul { list-style: none; padding: 0; margin: 0; }
.team-reqs li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-weight: 300;
    color: var(--accent-silver);
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}
.team-reqs li::before {
    content: '◆';
    position: absolute;
    left: 0;
    font-size: 6px;
    top: 7px;
    color: var(--accent-cyan);
    opacity: 0.4;
}

/* --- 表单容器（毛玻璃） --- */
.recruit-form {
    background: rgba(12,16,30,0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(120,212,240,0.06);
    border-radius: 18px;
    padding: 40px 44px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.25);
}
.recruit-form .form-title {
    font-weight: 500;
    font-size: 18px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(120,212,240,0.06);
}
.recruit-form .form-title span {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-cyan);
    letter-spacing: 4px;
}

/* --- 表单行 --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-size: 13px;
    font-weight: 400;
    color: var(--accent-silver);
    letter-spacing: 2px;
    opacity: 0.6;
}
.form-group label .required { color: #ff6b7b; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 15px;
    background: rgba(8,10,26,0.45);
    border: 1px solid rgba(120,212,240,0.08);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 14px rgba(120,212,240,0.06);
    background: rgba(8,10,26,0.6);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(200,216,232,0.15); }
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378d4f0' stroke-width='1.5' fill='none' opacity='0.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form-group select option { background: #0b0e1a; color: var(--text-light); }
.form-group textarea { min-height: 100px; resize: vertical; }

/* --- 按钮区 --- */
.form-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.submit-btn {
    padding: 13px 44px;
    background: linear-gradient(135deg, #4a8fe0, #78d4f0);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(120,212,240,0.1);
    font-family: 'Noto Sans SC', sans-serif;
}
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(120,212,240,0.18);
}
.reset-btn {
    padding: 13px 32px;
    background: transparent;
    border: 1px solid rgba(120,212,240,0.12);
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 2px;
}
.reset-btn:hover {
    border-color: rgba(120,212,240,0.3);
    color: var(--text-light);
}

/* --- 提交成功 --- */
.submit-success {
    text-align: center;
    padding: 50px 20px;
}
.submit-success .success-icon {
    font-size: 52px;
    margin-bottom: 14px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(120,212,240,0.2));
}
.submit-success h2 {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}
.submit-success p {
    font-weight: 300;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}
.btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.back-btn {
    display: inline-block;
    padding: 11px 32px;
    background: transparent;
    border: 1px solid rgba(120,212,240,0.15);
    border-radius: 10px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 3px;
    transition: 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
}
.back-btn:hover {
    background: rgba(120,212,240,0.06);
    border-color: var(--accent-cyan);
}
.back-btn.subtle {
    border-color: rgba(200,216,232,0.08);
    color: var(--text-dim);
}
.back-btn.subtle:hover {
    border-color: rgba(200,216,232,0.25);
    color: var(--text-light);
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .rg { gap:16px; padding:10px 16px 20px; }
    .ri { width:calc((100% - 48px) / 4); }
}
@media (max-width: 900px) {
    .rg { flex-wrap: wrap; gap:18px; }
    .ri { width:calc(50% - 9px); max-width:320px; }
    .rh h1 { font-size:36px; }
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .recruit-form { padding: 24px 20px; }
    .form-team-header h1 { font-size: 28px; }
    .form-actions { flex-direction: column; align-items: center; }
    .submit-btn, .reset-btn { width: 100%; text-align: center; }
}
@media (max-width: 640px) {
    .rg { flex-direction: column; align-items: center; padding:10px; }
    .ri { width:100%; max-width:280px; }
    .rh h1 { font-size:26px; letter-spacing:6px; }
    .rh .s { font-size:12px; letter-spacing:4px; }
}
