*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6EB5FF; --primary-dark: #5A9FE6; --primary-light: #8EC5FF;
    --primary-glow: rgba(110, 181, 255, 0.15);
    --bg-dark: #0a0e17; --bg-card: #111827; --bg-card-hover: #1a2332; --bg-surface: #0f1520; --bg-input: #0d1219;
    --text-primary: #e8edf5; --text-secondary: #8896aa; --text-muted: #5a6577;
    --border: rgba(110, 181, 255, 0.08); --border-hover: rgba(110, 181, 255, 0.2); --border-focus: rgba(110, 181, 255, 0.5);
    --discord-color: #5865F2; --success: #4ade80; --warning: #f59e0b; --danger: #ef4444;
    --radius: 12px; --radius-lg: 16px; --radius-sm: 8px;
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--primary-dark) var(--bg-dark); }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.3s ease; background: rgba(10, 14, 23, 0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.navbar.scrolled { padding: 10px 0; background: rgba(10, 14, 23, 0.95); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-weight: 700; font-size: 18px; }
.logo-img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(110, 181, 255, 0.3)); transition: transform 0.3s ease; }
.nav-logo:hover .logo-img { transform: scale(1.08) rotate(-5deg); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: all 0.2s ease; }
.nav-links a:hover { color: var(--text-primary); background: var(--primary-glow); }
.nav-store-btn { background: var(--primary) !important; color: var(--bg-dark) !important; font-weight: 600 !important; }
.nav-store-btn:hover { background: var(--primary-light) !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }

