/*############################################# 기본 (s) #############################################*/
.hidden {
    visibility: hidden;
    opacity: 0;
}

@font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 400;
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot');
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot?#iefix') format('embedded-opentype'),
        url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.woff') format('woff'),
        url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.ttf') format('truetype');
}

@font-face {
    font-family: 'YPairing';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-4@1.1/YPairingFont.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'YPairing';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-4@1.1/YPairingFont-Bd.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

:root {
    --main-color: #d19b9b;
    --main-font: 'NanumBarunGothic', Arial, sans-serif;
}

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

body {
    font-family: var(--main-font);
    background: transparent;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    /* background: #F1F0EC; */
    background: radial-gradient(circle at top left, rgba(255, 220, 208, 0.8), transparent 32%), radial-gradient(circle at 85% 18%, rgba(209, 194, 255, 0.32), transparent 22%), linear-gradient(180deg, #f9f4ef 0%, #f4ece3 45%, #efe5db 100%);
}

.main-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* min-height: 85vh; */
    justify-content: center;
    align-items: center;
    background: transparent;
    padding-bottom : 5vh;
}

@media (max-width: 600px) {
    .main-section {
        /* min-height: 45vh; */
    }

    header {
        /* padding-top: 80px !important; */
        padding-bottom: 20px !important;
    }

    .mobile_n {
        display: none;
    }

    .mobile_y {
        display: block !important;
    }

    .spanSlow {
        font-size: 15vw !important;
    }

    .container {
        /* padding: 5vh 20px 20px 20px !important; */
        padding: 0 20px 20px 20px !important;
    }
}

.sections {
    width: 95%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    margin: 54px 0 0 0;
    gap: 32px;
}

@media (min-width: 700px) {
    .sections {
        flex-direction: row;
        gap: 40px;
        margin: 60px auto 0 auto;
    }
}

.section-card {
    flex: 1 1 0;
    background: #fff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 8px 32px 0 rgba(179, 137, 137, 0.18), 0 1.5px 14px 0 rgba(210, 170, 170, 0.11), 0 0 0 4px #f8ecec1a;
    padding: 38px 18px 32px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.24s, transform 0.18s;
}

.section-card:hover {
    box-shadow: 0 18px 48px 0 rgba(190, 145, 145, 0.23), 0 3px 25px 0 rgba(170, 130, 130, 0.14), 0 0 0 7px #fff5f599;
    transform: translateY(-4px) scale(1.045);
}

.bottom-section {
    width: 95%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.all-music-card {
    background: #fff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 7px 26px 0 rgba(179, 137, 137, 0.13), 0 1.5px 14px 0 rgba(210, 170, 170, 0.10), 0 0 0 3px #f1dfdf21;
    padding: 32px 18px 32px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.22s, transform 0.14s;
}

.all-music-card:hover {
    box-shadow: 0 15px 36px rgba(209, 155, 155, 0.21), 0 2px 24px 0 rgba(170, 130, 130, 0.13), 0 0 0 6px #fff7f7aa;
    transform: translateY(-3px) scale(1.03);
}

.all-music-title {
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}

.all-music-link {
    text-decoration: none;
    color: #fff;
    background: var(--main-color);
    padding: 11px 32px;
    border-radius: 25px;
    font-size: 1.02rem;
    transition: background 0.16s;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.all-music-link:hover,
.all-music-link:active {
    background: #af7676;
}

footer {
    width: 100%;
    background: none;
    color: #634242;
    text-align: center;
    padding: 30px 0 18px 0;
    font-size: 1rem;
    font-family: var(--main-font);
    letter-spacing: 0.018em;
    margin-top: 55px;
}

body header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body .welcome-kicker {
    order: 1;
}

body .wrap.header {
    order: 2;
}

body .hero-meta {
    order: 3;
}

body .welcome-kicker {
    display: flex;
    justify-content: center;
    padding: clamp(20px, 4vw, 32px) 0 0;
    padding-bottom: 20px;
}

body .welcome-kicker .nav-tag {
    font-size: clamp(9px, 1.2vw, 11px);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #b87060;
}

body .hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(14px, 2.5vw, 24px) 20px clamp(24px, 4vw, 30px);
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

body .meta-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #d4906a, transparent);
    opacity: .3;
}

body .meta-line.r {
    background: linear-gradient(90deg, transparent, #d4906a);
}

body .meta-txt {
    font-size: clamp(9px, 1.1vw, 11px);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #b87060;
    white-space: nowrap;
}

body .top-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 28px;
    padding: 0 20px;
}

body .bot-row {
    max-width: 960px;
    padding: 0 20px;
}

body .card {
    background: rgba(255, 255, 255, 0.65);
    border: 0.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(159, 102, 102, 0.2);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s cubic-bezier(.22, 1, .36, 1);
}

body .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(159, 102, 102, 0.3);
}

body .bottom-card {
    /* width: 100%; */
    margin: 0;
}

body .ci {
    padding: clamp(22px, 3vw, 34px) clamp(20px, 2.5vw, 30px) clamp(18px, 2.5vw, 28px);
}

body .ct {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: clamp(14px, 2vw, 22px);
}

body .cnum {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    letter-spacing: .2em;
    color: #c47a60;
}

body .chip {
    background: #f3e9e1;
    border: 0.5px solid rgba(212, 128, 106, .2);
    border-radius: 100px;
    font-size: clamp(8px, .9vw, 10px);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #b87060;
    padding: 5px 12px;
}

body .ctitle {
    /* font-size: clamp(15px, 2vw, 19px); */
    font-size: clamp(15px, 2vw, 25px);
    /* font-weight: 500; */
    font-weight: 700;
    color: #1a1f2e;
    letter-spacing: -.02em;
    line-height: 1.22;
    margin-bottom: clamp(6px, 1vw, 10px);
    font-family: 'YPairing', sans-serif;
}

body .cdesc {
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 300;
    color: rgba(26, 31, 46, .48);
    line-height: 1.7;
}

body .ccta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: clamp(14px, 2vw, 20px);
    font-size: clamp(10px, 1vw, 11.5px);
    font-weight: 500;
    color: #c47a60;
    letter-spacing: .04em;
}

