
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  background: #0a0618;
  color: #fff;
  margin: 0;
  padding: 0;
}
.device-frame {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
#mainView {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
#mainView::-webkit-scrollbar { display: none; }
.fp-section {
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}
.fp-nav {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s;
}
.fp-nav-dot.active {
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(167,139,250,0.6);
}
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  background: rgba(10,6,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nav-back-btn {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: 1.5px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}
.nav-back-btn svg { width: 18px; height: 18px; }
.nav-page-title {
  font-size: 16px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.logo { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.logo-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.app-icon {
  display: inline-block;
  background-image: url(/assets/ccd4fb1c074d.png);
  background-size: cover;
  background-position: center;
  border-radius: 22%;
  flex-shrink: 0;
}
.hero-app-icon {
  width: 84px; height: 84px;
  border-radius: 22%;
  box-shadow: 0 8px 32px rgba(167,139,250,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.cta-app-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(167,139,250,0.4), 0 0 0 1px rgba(255,255,255,0.1);
}
.logo span {
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-menu-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: 1.5px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  cursor: pointer;
  color: #fff;
}
.nav-menu-btn svg { width: 18px; height: 18px; }
.drawer-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 280px;
  background: linear-gradient(180deg, #1a0f3a 0%, #0a0618 100%);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 70px 24px 30px;
  display: flex; flex-direction: column;
}
.drawer.active { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}
.drawer-close svg { width: 18px; height: 18px; }
.drawer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.drawer-logo .logo-icon { width: 40px; height: 40px; }
.drawer-logo-name {
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.drawer-logo-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.drawer-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px; color: rgba(255,255,255,0.8);
}
.drawer-nav-item:active, .drawer-nav-item.active {
  background: rgba(167,139,250,0.15);
  color: #c4b5fd;
}
.drawer-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.drawer-download {
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  text-align: center;
  font-weight: 600; font-size: 15px;
  cursor: pointer;
}
.hero-section {
  background: linear-gradient(180deg, rgba(10,6,24,0.5) 0%, rgba(10,6,24,0.25) 40%, rgba(10,6,24,0.55) 100%), url(/assets/e2ae5dbfebdb.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 70px 28px 40px;
  text-align: center;
}
.hero-stars { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.hero-star {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff; border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle { 0%,100%{opacity:0.3;} 50%{opacity:1;} }
.hero-planet {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(167,139,250,0.4), rgba(244,114,182,0.2) 50%, transparent 70%);
  top: 80px; right: -60px;
  animation: float 6s ease-in-out infinite;
}
.hero-planet-2 {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(244,114,182,0.3), transparent 70%);
  bottom: 120px; left: -40px;
  animation: float 8s ease-in-out infinite reverse;
}
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-20px);} }
.voice-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; height: 28px; margin-top: 24px;
  opacity: 0.55; position: relative; z-index: 1;
}
.wave-bar {
  width: 3px; border-radius: 2px;
  background: linear-gradient(to top, rgba(167,139,250,0.9), rgba(244,114,182,0.7));
  animation: waveAnim 1.4s ease-in-out infinite;
}
@keyframes waveAnim { 0%,100%{height:6px;} 50%{height:22px;} }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.3);
  font-size: 12px; color: #c4b5fd;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.hero-title {
  font-size: 36px; font-weight: 900;
  margin-bottom: 12px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6));
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #f9a8d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-slogan {
  font-size: 16px; color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  position: relative; z-index: 1;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.hero-subtitle {
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  position: relative; z-index: 1;
  line-height: 1.7; padding: 0 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.hero-buttons {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 280px;
  position: relative; z-index: 1;
}
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  box-shadow: 0 8px 32px rgba(167,139,250,0.55), 0 2px 8px rgba(0,0,0,0.3);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer;
}
.btn-secondary svg { width: 18px; height: 18px; }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 11px;
}
.scroll-line {
  width: 1px; height: 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3;transform:scaleY(0.6);} 50%{opacity:1;transform:scaleY(1);} }
