:root {
  --bg-main: #1A0C08;
  --bg-dark: #1F0E09;
  --panel-1: #33150E;
  --panel-2: #4A1E13;
  --text-main: #FFF3EA;
  --text-sub: #C29C8A;
  --border-light: rgba(255,196,150,.10);
  --border-strong: rgba(255,196,150,.20);
  --grad-main: linear-gradient(135deg, #FFC64D 0%, #FF8A3D 50%, #FF5470 100%);
  --grad-title: linear-gradient(90deg, #FFC64D, #FF8A3D, #FF5470);
  --glow-1: radial-gradient(circle, rgba(255,198,77,0.15) 0%, transparent 60%);
  --glow-2: radial-gradient(circle, rgba(255,138,61,0.12) 0%, transparent 60%);
  --glow-3: radial-gradient(circle, rgba(255,84,112,0.1) 0%, transparent 60%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  background-image: var(--glow-1), var(--glow-2), var(--glow-3);
  background-position: 0% 0%, 100% 50%, 50% 100%;
  background-repeat: no-repeat;
  background-size: 100% 800px, 100% 800px, 100% 800px;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* Typography */
.gradient-text {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 12, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}
.brand img { height: 32px; border-radius: 6px; }
.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-sub);
  transition: color 0.3s;
  padding: 4px 0;
}
.nav-links a:hover { color: #FFC64D; }
.menu-toggle { display: none; background: none; border: none; color: #FFC64D; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-desc {
  color: var(--text-sub);
  font-size: 16px;
  margin-bottom: 24px;
}
.hero-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hero-images img {
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.download-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  background: var(--grad-main);
  color: #1A0C08;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,138,61,0.4); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: #FFC64D;
}
.btn-outline:hover { background: rgba(255,198,77,0.1); box-shadow: none; }

/* Marquee */
.marquee-wrap {
  background: var(--panel-1);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  overflow: hidden;
  padding: 10px 0;
  margin-bottom: 40px;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
  gap: 30px;
}
.marquee-content span {
  font-size: 16px;
  font-weight: 700;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections Common */
.section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--grad-main);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Grid Layouts */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.card {
  background: var(--panel-1);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card img { width: 100%; height: 260px; }
.card-info { padding: 12px; }
.card-info h3 { font-size: 16px; margin-bottom: 6px; color: #FFC64D; }
.card-info p { font-size: 12px; color: var(--text-sub); }
.tag { display: inline-block; background: rgba(255,138,61,0.2); color: #FF8A3D; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-top: 8px; }

/* List Layouts */
.list-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  background: var(--panel-1);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-light);
}
.list-split img { width: 100%; border-radius: 12px; height: 100%; object-fit: cover; }
.list-content ul li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.list-content ul li::before {
  content: '★';
  color: #FF5470;
  font-size: 12px;
}
.list-content ul li:last-child { border-bottom: none; }

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel-2);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
}
.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.time-point {
  font-weight: 700;
  color: #FFC64D;
  min-width: 60px;
}
.time-content {
  background: var(--panel-1);
  padding: 12px 16px;
  border-radius: 8px;
  flex: 1;
  border-left: 3px solid #FF8A3D;
}

/* QA */
.qa-box { display: flex; flex-direction: column; gap: 16px; }
.qa-item { background: var(--panel-1); border-radius: 12px; padding: 20px; border: 1px solid var(--border-light); }
.qa-q { font-weight: 700; color: #FF5470; margin-bottom: 8px; font-size: 16px; }
.qa-a { color: var(--text-sub); font-size: 14px; }

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(51, 21, 14, 0.95);
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}
.floating-download img { height: 24px; border-radius: 4px; }
.floating-download .float-text { font-size: 12px; color: var(--text-sub); }
.floating-download .float-btn { background: var(--grad-main); color: #1A0C08; padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 13px; }

/* Footer */
.site-footer {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 40px 20px 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
}
.footer-nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-nav a:hover { color: #FFC64D; }
.footer-copy { margin-bottom: 8px; }
.footer-copy a { color: var(--text-sub); }
.footer-copy a:hover { color: #FFC64D; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: var(--panel-1);
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  border: 1px solid var(--border-strong);
  text-align: center;
}
.modal-content p { margin-bottom: 16px; font-size: 14px; color: var(--text-main); }
.modal-content input {
  width: 100%;
  padding: 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}
.modal-content button {
  background: var(--grad-main);
  color: #1A0C08;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .list-split { grid-template-columns: 1fr; }
  .list-split img { height: 300px; }
  .hero h1 { font-size: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--panel-1);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px;
    border-bottom: 1px solid var(--border-strong);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
  .hero { padding: 20px 16px; }
  .hero h1 { font-size: 26px; }
  .download-group { justify-content: space-between; }
  .btn { flex: 1 1 45%; padding: 8px 10px; font-size: 13px; }
  .floating-download { width: 90%; justify-content: space-between; padding: 8px 16px; bottom: 12px; }
  .floating-download .float-text { display: none; }
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .card img { height: 180px; }
  .section { padding: 0 16px; margin-bottom: 40px; }
  .section-title { font-size: 24px; }
  .timeline-item { flex-direction: column; gap: 8px; }
  .time-point { margin-bottom: -8px; }
}