body .ccta svg {
    width: 11px;
    height: 11px;
    stroke: #c47a60;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s;
}

body .card:hover .ccta svg {
    transform: translateX(3px);
}

body .strip {
    height: 3px;
    background: linear-gradient(90deg, #e8a898, #c47a60);
    opacity: 0;
    transition: opacity .25s;
}

body .card:hover .strip {
    opacity: 1;
}

@media (max-width: 600px) {
    body .hero-meta {
        max-width: 80vw;
        padding-left: 0;
        padding-right: 0;
    }

    body .top-row {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 80vw;
        margin: 0 auto;
        /* padding-bottom:12px; */
        padding : 0px 0px 12px 0px;
    }

    body .bot-row {
        max-width: 80vw;
        width: 100%;
        padding: 0px;
    }

    body .card,
    body .bottom-card {
        border-radius: 11px;
    }
}
/*############################################# 기본 (e) #############################################*/


/*############################################# 인트로 관련 (s) #############################################*/
.intro {
    /* 스크롤불가 */
    overflow: hidden;
    position: fixed;
    display: grid;
    place-items: center;
    height: 100%;
    width: 100%;
    background-color: #F1F0EC;
    z-index: 5;
}

.intro__title {
    font-size: 1.8rem;
    color: #F1F0EC;
    max-width: 45%;
    text-align: center;
    mix-blend-mode: difference;
    z-index: 100;
    transform: translateY(40px);
}

.intro__title_sub {
    font-size: 1rem;
}

@media (max-width: 900px) {
    .intro__title {
        font-size: 1.4rem;
    }
    .intro__title_sub {
        font-size: 0.9rem;
    }
}
@media (max-width: 600px) {
    .intro__title {
        font-size: 1.2rem;
    }
    .intro__title_sub {
        font-size: 0.8rem;
    }
}

.intro__background {
    position: absolute;
    top: 0;
    background-color: black;
    width: 50%;
    height: 100%;
    transform: scaleX(0);
}

.intro__background--left {
    left: 0;
    transform-origin: left center;
}

.intro__background--right {
    left: 50%;
    transform-origin: right center;
}
/*############################################# 인트로 관련 (e) #############################################*/


/*############################################# 카드 관련 (s) #############################################*/
.top-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 28px auto;
    padding: 0 20px 0 20px;
}

