:root {
  --red: #D92128;
  --black: #111111;
  --bg: #F8F9FA;
  --text: #333333;
  --text-light: #666666;
  --radius: 12px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-block;
  background-color: var(--red);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #b81a20;
}
.section-title {
  font-size: 24px;
  color: var(--black);
  margin-bottom: 8px;
  text-align: center;
}
.section-desc {
  font-size: 15px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--black);
}
.logo-wrap img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
}
.nav-links a {
  margin: 0 12px;
  font-size: 15px;
  color: var(--black);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--red);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-right .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  background-color: var(--black);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: radial-gradient(circle at center, var(--red) 0%, var(--black) 80%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.3;
  font-weight: 800;
}
.hero p {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero .btn {
  font-size: 18px;
  padding: 12px 32px;
}

/* Features */
.features {
  padding: 60px 0;
  background-color: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}
.feature-card h3 {
  color: var(--black);
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* Movie Grid */
.movies {
  padding: 60px 0;
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.movie-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.movie-card img {
  width: 100%;
  aspect-ratio: 3/4;
}
.movie-info {
  padding: 12px;
}
.movie-info h3 {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 4px;
}
.movie-info p {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Drama */
.dramas {
  padding: 60px 0;
  background: #fff;
}
.drama-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.drama-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.drama-card img {
  width: 100%;
  aspect-ratio: 3/4;
}
.drama-card h3 {
  font-size: 14px;
  padding: 8px;
  text-align: center;
  color: var(--black);
}

/* Anime */
.anime {
  padding: 60px 0;
}
.anime-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.anime-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.anime-text h2 {
  font-size: 24px;
  color: var(--black);
  margin-bottom: 12px;
}
.anime-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.anime-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.anime-imgs img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3/4;
}

/* Variety */
.variety {
  padding: 60px 0;
  background: #fff;
}
.variety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.variety-main img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16/9;
}
.variety-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.variety-sub img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 1/1;
}

/* Smart Features & Ranking */
.smart-rank {
  padding: 60px 0;
  background: var(--black);
  color: #fff;
}
.smart-rank h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}
.smart-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.smart-text h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}
.smart-text p {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 20px;
}
.rank-list {
  list-style: none;
}
.rank-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}
.rank-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--red);
  width: 40px;
}
.rank-title {
  font-size: 16px;
  flex: 1;
}
.rank-tag {
  font-size: 12px;
  background: #333;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Download */
.download {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  position: relative;
}
.download::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217,33,40,0.3) 0%, transparent 70%);
  z-index: 0;
}
.download-content {
  position: relative;
  z-index: 1;
}
.download h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #fff;
}
.download p {
  font-size: 16px;
  color: #bbb;
  margin-bottom: 30px;
}
.download .btn {
  font-size: 18px;
  padding: 14px 40px;
  border-radius: 30px;
}

/* Testimonials */
.testimonials {
  padding: 60px 0;
}
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testi-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.testi-card p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
  font-style: italic;
}
.testi-user {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}
.stars {
  color: #FFB800;
  margin-bottom: 8px;
}

/* FAQ */
.faq {
  padding: 60px 0;
  background: #fff;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-light);
}

/* Footer */
footer {
  background: var(--black);
  color: #888;
  padding: 40px 0 80px 0;
  font-size: 13px;
  text-align: center;
  position: relative;
}
footer p {
  margin-bottom: 8px;
}
footer a {
  color: #888;
  text-decoration: underline;
}
footer a:hover {
  color: #fff;
}

/* Floating Button */
.float-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(217,33,40,0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}
.float-btn:hover {
  transform: translateX(-50%) scale(1.05);
}
.float-btn::after {
  content: '↓';
  font-size: 18px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
  .header-inner {
    height: 72px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero p {
    font-size: 18px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .anime-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .variety-grid {
    grid-template-columns: 2fr 1fr;
  }
  .variety-sub {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .smart-inner {
    grid-template-columns: 1fr 1fr;
  }
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .float-btn {
    bottom: 30px;
    left: auto;
    right: 30px;
    transform: none;
  }
  .float-btn:hover {
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .movie-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero {
    padding: 100px 0;
  }
  .section-title {
    font-size: 28px;
  }
}