/* 홈 — 페이지 전용 클래스는 home- 접두사 */

/* 배너: 브랜드 색 그라데이션 + 오른쪽 큰 아이콘 */
.home-slide { display: block; overflow: hidden; color: #fff; }
.home-slide--1 { background: linear-gradient(120deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 60%, #fff) 100%); }
.home-slide--2 { background: linear-gradient(120deg, #101010 0%, #2f3640 100%); }
.home-slide--3 { background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 10%, #fff) 0%, color-mix(in srgb, var(--primary) 28%, #fff) 100%); color: var(--ink); }
.home-slide-mark { position: absolute; right: 60px; top: 50%; width: 230px; height: 230px; transform: translateY(-50%); border-radius: 48px; border: 18px solid rgba(255, 255, 255, 0.9); }
.home-slide-mark::before { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-35%, -50%); border-left: 70px solid rgba(255, 255, 255, 0.9); border-top: 44px solid transparent; border-bottom: 44px solid transparent; }
.home-slide-mark::after { content: ''; position: absolute; left: 30px; bottom: -58px; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.9); clip-path: polygon(0 0, 100% 0, 0 100%); }
.home-slide-mark--play { border-color: color-mix(in srgb, var(--primary) 85%, #fff); border-radius: 50%; }
.home-slide-mark--play::before { border-left-color: color-mix(in srgb, var(--primary) 85%, #fff); }
.home-slide-mark--play::after { display: none; }
.home-slide-mark--check { border-color: var(--primary); border-radius: 50%; }
.home-slide-mark--check::before { width: 90px; height: 46px; border: 0; border-left: 18px solid var(--primary); border-bottom: 18px solid var(--primary); transform: translate(-50%, -70%) rotate(-45deg); }
.home-slide-mark--check::after { display: none; }

/* 캐릭터 그림 (첫 배너) — .slide img 의 꽉 채우기 규칙을 덮어씀 */
.slide img.home-slide-char { position: absolute; right: 30px; bottom: 50%; transform: translateY(50%); width: auto; height: 300px; object-fit: contain; pointer-events: none; }
@media (max-width: 1023px) { .slide img.home-slide-char { right: 16px; height: 220px; } }
@media (max-width: 767px)  { .slide img.home-slide-char { right: 50%; bottom: 8px; transform: translateX(50%); height: 46%; } }

/* PC: 배너만 본문(900)보다 넓게 */
@media (min-width: 1024px) {
  .home-hero .wrap { width: min(1200px, calc(100% - 80px)); }
  .home-hero .slider-view { height: 460px; }
  .home-hero .slide-copy { left: 90px; }
  .home-hero .home-slide-mark { right: 110px; }
  .home-hero .slide img.home-slide-char { right: 70px; width: min(520px, calc(100% - 640px)); height: auto; }
}

/* 음악 심의란 — 아이콘 */
.home-why-ico { position: relative; width: 56px; height: 56px; border-radius: 18px; background: color-mix(in srgb, var(--primary) 12%, #fff); }
/* 아이콘 모양은 마스크, 색은 대표색(관리자에서 바꾸면 같이 바뀜) */
.home-why-ico::before { content: ''; position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; background: var(--primary); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.home-why-ico--1 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232468be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
.home-why-ico--2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232468be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M17 2l-5 5-5-5'/%3E%3C/svg%3E"); }
.home-why-ico--3 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232468be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E"); }
.home-why span:last-child { color: var(--body-2); }

/* 서비스 카드: 사진 대신 그라데이션 + 큰 아이콘 */
.home-svc-bg { display: block; }
.home-svc-bg--music { background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 80%, #000) 0%, var(--primary) 55%, color-mix(in srgb, var(--primary) 55%, #fff) 100%); }
.home-svc-bg--mv { background: linear-gradient(150deg, #0d0f12 0%, #23272e 60%, #3b4250 100%); }
.home-svc-bg::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 280px; height: 280px; opacity: 0.18; background: center / contain no-repeat; }
.home-svc-bg--music::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
.home-svc-bg--mv::after { opacity: 0.22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='M10 9l5 3-5 3z'/%3E%3C/svg%3E"); }

.home-price-more { margin-top: 30px; text-align: right; }
.home-price-more .more { color: var(--primary); }

/* 아티스트 흐르기 */
.home-art { width: 200px; }
.home-art a { display: grid; gap: 12px; }
.home-art img { width: 200px; height: 200px; border-radius: var(--radius-card); object-fit: cover; background: var(--card); }
.home-art b { display: block; overflow: hidden; font-size: 16px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.home-art span { display: block; overflow: hidden; margin-top: 2px; font-size: 14px; color: var(--sub); white-space: nowrap; text-overflow: ellipsis; }
.home-art-more { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 1023px) {
  .home-slide-mark { right: 40px; width: 160px; height: 160px; border-width: 13px; border-radius: 34px; }
  .home-slide-mark::before { border-left-width: 48px; border-top-width: 30px; border-bottom-width: 30px; }
  .home-slide-mark::after { left: 20px; bottom: -42px; width: 32px; height: 32px; }
  .home-slide-mark--check::before { width: 62px; height: 32px; border-left-width: 13px; border-bottom-width: 13px; }
  .home-svc-bg::after { width: 200px; height: 200px; }
  .home-art { width: 160px; }
  .home-art img { width: 160px; height: 160px; }
}
@media (max-width: 767px) {
  .home-slide-mark { top: auto; bottom: 34px; right: 50%; transform: translateX(50%); width: 120px; height: 120px; border-width: 10px; border-radius: 28px; }
  .home-slide-mark::before { border-left-width: 36px; border-top-width: 23px; border-bottom-width: 23px; }
  .home-slide-mark::after { left: 14px; bottom: -32px; width: 24px; height: 24px; }
  .home-slide-mark--check::before { width: 46px; height: 24px; border-left-width: 10px; border-bottom-width: 10px; }
  .home-why-ico { width: 46px; height: 46px; border-radius: 14px; }
  .home-why-ico::before { width: 22px; height: 22px; }
  .home-price-more { margin-top: 20px; }
  .home-art { width: 130px; }
  .home-art img { width: 130px; height: 130px; border-radius: 16px; }
  .home-art b { font-size: 14px; }
  .home-art span { font-size: 12px; }
  .home-art-more { margin-top: 30px; }
}