.bot-row {
    max-width: 960px;
    padding: 0 20px 0 20px;
}

.card {
    background: rgba(250, 250, 248, 0.96);
    border-radius: 18px;
    width: 460px;
    max-width: 98vw;
    padding: 22px 20px 20px;
    border: 1px solid rgba(209, 155, 155, 0.4);
    box-shadow: 0 14px 30px rgba(159, 102, 102, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: block;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.bottom-card {
    grid-column: auto;
    width: 944px;
    max-width: 98vw;
    margin: 35px auto 0;
    display: block;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(159, 102, 102, 0.3);
}

.card:active {
    transform: translateY(-2px);
}

/* .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(209, 155, 155, 0.25), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.card-right::before {
    background: radial-gradient(circle at top right, rgba(209, 155, 155, 0.3), transparent 55%);
}

.card-bottom::before {
    background: radial-gradient(circle at top, rgba(217, 166, 166, 0.35), transparent 60%);
} */

.card-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    /* color: #a24f4f; */
    color: #412d29;
}

.card-title-pill {
    /* display: inline-block; */
    display: none;
    background: #e3d6d6;
    color: #a66c6c;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 11px;
    padding: 1.3px 12px 1.3px 12px;
    margin-left: 7px;
}

.card-desc {
    margin: 7px 0 18px 0;
    color: #473535;
    font-size: 0.8rem;
    font-weight: 400;
    min-height: 32px;
}

.side-buttons {
    position: fixed;
    top: 25px;
    left: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.side-buttons .back-button,
.side-buttons .list-type-button {
    position: static;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);;
    border: 1px solid rgb(0 0 0 / 0%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.side-buttons .back-button:hover,
.side-buttons .list-type-button:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #d19b9b;
}

.side-buttons .back-button:active,
.side-buttons .list-type-button:active,
.side-buttons .back-button.is-pressed,
.side-buttons .list-type-button.is-pressed {
    transform: scale(0.96);
    background-color: #f4e7e7;
    color: #b47d7d;
}
.hint {
    margin-top: 4px;
    font-size: 0.94rem;
    color: #988484;
    font-family: inherit;
}

.card-title {
    font-size: 1.45rem;
    font-weight: 600;
    /* color: var(--main-color); */
    margin-bottom: 1.2em;
    letter-spacing: 0.04em;
}

.card-link {
    text-decoration: none;
    color: #fff;
    background: var(--main-color);
    padding: 12px 34px;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.15s;
    box-shadow: 0 4px 18px rgba(209, 155, 155, 0.08);
}

.card-link:hover,
.card-link:active {
    background: #af7676;
}


@media (max-width: 1080px) {

    .card:not(.bottom-card) {
        width: 460px;
        max-width: 46vw;
    }

    .bottom-card {
        width: 932px;
        max-width: calc(92vw + 24px);
    }
}

@media (max-width: 600px) {
    .top-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
        /* max-width: 100vw; */
        max-width: 80vw;
        margin: 0 auto 0 auto;
    }

    .card,
    .bottom-card {
        border-radius: 11px;
        padding: 14px 7px 12px 9px;
        width: 100% !important;
        min-width: 0;
        /* max-width: 100vw !important; */
        max-width: 80vw !important;
        margin: 0;
        box-sizing: border-box;
    }

    .card-title {
        font-size: 1.08rem;
    }

    .bot-row {
        padding: 0 20px 0 20px;
        /* max-width: 100vw !important; */
        max-width: 80vw !important;
        width: 100%;
    }

    .bottom-card {
        margin-top: 12px;
    }
}

/*############################################# 카드 관련 (e) #############################################*/

/*############################################# 플로팅 sns (s) #############################################*/
.floating-social-links {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 4;
    /* header z-index보다 높게 설정 */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background-color: #fff; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-social-links a:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    border-bottom: none;
}

/* Brand Colors on Hover */
.floating-social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.floating-social-links a.youtube:hover {
    background-color: #FF0000;
}

.floating-social-links a.kakao:hover {
    background-color: #FEE500;
    color: #000;
    /* 카카오 로고는 검은색 */
}
/*############################################# 플로팅 sns (e) #############################################*/


/*############################################# header 관련 (s) #############################################*/
header {
    width: 99%;
    /* padding-top: 200px; */
    /* padding-bottom: 28px; */
    height: auto;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line {
    width: 100vw;
}

.left,
.right {
    width: 50vw;
    overflow: hidden;
    display: inline-block;
}

.left {
    color: #E09F91;
    /* transform: skew(0deg, -15deg); */
    position: absolute;
}

.right {
    color: #1B263B;
    /* transform: skew(0deg, 15deg); */
    margin-left: 50%;
}

/*
LOVE TO: #2D3A3A (다크 포레스트) — 깊은 숲이나 밤하늘 같은 묵직한 그린 그레이
MORROW: #9AB8BA (세이지 블루) — 맑고 차분하게 가라앉은 민트빛 블루
LOVE TO: #4A3F35 (에스프레소 브라운) — 깊이 있고 안정적인 무게감
MORROW: #E9C46A (뮤트 사프란) — 해 질 녘 금빛처럼 은은하고 화사한 컬러
LOVE TO: #1B263B (딥 인디고 네이비) — 차분하고 신뢰감 있는 분위기
MORROW: #E09F91 (로즈 베이지) — 사랑스럽고 포근한 핑크빛 베이지
LOVE TO: #5D5D5D (웜 차콜) — 너무 딱딱하지 않은 세련된 그레이
MORROW: #C5A367 (샴페인 골드) — 따뜻하면서도 고급스러운 포인트
    */

.left .content {
    width: 100vw;
    text-align: center;
}

.right .content {
    width: 100vw;
    text-align: center;
    transform: translate(-50vw);
}

.spanSlow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 8vw;
    text-transform: uppercase;
    line-height: .8;
    transition: ease-out .6s;
}

/*############################################# header 관련 (e) #############################################*/


/*############################################# footer 관련 (s) #############################################*/
.site-footer {
    width: 100%;
    /* background: linear-gradient(to bottom, #F1F0EC 0%, #ebe5ed 51%, #A99AB5 100%); */
    text-align: center;
    padding: 24px 0 12px;
    font-size: 11px;
    font-family: 'NanumBarunGothic', Arial, sans-serif;
    letter-spacing: 0.02em;
    margin-top: auto;
    position: relative;
    color: rgba(26, 31, 46, 0.4);
    line-height: 2;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1080px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 128, 106, 0.45) 40%, transparent);
}
.site-footer .footer-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 12px;
}

    .site-footer a { color: #c47a60; text-decoration: none; }

/* .site-footer .footer-company-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
}
.site-footer .footer-company-info li {
    margin: 0 0 2px 0;
    font-size: 0.8rem;
    white-space: nowrap;
    line-height: 1.42;
    font-weight: 400;
}
.site-footer .footer-company-info li b {
    font-weight: 600;
}
.site-footer .footer-company-info li a {
    font-weight: 500;
    color:rgb(99, 66, 66);
    text-decoration: underline dotted;
    transition: color 0.16s;
}
.site-footer .footer-company-info li a:hover,
.site-footer .footer-company-info li a:focus {
    color: #d4d8e2;
    text-decoration: underline;
} */

.site-footer .biz-name {
    font-weight: 500;
    color: rgba(26, 31, 46, 0.6);
    font-size: 12px;
    margin-bottom: 2px;
    display: block;
}

.site-footer .copyright,
.site-footer .footer-copyright {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}
@media (max-width: 700px) {
    .site-footer {
        font-size: 10px;
        padding: 18px 0 8px;
    }
    .site-footer .footer-inner {
        padding: 0 4px;
    }
    .site-footer .footer-company-info {
        flex-direction: column;
        gap: 1px 0;
        align-items: center;
    }
    .site-footer .footer-company-info li {
        white-space: normal;
        font-size: 0.92em;
        margin-bottom: 1px;
        line-height: 1.33;
    }
    .site-footer .copyright,
    .site-footer .footer-copyright {
        margin-top: 8px;
        font-size: 9px;
    }
}
/*############################################# footer 관련 (e) #############################################*/


/*############################################# main1 관련 (s) #############################################*/
html::-webkit-scrollbar-track {
    background-color: #1e1e1e;
}

html::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

html::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 25vh 20vh 0 20vh; */
    padding: 0 20vh 0 20vh;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.search-input {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    width: 300px;
    backdrop-filter: blur(5px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-button {
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 1em;
    backdrop-filter: blur(5px);
    transition: background-color 250ms;
}

.search-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading {
    text-align: center;
    /* color: white; */
    padding: 20px;
    font-size: 1.2em;
}

.spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

.spinner-dots {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-right: 10px;
}

.spinner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1B263B;
    animation: pulse 1.2s ease-in-out infinite;
}

.spinner-dots span:nth-child(1) {
    animation-delay: 0s;
}

.spinner-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#image-grid {
    display: grid;
    gap: 10px;
    /* grid-auto-rows: 200px; */
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 50px;
}

@media(max-width: 900px) {
    .container{
        /* padding: 25vh 10vh 0 10vh; */
        padding: 0 10vh 0 10vh;
    }
}

@media (min-width: 900px) {
    #image-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (min-width: 1200px) {
    #image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1500px) {
    #image-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

.grid-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    /* background-color: #2a2a2a; */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 250ms, transform 250ms;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.grid-item.visible {
    opacity: 1;
    transform: translateY(0px);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms, filter 250ms;
    filter: blur(0px);
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: rgba(50, 50, 93, 0.35) 0px 60px 120px -20px, rgba(0, 0, 0, 0.4) 0px 40px 80px -30px;
}

.grid-item:hover img {
    transform: scale(1.1);
    filter: blur(0px);
}

.grid-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    opacity: 1; /* 항상 보이도록 변경 */
    transition: opacity 250ms;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: 2px 2px 5px #000000;
}

/* hover 효과 제거, 정보가 항상 표시됨 */
.grid-item:hover .grid-item-info {
    opacity: 1;
}

/* 제목과 아티스트 스타일 */
.grid-item-title {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 4px;
}

.grid-item-artist {
    font-size: 0.85em;
    color: rgba(255,255,255,0.85);
}

.grid-item-author {
    font-size: 0.9em;
    margin-bottom: 5px;
}

.grid-item-author a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    display: inline-block;
    transition: background-color 250ms;
}

