:root {
  --primary: #FF7F00;
  --primary-light: #FFF8F4;
  --secondary-green: #8EEA8C;
  --secondary-yellow: #FFD15C;
  --text-main: #1A1A1A;
  --text-gray: #666666;
  --text-light: #999999;
  --border-color: #F0EBE8;
  --card-shadow-hover: 0 12px 32px rgba(255, 127, 0, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #FFFFFF;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
}

.highlight {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 50px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary-yellow));
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 127, 0, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 127, 0, 0.4);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  transition: var(--transition);
}

.navbar.scrolled .brand {
  color: var(--primary);
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--primary) !important;
}

.nav-cta {
  display: none;
}

.navbar.scrolled .nav-cta {
  display: inline-flex;
  padding: 10px 24px;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: #FFF;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background-color: var(--text-main);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background-image: url('images/1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 4rem;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--secondary-yellow), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  margin-top: 10px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Stats Banner */
.stats-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-gray);
  font-weight: 600;
}

/* Section: Highlights */
.highlights-section {
  background-color: #FFFFFF;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  background-color: #F5F5F5;
  color: var(--text-gray);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(255, 127, 0, 0.3);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.poster-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.poster-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-5px);
}

.poster-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.poster-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.poster-card:hover .poster-img-wrap img {
  transform: scale(1.05);
}

.poster-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.poster-info {
  padding: 16px;
}

.poster-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Section: Quotes Marquee */
.quotes-section {
  background-color: var(--primary);
  padding: 60px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.quote-item {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 800;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  letter-spacing: 1px;
}

.quote-item::before {
  content: '“';
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section: Tags */
.tags-section {
  background-color: #FFFFFF;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.tag-item {
  padding: 12px 28px;
  border-radius: 100px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.tag-item:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 127, 0, 0.2);
}

/* Section: Why Us */
.why-section {
  background-color: var(--primary-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.feature-num {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 127, 0, 0.08);
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: var(--text-gray);
  position: relative;
  z-index: 2;
}

/* Section: App Preview */
.preview-section {
  background-color: #FFFFFF;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.preview-row:last-child {
  margin-bottom: 0;
}

.preview-row.reverse {
  flex-direction: row-reverse;
}

.preview-text {
  flex: 1;
}

.step-num {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.preview-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.preview-text p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.8;
}

.preview-img {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
}

.preview-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Section: Danmaku */
.danmaku-section {
  background-color: #FFFFFF;
}

.player-box {
  background-color: #1A1A1A;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
  overflow: hidden;
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.player-header {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  background: #1A1A1A;
}

.player-status {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.player-quality {
  color: #999;
  font-size: 0.85rem;
  border: 1px solid #333;
  padding: 2px 8px;
  border-radius: 4px;
}

.danmaku-area {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.danmaku-item {
  position: absolute;
  white-space: nowrap;
  color: #FFFFFF;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  will-change: transform;
}

.player-footer {
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  background: #1A1A1A;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.player-footer input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 10px 20px;
  color: #FFFFFF;
  outline: none;
}

.player-footer input::placeholder {
  color: #666;
}

.send-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary-yellow));
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
}

/* Section: FAQ */
.faq-section {
  background-color: var(--primary-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.faq-item:first-child {
  border-top: 1px dashed rgba(0,0,0,0.1);
}

.faq-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 127, 0, 0.3);
  line-height: 1;
}

.faq-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.faq-content p {
  color: var(--text-gray);
}

/* Section: Download */
.download-section {
  background-color: var(--primary-light);
}

.download-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.dl-left {
  flex: 1;
}

.dl-left h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.dl-left h2 span {
  color: var(--primary);
}

.dl-btn-wrap {
  margin-bottom: 30px;
}

.btn-large {
  width: 100%;
  padding: 20px;
  font-size: 1.3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 0 #CC6500;
  transform: translateY(-4px);
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #CC6500;
}

.btn-large:active {
  transform: translateY(4px);
  box-shadow: none;
}

.version-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.version-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.version-table tr:last-child td {
  border-bottom: none;
}

.version-table td:first-child {
  color: var(--text-gray);
  font-weight: 600;
  width: 40%;
}

.dl-right {
  flex: 1;
}

.dl-right h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-text p {
  color: var(--text-gray);
}

/* Footer */
footer {
  background-color: #1A1A1A;
  color: #999;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 32px;
  border-radius: 6px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags span {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-dl-card {
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  display: block;
  transition: var(--transition);
  background: rgba(255, 127, 0, 0.05);
}

.footer-dl-card:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.footer-dl-card h5 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-dl-card:hover h5 {
  color: #FFFFFF;
}

.footer-dl-card p {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.time-info {
  color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero h1 span { font-size: 2.5rem; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .preview-row { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-layout { flex-direction: column; }
}

@media (max-width: 768px) {
  section { padding: 70px 0 !important; }
  .section-title { font-size: 2rem; margin-bottom: 12px; }
  .section-subtitle { margin-bottom: 35px; }
  
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  .hero h1 { font-size: 2.2rem; }
  .hero h1 span { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
  .stat-item h3 { font-size: 2.2rem; }
  
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 30px; }
  .feature-num { font-size: 6rem; }
  
  .preview-row, .preview-row.reverse { flex-direction: column; gap: 30px; margin-bottom: 50px; }
  .preview-text h3 { font-size: 1.5rem; }
  
  .faq-item { flex-direction: column; gap: 12px; padding: 24px 0; }
  .faq-num { font-size: 1.8rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  
  .btn-large { padding: 16px; font-size: 1.1rem; }
  .version-table td { padding: 12px 16px; }
  
  .quote-item { font-size: 1.2rem; padding: 0 20px; }
}


@keyframes danmaku {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}