/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}

.logo-accent {
  background: linear-gradient(135deg, #ff006e, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background: #f0f0f0;
  color: #ff006e;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1210 0%, #2a2422 40%, #3d2e28 70%, #2a2422 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 100, 50, 0.08) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  padding: 48px 0 100px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 340px;
}

.phone-frame img {
  width: 100%;
  border-radius: 16px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-frame-sm {
  width: 220px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ===== Store Buttons ===== */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.store-btn div {
  display: flex;
  flex-direction: column;
}

.store-label {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.store-name {
  font-size: 16px;
  font-weight: 700;
}

.google-play {
  background: #34a853;
}

/* ===== About ===== */
.about {
  padding: 80px 0;
  background: #f4f4f4;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image,
.explore-image {
  display: flex;
  justify-content: center;
  width: 100%;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 32px;
  line-height: 1.2;
}

.genre-list li {
  margin-bottom: 28px;
  padding-left: 20px;
  position: relative;
}

.genre-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
}

.genre-list strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.genre-list p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.btn-outline {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 32px;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #1a1a1a;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #fff;
}

/* ===== Explore ===== */
.explore {
  position: relative;
  padding: 80px 0 100px;
  background: #f4f4f4;
}

.explore-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.explore-posters {
  display: flex;
  justify-content: center;
}

.explore-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  max-width: 480px;
}

.drama-showcase,
.explore-bg {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.explore-bg {
  max-width: 520px;
}

.section-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.section-wave svg {
  width: 100%;
  height: 60px;
}

/* ===== Contact ===== */
.contact {
  position: relative;
  padding: 80px 0 100px;
  background: #f4f4f4;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-title-sm {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.contact-question {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.contact-sub {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #888;
  margin-bottom: 20px;
}

.contact-email {
  font-size: 20px;
  font-weight: 600;
  color: #4285f4;
  transition: color 0.2s;
}

.contact-email:hover {
  color: #1a73e8;
  text-decoration: underline;
}

.contact-image img {
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.section-wave-dark-reverse {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.section-wave-dark-reverse svg {
  width: 100%;
  height: 60px;
}

/* ===== Screenshots Carousel ===== */
.screenshots {
  padding: 80px 0;
  background: #f4f4f4;
}

.section-title-center {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 24px;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  transition: transform 0.5s, opacity 0.5s;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: block;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.carousel-btn:hover {
  border-color: #ff006e;
  color: #ff006e;
  background: #fff5f8;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: #4285f4;
  transform: scale(1.2);
}

/* ===== Download CTA ===== */
.download {
  padding: 80px 0;
  background: #f4f4f4;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.download-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #1a1a1a;
}

/* ===== Footer ===== */
.footer {
  background: #2a2422;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.copyright {
  font-size: 13px;
  line-height: 1.5;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-right a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-inner,
  .explore-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
  }

  .hero-phone {
    order: -1;
  }

  .hero-desc,
  .explore-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .genre-list li {
    text-align: left;
  }

  .about-image {
    order: -1;
  }

  .about-content,
  .explore-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .carousel-slide {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }

  .download-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  html {
    scroll-padding-top: 60px;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero-inner {
    padding: 32px 0 72px;
  }

  .hero-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .explore-desc {
    max-width: 100%;
  }

  .about,
  .explore,
  .contact,
  .screenshots,
  .download {
    padding: 48px 0;
  }

  .explore,
  .contact {
    padding-bottom: 72px;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .section-title-center {
    margin-bottom: 32px;
  }

  .genre-list li {
    margin-bottom: 20px;
  }

  .contact-question {
    font-size: 22px;
  }

  .contact-sub {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .contact-email {
    font-size: 17px;
    word-break: break-all;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .carousel {
    gap: 0;
  }

  .carousel-track {
    gap: 16px;
  }

  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-dots {
    margin-top: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .download-title {
    font-size: clamp(24px, 6vw, 32px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-inner {
    padding: 24px 0 64px;
  }

  .phone-frame {
    width: 280px;
  }

  .hero-wave svg {
    height: 48px;
  }

  .section-wave svg,
  .section-wave-dark-reverse svg {
    height: 40px;
  }

  .drama-showcase,
  .explore-bg {
    max-width: 100%;
    border-radius: 12px;
  }

  .about-inner,
  .explore-inner,
  .contact-inner {
    gap: 32px;
  }

  .genre-list strong {
    font-size: 16px;
  }

  .genre-list p {
    font-size: 14px;
  }

  .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .store-btn {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .copyright {
    font-size: 12px;
  }
}