.grid-item-author a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.error {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
}

.no-results {
    /* color: rgba(255, 255, 255, 0.5); */
    text-align: center;
    padding: 40px 20px;
    font-size: 1.1em;
}

/* Back button */
.back-button {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
    border: none;
}

.back-button:hover {
    transform: scale(1.15) translateX(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #d19b9b;
}
/*############################################# main1 관련 (e) #############################################*/


/*############################################# musicplayer 관련 (s) #############################################*/
#music_player {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 500px;
    background: rgba(255, 255, 255, 0.8);
    /* color: white; */
    padding: 10px;
    margin: 10px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    z-index: 9999;
    height: 530px;
    box-sizing: border-box;
    font-size: 12pt !important;
}

#music_player .controls {
    display: flex;
    gap: 10px;
}

#music_player .controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

#music_player .track-info {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    vertical-align: middle;
}


#music_player .close-btn {
    font-size: 1.2rem;
    cursor: pointer;
}

#music_player img {
    width: 40px;
    margin: 10px;
}
#music_player img:hover {
    cursor: pointer;
}
/*############################################# musicplayer 관련 (e) #############################################*/


.music-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #d19b9b;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.music-link:hover {
    background-color: #af7676;
    transform: scale(1.1);
}

.button-div {
    position: fixed;
    top: 25px;
    left: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.button-div .back-button,
.button-div .list-type-button {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transform: translateZ(0);
}

.button-div .back-button:focus,
.button-div .list-type-button:focus,
.button-div .back-button:focus-visible,
.button-div .list-type-button:focus-visible,
.button-div .back-button:active,
.button-div .list-type-button:active {
    outline: none;
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    .button-div .back-button:hover,
    .button-div .list-type-button:hover {
        transform: scale(1.12);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        color: #d19b9b;
    }
}

.button-div .back-button:active,
.button-div .list-type-button:active,
.button-div .back-button.is-pressed,
.button-div .list-type-button.is-pressed {
    transform: scale(0.96);
    background-color: #f4e7e7;
    color: #b47d7d;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
}

@media (hover: none) and (pointer: coarse) {
    .button-div .back-button:active,
    .button-div .list-type-button:active,
    .button-div .back-button.is-pressed,
    .button-div .list-type-button.is-pressed {
        transform: scale(0.94);
        background-color: #f4e7e7;
        color: #b47d7d;
        box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.18);
    }
}