.feature-section {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 70px 24px 30px;
  text-align: center;
}
.feature-number {
  font-size: 11px; letter-spacing: 2px;
  color: rgba(167,139,250,0.6);
  margin-bottom: 12px; text-transform: uppercase;
}
.feature-title {
  font-size: 24px; font-weight: 800;
  margin-bottom: 14px; line-height: 1.3;
}
.feature-title em {
  font-style: normal;
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.feature-desc {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.8; margin-bottom: 24px; max-width: 320px;
}
.phone-mockup { position: relative; width: 200px; flex-shrink: 0; }
.phone-glow {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(40px); opacity: 0.4;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.phone-glow.purple { background: #a78bfa; }
.phone-glow.pink { background: #f472b6; opacity: 0.3; }
.phone-frame {
  position: relative; z-index: 1;
  background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
  border-radius: 28px; padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
}
.phone-screen {
  background: #0f0a1f;
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 9/16; position: relative;
}
.phone-notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}
.screen-content {
  padding: 28px 12px 12px;
  height: 100%;
  display: flex; flex-direction: column;
}
.couple-section { background: linear-gradient(135deg, #1a0a2e 0%, #2d1245 50%, #3d1a5c 100%); }
.about-screen-content { padding: 30px 14px 14px; }
.about-logo { text-align: center; margin-bottom: 10px; }
.about-logo-icon { font-size: 28px; margin-bottom: 4px; }
.about-logo h3 {
  font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-slogan { text-align: center; font-size: 10px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.about-feature-item {
  background: rgba(255,255,255,0.05);
  border-radius: 10px; padding: 10px 8px;
  text-align: center; font-size: 10px; color: rgba(255,255,255,0.7);
}
.about-feature-icon { font-size: 18px; margin-bottom: 4px; }
.about-footer {
  text-align: center; font-size: 9px; color: rgba(255,255,255,0.35);
  margin-top: auto; padding-top: 8px;
}
.treehole-section { background: linear-gradient(135deg, #0f1a2e 0%, #1a2a45 50%, #1a3a5c 100%); }
.treehole-screen-content { padding: 26px 10px 10px; }
.treehole-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding: 0 4px;
}
.treehole-header h3 { font-size: 13px; font-weight: 700; color: #7dd3fc; }
.treehole-post-btn {
  font-size: 10px; padding: 4px 10px;
  border-radius: 12px;
  background: rgba(125,211,252,0.15);
  color: #7dd3fc;
  border: 1px solid rgba(125,211,252,0.3);
}
.treehole-bottle-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bottle-item {
  display: flex; gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  align-items: flex-start;
}
.bottle-icon { font-size: 16px; flex-shrink: 0; }
.bottle-content { flex: 1; min-width: 0; }
.bottle-text {
  font-size: 9px; color: rgba(255,255,255,0.75);
  line-height: 1.5; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bottle-meta { font-size: 8px; color: rgba(255,255,255,0.35); }
.treehole-tip { text-align: center; font-size: 8px; color: rgba(125,211,252,0.5); padding-top: 8px; }
.voice-section { background: linear-gradient(135deg, #1a0a2e 0%, #2d1245 50%, #3d1a5c 100%); }
.voice-screen-content { padding: 26px 10px 10px; }
.voice-room-header { text-align: center; margin-bottom: 10px; }
.voice-room-title { font-size: 11px; font-weight: 700; color: #f9a8d4; margin-bottom: 2px; }
.voice-room-sub { font-size: 8px; color: rgba(255,255,255,0.4); }
.voice-seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.voice-seat { text-align: center; }
.voice-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  margin: 0 auto 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; position: relative;
}
.voice-avatar.speaking::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid #f472b6;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.1);} }
.voice-avatar.empty {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.3); font-size: 14px;
}
.voice-name { font-size: 8px; color: rgba(255,255,255,0.5); }
.voice-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; height: 20px; margin-bottom: 6px;
}
.wave-bar {
  width: 3px;
  background: linear-gradient(to top, #a78bfa, #f472b6);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
@keyframes wave { 0%,100%{height:4px;} 50%{height:18px;} }
.voice-now-playing { text-align: center; font-size: 8px; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.voice-controls { display: flex; justify-content: center; gap: 10px; margin-top: auto; }
.voice-control-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  background: rgba(255,255,255,0.08);
}
.voice-control-btn.mic { background: linear-gradient(135deg, #a78bfa, #f472b6); }
.ai-section { background: linear-gradient(135deg, #0a1a2e 0%, #0f2a45 50%, #1a3a5c 100%); }
.ai-screen-content { padding: 26px 10px 10px; }
.ai-character { text-align: center; margin-bottom: 10px; }
.ai-avatar-large {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ai-name { font-size: 11px; font-weight: 700; color: #93c5fd; margin-bottom: 2px; }
.ai-type { font-size: 8px; color: rgba(255,255,255,0.4); }
.ai-chat-area { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.ai-msg {
  max-width: 80%;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 9px; line-height: 1.5;
}
.ai-msg.ai {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border-bottom-left-radius: 4px;
}
.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-typing {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 12px;
  display: flex; gap: 4px;
}
.typing-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: typing 1.4s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100%{transform:translateY(0);opacity:0.4;} 30%{transform:translateY(-4px);opacity:1;} }
.ai-input-bar {
  display: flex; align-items: center;
  padding: 6px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  margin-top: 8px;
}
.ai-input-placeholder { flex: 1; font-size: 9px; color: rgba(255,255,255,0.3); }
.ai-send-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff;
}
.download-section {
  position: relative;
  background: linear-gradient(180deg, #0a0618 0%, #1a0f3a 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 70px 24px 30px;
  text-align: center;
}
.cta-title {
  font-size: 26px; font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-desc { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 28px; line-height: 1.6; }
.cta-buttons {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 280px;
  margin-bottom: 20px;
}
.footer {
  position: absolute;
  bottom: 20px; left: 24px; right: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  z-index: 10;
  pointer-events: auto;
}
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.footer-brand .logo-icon { width: 24px; height: 24px; }
.footer-brand .logo-icon svg { width: 14px; height: 14px; }
.footer-brand-name {
  font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-desc { font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 8px; }
.footer-links-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.footer-links-row a { font-size: 10px; color: rgba(255,255,255,0.45); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-links-row a:hover { color: rgba(255,255,255,0.75); }
.footer-copyright { font-size: 9px; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.footer-icp { font-size: 9px; color: rgba(255,255,255,0.25); line-height: 1.6; }
.footer-icp a { color: rgba(255,255,255,0.25); text-decoration: none; cursor: pointer; }
.footer-icp a:hover { color: rgba(255,255,255,0.5); }
.bottom-download-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,6,24,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease;
}
.bottom-bar-info { display: flex; align-items: center; gap: 10px; }
.bottom-bar-logo {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.bottom-bar-text { display: flex; flex-direction: column; }
.bottom-bar-name { font-size: 13px; font-weight: 700; color: #fff; }
.bottom-bar-sub { font-size: 10px; color: rgba(255,255,255,0.5); }
.bottom-bar-download {
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color: #fff; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none;
}
.page-view {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0a0618;
  z-index: 50;
  overflow-y: auto;
  padding-top: 56px;
}
.page-view.active { display: block; }
.page-view::-webkit-scrollbar { display: none; }
.page-hero {
  position: relative;
  padding: 40px 24px 32px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0f3a 0%, #0a0618 100%);
}
.page-hero h1 {
  font-size: 28px; font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; z-index: 1;
}
.page-hero p { font-size: 14px; color: rgba(255,255,255,0.5); position: relative; z-index: 1; }
.page-content { padding: 24px; padding-bottom: 100px; }
.page-section { margin-bottom: 28px; }
.page-section-title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid #a78bfa;
  color: #fff;
}
.page-section-text {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.8; margin-bottom: 12px;
}
.page-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px; margin-bottom: 14px;
}
.page-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #c4b5fd; }
.page-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.page-card-icon { font-size: 24px; margin-bottom: 8px; }
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px; cursor: pointer;
}
.job-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.job-meta { display: flex; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.45); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-tag {
  font-size: 11px; padding: 3px 10px;
  border-radius: 10px;
  background: rgba(167,139,250,0.12);
  color: #c4b5fd;
}
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 16px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(244,114,182,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info { flex: 1; }
.contact-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.contact-value { font-size: 15px; color: #fff; font-weight: 500; }
.guild-view {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0a0618;
  z-index: 50;
  overflow-y: auto;
  padding-top: 56px;
}
.guild-view.active { display: block; }
.guild-view::-webkit-scrollbar { display: none; }
.guild-container { padding: 24px; padding-bottom: 100px; }
.guild-card {
  background: linear-gradient(135deg, rgba(26,15,58,0.8), rgba(10,6,24,0.9));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 20px; padding: 24px; margin-bottom: 20px;
}
.guild-header { text-align: center; margin-bottom: 24px; }
.guild-header h1 {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.guild-header p { font-size: 13px; color: rgba(255,255,255,0.5); }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.form-label .required { color: #f472b6; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 14px;
  outline: none; font-family: inherit;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff66' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-select option { background: #1a0f3a; color: #fff; }
.form-textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guild-agreement-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  max-height: 600px;
  overflow-y: auto;
  margin-bottom: 14px;
}
.guild-agreement-box h4 { font-size: 13px; color: #c4b5fd; margin-bottom: 8px; }
.guild-agreement-box p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 8px; }
.guild-upload-box {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(167,139,250,0.4);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.guild-upload-box:active { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.6); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: #a78bfa; flex-shrink: 0; }
.form-checkbox label { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; cursor: pointer; }
.form-checkbox label a { color: #c4b5fd; text-decoration: underline; cursor: pointer; }
.guild-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color: #fff; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(167,139,250,0.55), 0 2px 8px rgba(0,0,0,0.3);
}
.guild-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.guild-benefit-item {
  background: rgba(255,255,255,0.04);
  border-radius: 12px; padding: 14px; text-align: center;
}
.guild-benefit-icon { font-size: 24px; margin-bottom: 6px; }
.guild-benefit-title { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.guild-benefit-desc { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.toast {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  white-space: nowrap;
}
.toast.show { opacity: 1; visibility: visible; }
.modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #1a0f3a;
  border-radius: 18px;
  padding: 24px;
  max-width: 340px; width: 100%;
  max-height: 70%; overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.modal-close svg { width: 16px; height: 16px; }
.modal h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #c4b5fd; padding-right: 30px; }
.modal p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 10px; }
