:root {
  --bg-dark: #07070C;
  --bg-purple: #120A16;
  --litchi-red: #FF3B6B;
  --rose-red: #FF6B8A;
  --flesh-white: #FFF4E6;
  --leaf-green: #00E6A8;
  --holo-purple: #8A6CFF;
  --text-gray: #A7ACBB;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-lg: 32px;
  --radius-md: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--flesh-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 59, 107, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 230, 168, 0.05), transparent 25%);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-weight: 900; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { color: var(--text-gray); font-size: 0.95rem; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

header.scrolled {
  padding: 12px 5%;
  background: rgba(7, 7, 12, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 32px;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--flesh-white); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.btn-download {
  background: linear-gradient(135deg, var(--litchi-red), var(--rose-red));
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 59, 107, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 107, 0.5);
}

.download-menu {
  position: absolute;
  top: 120%;
  right: 0;
  width: 260px;
  background: rgba(18, 10, 22, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.download-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.download-menu h4 {
  font-size: 0.9rem;
  color: var(--leaf-green);
  margin-bottom: 8px;
}
.download-menu p {
  font-size: 0.8rem;
  margin-bottom: 15px;
}
.download-menu .highlight {
  color: var(--litchi-red);
  font-weight: bold;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 60px;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 550px;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 59, 107, 0.1);
  border: 1px solid rgba(255, 59, 107, 0.3);
  border-radius: 50px;
  color: var(--litchi-red);
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 24px;
}

h1 {
  font-size: 3.8rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--flesh-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-text {
  background: linear-gradient(135deg, var(--litchi-red), var(--rose-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-gray);
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--litchi-red), var(--rose-red));
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 59, 107, 0.4);
  transition: all 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 59, 107, 0.6);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--flesh-white);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--leaf-green);
  color: var(--leaf-green);
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-item h4 {
  font-size: 1.8rem;
  color: var(--flesh-white);
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 0.85rem;
}

/* Hero Visual (Litchi Core Pod) */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.pod-container {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,59,107,0.15) 0%, rgba(18,10,22,0) 70%);
  border: 1px solid rgba(255, 59, 107, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: inset 0 0 50px rgba(255, 59, 107, 0.1), 0 0 80px rgba(0, 230, 168, 0.05);
}

.pod-container::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(0, 230, 168, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.phone-mockup {
  width: 200px;
  height: 400px;
  background: #000;
  border-radius: 30px;
  border: 4px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 59, 107, 0.3);
  transform: rotate(-5deg);
  transition: transform 0.4s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg) translateY(-10px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: url('images/33208fba-e8cb-4d9d-bc07-c8eda733.webp') center/cover;
}

.floating-card {
  position: absolute;
  background: rgba(18, 10, 22, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 0.8rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.card-1 { top: 15%; left: -10%; animation-delay: 0s; color: var(--leaf-green); }
.card-2 { bottom: 20%; right: -5%; animation-delay: 2s; color: var(--litchi-red); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Marquee */
.marquee-section {
  padding: 15px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.marquee-content span {
  margin: 0 30px;
  color: var(--text-gray);
  font-size: 0.9rem;
}
.marquee-content span i {
  color: var(--litchi-red);
  font-style: normal;
  margin-right: 8px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections Common */
section {
  padding: 80px 5%;
}
.section-header {
  margin-bottom: 40px;
}
.section-header p {
  max-width: 600px;
}

/* Emotion Jelly Shop */
.emotion-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.emotion-tab {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.emotion-tab.active, .emotion-tab:hover {
  background: linear-gradient(135deg, rgba(255,59,107,0.2), rgba(138,108,255,0.2));
  border-color: var(--litchi-red);
  color: var(--flesh-white);
}

.drama-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.drama-card {
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
  cursor: pointer;
}
.drama-card:hover {
  transform: translateY(-8px);
  border-color: var(--litchi-red);
  box-shadow: 0 10px 30px rgba(255, 59, 107, 0.2);
}
.drama-cover {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.drama-info {
  padding: 16px;
}
.drama-tag {
  font-size: 0.75rem;
  color: var(--leaf-green);
  margin-bottom: 4px;
  display: inline-block;
}
.drama-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--flesh-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drama-heat {
  font-size: 0.8rem;
  color: var(--litchi-red);
}

/* Ranking List */
.rank-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--glass-bg);
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.rank-item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(10px);
  border-left: 3px solid var(--litchi-red);
}
.rank-num {
  font-size: 1.5rem;
  font-weight: 900;
  width: 30px;
  color: var(--text-gray);
}
.rank-num.top-1 { color: #FFD700; }
.rank-num.top-2 { color: #C0C0C0; }
.rank-num.top-3 { color: #CD7F32; }
.rank-cover {
  width: 50px;
  height: 66px;
  border-radius: 8px;
  object-fit: cover;
}
.rank-info { flex: 1; }
.rank-title { font-size: 0.95rem; font-weight: bold; margin-bottom: 4px; }
.rank-meta { font-size: 0.8rem; color: var(--text-gray); }
.rank-heat-bar {
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.rank-heat-fill {
  height: 100%;
  background: linear-gradient(to right, var(--litchi-red), var(--rose-red));
  border-radius: 2px;
}

/* Exclusive Scroll */
.exclusive-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
}
.exclusive-card {
  min-width: 200px;
  width: 200px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
}
.exclusive-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.exclusive-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--litchi-red);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}
.exclusive-info {
  padding: 12px;
}

/* Tech Features */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s;
}
.tech-card:hover {
  border-color: var(--leaf-green);
  box-shadow: 0 0 20px rgba(0, 230, 168, 0.1);
}
.tech-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--leaf-green);
}
.tech-card h3 { font-size: 1.1rem; color: var(--flesh-white); }
.tech-card p { font-size: 0.85rem; margin-top: 8px; }

/* VIP Section */
.vip-section {
  background: linear-gradient(135deg, rgba(255,59,107,0.1), rgba(138,108,255,0.1));
  border: 1px solid rgba(255,59,107,0.2);
  border-radius: var(--radius-lg);
  padding: 60px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vip-section h2 { color: #fff; margin-bottom: 16px; }
.vip-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.vip-feature {
  font-size: 0.95rem;
  color: var(--flesh-white);
}
.vip-feature::before {
  content: '✦';
  color: var(--litchi-red);
  margin-right: 6px;
}

/* Platform Section */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.platform-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.platform-card h4 { color: var(--flesh-white); margin-bottom: 8px; }
.platform-card p { font-size: 0.8rem; }

/* Download Section */
.download-section {
  text-align: center;
  padding: 100px 5%;
}
.download-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--flesh-white), var(--litchi-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.download-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.qr-area {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.qr-box {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 5% 30px;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { margin-top: 16px; max-width: 300px; }
.footer-col h4 { color: var(--flesh-white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-gray); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--litchi-red); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #666;
}
.footer-bottom a { color: #666; text-decoration: none; margin-left: 10px; }
.footer-bottom a:hover { color: var(--text-gray); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-content { max-width: 100%; margin-bottom: 60px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .nav-links { display: none; }
  .hero-visual { min-height: 400px; }
  .drama-grid, .tech-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .drama-grid, .tech-grid, .platform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-actions { flex-direction: column; }
  .exclusive-scroll { padding-bottom: 10px; }
}