#image-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 900px) {
    #image-grid.list-view {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-left: 20vh;
        padding-right: 20vh;
    }
}

#image-grid.list-view .grid-item {
    display: flex;
    width: 100%;
    height: 108px;
    min-height: 108px;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(209, 155, 155, 0.24);
    background: linear-gradient(120deg, #fff8f8 0%, #fff 52%, #fcf6f6 100%);
    box-shadow: 0 8px 22px rgba(98, 71, 71, 0.12);
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#image-grid.list-view .grid-item.visible {
    transform: translateY(0);
}

#image-grid.list-view .grid-item:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 155, 155, 0.45);
    box-shadow: 0 14px 30px rgba(98, 71, 71, 0.18);
}

#image-grid.list-view .grid-item img {
    width: 162px;
    min-width: 162px;
    height: 100%;
    align-self: stretch;
    object-fit: cover;
    border-right: 1px solid rgba(209, 155, 155, 0.18);
    transition: transform 260ms ease;
}

#image-grid.list-view .grid-item:hover img {
    transform: scale(1.04);
}

#image-grid.list-view .grid-item-info {
    position: static;
    background: transparent;
    color: #3b2d2d;
    padding: 14px 18px;
    justify-content: center;
    flex: 1;
    gap: 5px;
    text-shadow: none;

}

