:root {
    --bg: #fcfaf7;
    --bg-alt: #f4f0ea;
    --ink: #1c1917;
    --ink-2: #78716c;
    --brand: #d9682a;
    --brand-soft: rgba(217, 104, 42, 0.08);
    --line: #e7e2dc;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

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

  ul, li {
    list-style: none;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Typography */
  h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
  }

  h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
  }

  h3 {
    font-size: 16px;
    font-weight: 600;
  }

  .kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-2);
    display: block;
    margin-bottom: 16px;
  }

  .text-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-2);
  }

  .text-small {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
  }

  /* Components */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
  }

  .btn-primary {
    background-color: var(--brand);
    color: #ffffff;
  }

  .btn-primary:hover {
    opacity: 0.9;
  }

  .btn-secondary {
    background-color: transparent;
    border-color: var(--line);
    color: var(--ink);
  }

  .btn-secondary:hover {
    background-color: var(--bg-alt);
  }

  .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background-color: var(--brand-soft);
    color: var(--brand);
  }

  .card {
    background-color: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s;
  }

  .card:hover {
    transform: translateY(-3px);
  }

  .img-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 22%;
    filter: saturate(1.03) contrast(1.02);
    display: block;
  }

  .img-mask {
    position: relative;
  }

  .img-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
    pointer-events: none;
  }

  /* Header */
  .site-header {
    padding: 24px 0;
  }

  .brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .brand-logo {
    height: 32px;
    width: auto;
  }

  .brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  /* Sections Setup */
  .section {
    padding: 88px 0;
  }

  .section-alt {
    background-color: var(--bg-alt);
  }

  @media (max-width: 767px) {
    .section {
      padding: 56px 0;
    }
  }

  /* Hero */
  .hero {
    text-align: center;
    padding-bottom: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
    color: var(--ink-2);
    max-width: 600px;
    margin: 0 auto 32px;
  }

  .pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
  }

  .pill {
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
  }

  .btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
  }

  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
  }

  .hero-center-img {
    width: 60%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .hero-side-img {
    width: 20%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
  }

  .hero-side-img.left {
    transform: rotate(-8deg) translateY(8px);
  }

  .hero-side-img.right {
    transform: rotate(8deg) translateY(-8px);
  }

  .hero-badge-bottom {
    position: absolute;
    bottom: 16px;
    left: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
  }

  .hero-hint {
    font-size: 13px;
    color: var(--ink-2);
  }

  /* Genre Grid */
  .genre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .genre-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: background-color 0.2s;
    white-space: nowrap;
    overflow: hidden;
  }

  .genre-item:hover {
    background-color: var(--brand-soft);
  }

  .genre-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--ink);
  }

  .genre-desc {
    font-size: 12px;
    color: var(--ink-2);
  }

  /* Two Column Layout */
  .two-col {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
  }

  .col-left, .col-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Utility Header */
  .block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .block-header h3 {
    font-size: 20px;
    font-weight: 700;
  }

  .block-header a, .block-header span {
    font-size: 13px;
    color: var(--ink-2);
  }

  /* Drama Cards */
  .drama-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .drama-card {
    display: flex;
    gap: 16px;
    padding: 12px;
    align-items: center;
  }

  .drama-img {
    width: 80px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .drama-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  /* Calendar */
  .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    margin-bottom: 16px;
  }

  .cal-day {
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink-2);
  }

  .cal-day.active {
    background-color: var(--brand);
    color: #fff;
  }

  .cal-day-num {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
  }

  /* Ranking */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .rank-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand);
    width: 20px;
  }

  .rank-img {
    width: 40px;
    border-radius: 3px;
  }

  .rank-info {
    flex: 1;
  }

  .rank-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .rank-tag {
    font-size: 11px;
    color: var(--ink-2);
    background-color: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
  }

  .rank-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
  }

  /* Tips */
  .tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tip-card {
    padding: 16px;
  }

  .tip-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  /* Certifications */
  .cert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
  }

  /* Workflow */
  .workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
  }

  .workflow-step {
    position: relative;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
  }

  /* Gallery */
  .gallery-wrap {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }
  
  .gallery-wrap::-webkit-scrollbar {
    display: none;
  }

  .gallery-img {
    flex: 0 0 calc(33.333% - 11px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  /* Reviews */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .review-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .quote-icon {
    font-size: 40px;
    line-height: 1;
    color: var(--line);
    font-family: serif;
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.5;
  }

  .review-text {
    flex: 1;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--ink);
  }

  .review-user {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
  }

  /* Download Block */
  .download-block {
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand), black 20%));
    color: #ffffff;
    border-radius: 24px;
    padding: 64px 24px;
    text-align: center;
  }

  .download-block h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: #ffffff;
    margin-bottom: 16px;
  }

  .download-block p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
  }

  .btn-white {
    background-color: #ffffff;
    color: var(--brand);
    padding: 16px 48px;
    font-size: 16px;
    border-radius: 30px;
  }

  /* FAQ */
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  details {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background-color: #ffffff;
  }

  summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
  }

  summary::-webkit-details-marker {
    display: none;
  }

  summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--ink-2);
    font-size: 18px;
  }

  details[open] summary::after {
    content: "-";
  }

  details p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--ink-2);
  }

  /* Footer */
  .site-footer {
    background-color: var(--bg-alt);
    padding: 48px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-2);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .age-badge {
    border: 1px solid var(--line);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
  }

  /* Fixed Mobile Bar */
  .mobile-download-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid var(--line);
    padding: 12px 24px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 100;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  }

  .mobile-download-bar .btn {
    padding: 8px 20px;
    border-radius: 20px;
  }

  /* Responsive */
  @media (max-width: 1023px) {
    .two-col {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .hero-center-img {
      width: 100%;
      aspect-ratio: 16 / 9;
    }

    .hero-side-img {
      display: none;
    }

    .gallery-img {
      flex: 0 0 calc(50% - 8px);
    }

    .reviews-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 767px) {
    .genre-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .pill-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      max-width: 400px;
      margin: 0 auto 32px;
    }

    .pill {
      border-radius: 8px;
      padding: 8px;
    }

    .pill.full-width {
      grid-column: span 2;
    }

    .btn-group {
      flex-direction: column;
      gap: 12px;
    }

    .drama-list {
      grid-template-columns: 1fr;
    }

    .workflow-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 16px;
    }

    .gallery-img {
      flex: 0 0 80vw;
    }

    .reviews-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 16px;
    }

    .reviews-grid::-webkit-scrollbar {
      display: none;
    }

    .review-card {
      flex: 0 0 78vw;
      scroll-snap-align: start;
    }

    .faq-grid {
      grid-template-columns: 1fr;
    }

    .footer-grid {
      grid-template-columns: 1fr;
    }

    .mobile-download-bar {
      display: flex;
    }

    .site-footer {
      padding-bottom: calc(48px + 72px + 16px + env(safe-area-inset-bottom));
    }
  }