.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 0%, rgba(110, 181, 255, 0.06) 0%, transparent 50%), radial-gradient(ellipse at 70% 100%, rgba(110, 181, 255, 0.04) 0%, transparent 50%); }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(110, 181, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 181, 255, 0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.bg-particles { position: absolute; inset: 0; }
.particle { position: absolute; width: 2px; height: 2px; background: var(--primary); border-radius: 50%; opacity: 0; animation: float-particle linear infinite; }
@keyframes float-particle { 0% { opacity: 0; transform: translateY(100vh) scale(0); } 10% { opacity: 0.4; } 90% { opacity: 0.4; } 100% { opacity: 0; transform: translateY(-10vh) scale(1); } }

.main-content { padding: 120px 0 60px; position: relative; z-index: 1; }
.page-header { text-align: center; margin-bottom: 48px; animation: fadeInDown 0.8s ease forwards; }
.header-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--primary-glow); border: 1px solid var(--border-hover); border-radius: 24px; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.page-header h1 { font-size: clamp(36px, 7vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; letter-spacing: -1px; }
.accent { background: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.header-desc { font-size: 16px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.notice-card { background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.15); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 36px; display: flex; gap: 16px; align-items: flex-start; position: relative; animation: fadeInUp 0.6s ease 0.2s both; }
.notice-card.dismissed { animation: fadeOutUp 0.4s ease forwards; pointer-events: none; }
.notice-icon { color: var(--warning); min-width: 24px; margin-top: 2px; }
.notice-content h3 { font-size: 16px; font-weight: 700; color: var(--warning); margin-bottom: 10px; }
.notice-content ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.notice-content li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.notice-content li svg { min-width: 14px; margin-top: 3px; }
.notice-content li:nth-child(1) svg, .notice-content li:nth-child(2) svg { color: var(--danger); }
.notice-content li:nth-child(3) svg, .notice-content li:nth-child(4) svg { color: var(--success); }
.notice-content li strong { color: var(--text-primary); }
.notice-dismiss { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 6px; transition: all 0.2s; }
.notice-dismiss:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.cooldown-banner { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 36px; display: flex; gap: 16px; align-items: center; animation: fadeInUp 0.5s ease; }
.cooldown-icon { color: var(--danger); min-width: 24px; }
.cooldown-text h3 { font-size: 16px; font-weight: 700; color: var(--danger); margin-bottom: 4px; }
.cooldown-text p { font-size: 14px; color: var(--text-secondary); }
.cooldown-text strong { color: var(--text-primary); font-variant-numeric: tabular-nums; }

.progress-bar-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 36px; position: sticky; top: 76px; z-index: 100; backdrop-filter: blur(20px); animation: fadeInUp 0.6s ease 0.3s both; }
.progress-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.progress-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.progress-percent { font-size: 13px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.progress-track { width: 100%; height: 6px; background: rgba(110, 181, 255, 0.08); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 3px; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.progress-fill::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 20px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3)); border-radius: 3px; }
.progress-steps { display: flex; justify-content: space-between; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(110, 181, 255, 0.15); border: 2px solid rgba(110, 181, 255, 0.2); transition: all 0.3s ease; }
.progress-step.active .step-dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 8px rgba(110, 181, 255, 0.4); }
.progress-step.completed .step-dot { background: var(--success); border-color: var(--success); box-shadow: 0 0 8px rgba(74, 222, 128, 0.4); }
.step-label { font-size: 11px; font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.progress-step.active .step-label { color: var(--primary); }
.progress-step.completed .step-label { color: var(--success); }

.form-section { margin-bottom: 24px; opacity: 0; transform: translateY(30px); animation: fadeInUp 0.6s ease forwards; }
.form-section[data-section="1"] { animation-delay: 0.4s; }
.form-section[data-section="2"] { animation-delay: 0.5s; }
.form-section[data-section="3"] { animation-delay: 0.6s; }
.form-section[data-section="4"] { animation-delay: 0.7s; }
.form-section[data-section="5"] { animation-delay: 0.8s; }
.section-header-card { display: flex; align-items: center; gap: 20px; padding: 28px 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 2px solid var(--primary); }
.section-number { font-size: 32px; font-weight: 800; color: var(--primary); opacity: 0.4; line-height: 1; }
.section-header-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.section-header-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

.form-group { padding: 24px 32px; background: var(--bg-card); border: 1px solid var(--border); border-top: none; }
.form-section .form-group:last-child, .form-section .form-group:last-of-type { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.form-section .agreement-box { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.label-text { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.label-required { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); background: var(--primary-glow); padding: 3px 10px; border-radius: 12px; white-space: nowrap; }

input[type="text"], input[type="number"], textarea { width: 100%; padding: 14px 18px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; transition: all 0.25s ease; outline: none; }
input[type="text"]:hover, input[type="number"]:hover, textarea:hover { border-color: var(--border-hover); }
input[type="text"]:focus, input[type="number"]:focus, textarea:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(110, 181, 255, 0.1); background: rgba(110, 181, 255, 0.03); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
textarea { resize: vertical; min-height: 100px; }
.textarea-wrapper { position: relative; }
.char-count { position: absolute; bottom: 10px; right: 14px; font-size: 11px; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.field-hint { display: block; margin-top: 8px; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-card); border: 1px solid var(--border); border-top: none; }
.form-row .form-group { border: none; border-radius: 0; }
.form-row .form-group:first-child { border-right: 1px solid var(--border); }

.platform-select { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.platform-option { cursor: pointer; margin: 0; }
.platform-option input[type="radio"] { display: none; }
.platform-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.25s ease; color: var(--text-secondary); }
.platform-card span { font-size: 13px; font-weight: 600; }
.platform-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.platform-option input[type="radio"]:checked + .platform-card { border-color: var(--primary); background: var(--primary-glow); color: var(--primary); box-shadow: 0 0 0 3px rgba(110, 181, 255, 0.1); }

.captcha-wrapper { padding: 24px 32px; background: var(--bg-card); border: 1px solid var(--border); border-top: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.captcha-error { font-size: 13px; color: var(--danger); font-weight: 500; }

.agreement-box { padding: 24px 32px; background: var(--bg-card); border: 1px solid var(--border); border-top: none; }
.checkbox-label { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; margin: 0; }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom { width: 22px; height: 22px; min-width: 22px; border: 2px solid var(--border-hover); border-radius: 6px; transition: all 0.25s ease; position: relative; margin-top: 2px; }
.checkbox-custom::after { content: ''; position: absolute; top: 3px; left: 6px; width: 6px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.2s ease; }
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom { background: var(--primary); border-color: var(--primary); }
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after { transform: rotate(45deg) scale(1); }
.checkbox-label span:last-child { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.checkbox-label strong { color: var(--text-primary); }

.form-actions { text-align: center; margin-top: 40px; animation: fadeInUp 0.6s ease 0.9s both; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-submit { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); padding: 16px 40px; font-size: 16px; border-radius: var(--radius); position: relative; overflow: hidden; }
.btn-submit::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.btn-submit:hover::before { left: 100%; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(110, 181, 255, 0.3); }
.btn-submit:active { transform: translateY(-1px); }
.btn-submit.loading { pointer-events: none; opacity: 0.7; }
.btn-submit:disabled { pointer-events: none; opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: var(--bg-dark); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-discord { background: var(--discord-color); color: white; }
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); }
.submit-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.success-modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(10, 14, 23, 0.95); backdrop-filter: blur(20px); align-items: center; justify-content: center; padding: 24px; }
.success-modal.active { display: flex; animation: fadeIn 0.4s ease; }
.success-content { text-align: center; max-width: 480px; animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.success-animation { margin-bottom: 32px; }
.checkmark { width: 80px; height: 80px; }
.checkmark-circle { stroke: var(--success); stroke-width: 2; stroke-dasharray: 166; stroke-dashoffset: 166; animation: stroke-draw 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards; }
.checkmark-check { stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke-draw 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards; }
@keyframes stroke-draw { to { stroke-dashoffset: 0; } }
.success-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: var(--success); }
.success-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.success-discord { background: var(--primary-glow); border: 1px solid var(--border-hover); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 28px !important; }
.success-discord strong { color: var(--primary); }
.success-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.footer { border-top: 1px solid var(--border); padding: 24px 0; background: var(--bg-surface); position: relative; z-index: 1; }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOutUp { from { opacity: 1; transform: translateY(0); max-height: 200px; margin-bottom: 36px; } to { opacity: 0; transform: translateY(-20px); max-height: 0; margin-bottom: 0; padding: 0; overflow: hidden; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.shake { animation: shake 0.5s ease; }
.form-group.error input, .form-group.error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); }
.error-message { display: block; margin-top: 6px; font-size: 12px; color: var(--danger); font-weight: 500; }

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-card); flex-direction: column; align-items: stretch; padding: 80px 24px 24px; gap: 4px; transition: right 0.3s ease; border-left: 1px solid var(--border); z-index: 999; }
    .nav-links.active { right: 0; }
    .nav-links a { padding: 12px 16px; font-size: 15px; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .main-content { padding: 100px 0 40px; }
    .page-header h1 { font-size: 32px; }
    .notice-card { flex-direction: column; padding: 20px; }
    .cooldown-banner { flex-direction: column; text-align: center; }
    .progress-bar-container { position: relative; top: 0; padding: 20px; }
    .progress-steps { display: none; }
    .section-header-card { flex-direction: column; gap: 12px; padding: 24px 20px; }
    .section-number { font-size: 24px; }
    .form-group { padding: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row .form-group:first-child { border-right: none; border-bottom: 1px solid var(--border); }
    .platform-select { grid-template-columns: 1fr; }
    .agreement-box, .captcha-wrapper { padding: 20px; }
    label { flex-direction: column; align-items: flex-start; gap: 6px; }
    .btn-submit { width: 100%; justify-content: center; }
    .success-buttons { flex-direction: column; }
    .success-buttons .btn { justify-content: center; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } .page-header h1 { font-size: 28px; } .header-desc { font-size: 14px; } }