#image-grid.list-view .grid-item-title {
    font-size: 1.06rem;
    font-weight: 700;
    color: #575555;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}

#image-grid.list-view .grid-item-artist {
    font-size: 0.93rem;
    color: #6f6363;
    font-weight: 500;
    opacity: 0.95;
}

.grid-item,
.grid-item img,
#image-grid div,
#image-grid img {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.grid-item:focus,
.grid-item:focus-visible,
.grid-item img:focus,
.grid-item img:focus-visible,
#image-grid div:focus,
#image-grid div:focus-visible,
#image-grid img:focus,
#image-grid img:focus-visible {
    outline: none;
    box-shadow: none;
}

@media (max-width: 700px) {
    #image-grid.list-view .grid-item {
        /* height: 88px;
        min-height: 88px; */
        height: 50px;
        min-height: 50px;
        border-radius: 14px;
    }

    #image-grid.list-view .grid-item img {
        /* width: 106px;
        min-width: 106px; */
        width: 50px;
        min-width: 50px;
        height: 100%;
    }

    #image-grid.list-view .grid-item-info {
        padding: 4px 12px;
        min-width: 0;
        overflow: hidden;
    }

    #image-grid.list-view .grid-item-title {
        font-size: 0.97rem;
        display: block;
        width: 100%;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #image-grid.list-view .grid-item-artist {
        font-size: 0.84rem;
        display: block;
        width: 100%;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/*############################################# theme label badge (s) #############################################*/
.theme-label-badge {
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(209, 155, 155, 0.13);
    border: 1px solid rgba(209, 155, 155, 0.32);
    color: #8a5a5a;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-infinite-cards .theme-label-badge {
    background: rgba(164, 186, 240, 0.14);
    border: 1px solid rgba(164, 186, 240, 0.3);
    color: #4063a3;
}

@media (max-width: 480px) {
    .theme-label-badge {
        /* max-width: 110px; */
        font-size: 0.8rem;
        padding: 0 12px;
    }
}
/*############################################# theme label badge (e) #############################################*/


/*############################################# theme search page (s) #############################################*/
body.theme-search-page .theme-search-main {
    /* margin: 0 auto; */
    padding: 30px 16px 56px;
}

body.theme-search-page .theme-grid {
    display: grid;
    /* grid-template-columns: 1fr; */
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-search-page .theme-card {
    position: relative;
    min-height: 140px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    background: rgba(255, 255, 255, 0.65);
    border: 0.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 30px rgba(159, 102, 102, 0.2);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-search-page .theme-card:hover,
body.theme-search-page .theme-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(159, 102, 102, 0.3);
}

body.theme-search-page .theme-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

body.theme-search-page .theme-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 22, 22, 0.05), rgba(22, 22, 22, 0.72));
}

body.theme-search-page .theme-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    padding: 12px 36px;
}

body.theme-search-page .theme-card-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8a898, #c47a60);
    border-radius: 0 0 18px 18px;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

body.theme-search-page .theme-card-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #e8a898;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

body.theme-search-page .theme-card-arrow i {
    font-size: 10px;
}

body.theme-search-page .theme-card:hover .theme-card-bar,
body.theme-search-page .theme-card:focus-visible .theme-card-bar {
    opacity: 1;
}

body.theme-search-page .theme-card:hover .theme-card-arrow,
body.theme-search-page .theme-card:focus-visible .theme-card-arrow {
    opacity: 1;
    transform: translateY(0);
}

body.theme-search-page .theme-card-name {
    display: block;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(26, 31, 46);
    font-family: "YPairing", sans-serif;
}

body.theme-search-page .theme-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #f3e9e1;
    border: 0.5px solid rgba(212, 128, 106, 0.2);
    border-radius: 100px;
    font-size: clamp(8px, 0.9vw, 8px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b87060;
    padding: 5px 12px;
    z-index: 2;
    font-weight: 600;
}

body.theme-search-page .theme-card-new {
    background: #d9534f;
    color: #fff;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
}



@media (max-width: 1100px) {
    body.theme-search-page .theme-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.theme-search-page .theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.theme-search-page .theme-search-main {
        padding: 0 5vw;
        width: 100%;
    }
    body.theme-search-page .theme-grid {
        grid-template-columns: 1fr;
        gap:8px;
    }
    body.theme-search-page .theme-card {
        min-height: 50px;
    }
    body.theme-search-page .theme-card-arrow {
        width: 22px;
        height: 22px;
        right: 12px;
        bottom: 10px;
    }
    body.theme-search-page .theme-card-name {
        font-size: 0.8rem;
    }
    body.theme-search-page .theme-card-new {
    font-size: 6px;
}
}
/*############################################# theme search page (e) #############################################*/


.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0px 0px rgba(255, 255, 255, 0); */
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}
