@charset "UTF-8";

/* 색상 설정 */

:root {
    --cream: #fffff5;
    --tomato: #f9704f;
}

/* 초기화 */

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

html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100svh;

    background-color: var(--cream);
    color: var(--tomato);

    font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

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

button {
    border: 0;
    padding: 0;

    background: transparent;
    color: inherit;

    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* 메인 페이지 */

.home-page {
    overflow-x: hidden;
    background-color: var(--cream);
}

/* 상단 네비게이션 */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding:
        clamp(24px, 4vw, 48px)
        clamp(24px, 5vw, 65px);
}

/* 왼쪽 로고 */

.brand {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 18px);
}

.brand-tomato {
    width: clamp(38px, 5vw, 58px);
    height: auto;
    flex-shrink: 0;
}

.brand-name {
    color: var(--tomato);
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

/* 오른쪽 카테고리 */

.menu-button {
    width: clamp(38px, 5vw, 56px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.menu-button:hover {
    opacity: 0.75;
    transform: rotate(4deg);
}

.menu-image {
    width: 100%;
    height: auto;
}

/* 캐릭터 */

.home-main {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding:
        clamp(130px, 17vh, 190px)24px
        clamp(25px, 4vh, 60px);
}

.main-character {
    width: auto;
    height: auto;
    max-width: min(52vw, 560px);
    max-height: calc(100svh - 155px);
    object-fit: contain;
}

/* 전체화면 카테고리 */

.category-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background-color: var(--tomato);
    color: var(--cream);
    transform: translateX(100%);
    transition:
        transform 0.35s ease,
        opacity 0.3s ease,
        visibility 0.35s ease;
}   

/* 메뉴 오픈 */

.category-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* 메뉴 닫기 버튼 */

.menu-close {
    position: absolute;
    top: clamp(23px, 4vw, 4px);
    right: clamp(26px, 5vw, 65px);
    color: var(--cream);
    font-size: clamp(45px, 6vw, 70px);
    font-weight: 300;
    line-height: 0.8;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.menu-close:hover {
    opacity: 0.7;
    transform: rotate(8deg);
}

/* 카테고리 링크 */
.category-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 3vh, 30px);
}

.category-links a {
    position: relative;
    color: var(--cream);
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.category-links a:hover {
    opacity: 0.65;
    transform: translateX(-50%);
}

/* 메뉴 아래쪽 문구 */

.category-footer {
    position: absolute;
    bottom: clamp(28px, 5vh, 55px);
    left: 50%;
    width: calc(100% - 40px);
    color: var(--cream);
    text-align: center;
    transform: translateX(-50%);
}

.category-footer p {
    font-size: clamp(14px, 1.7vw, 20px);
    font-weight: 500;
    line-height: 1.65;
    word-break: keep-all;
}

/* 태블릿 */

@media (max-width: 768px) {
    .navbar {
        padding: 24px 22px;
    }
    .home-main {
        padding:
            115px
            20px
            22px;
    }
    .main-character {
        max-width: 74vw;
        max-height: calc(100svh-125px);
    }
}

/* 모바일 */

@media (max-width: 430px) {
    .brand {
        gap: 9px;
    }
    .brand-tomato {
        width: 34px;
    }
    .brand-name {
        font-size: 15px;
    }
    .menu-button {
        width: 34px;
    }
    .main-character {
        max-width: 88vw;
    }
    .category-links {
        gap: 20px;
    }
    .category-footer {
        bottom: 26px;
    }
    .category-footer p {
        font-size: 13px;
    }
}

/* =========================
   이벤트 목록 페이지
========================= */

.event-page {
    min-height: 100vh;

    background-color: var(--cream);
    color: var(--tomato);
}


/* 이벤트 전체 영역 */
.event-main {
    width: min(calc(100% - 60px), 1100px);

    margin: 0 auto;

    padding-top: clamp(170px, 20vh, 230px);
    padding-bottom: 140px;
}


/* 페이지 제목 */
.page-title {
    margin-bottom: clamp(45px, 7vw, 80px);

    color: var(--tomato);

    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.05em;
}


/* =========================
   검색창
========================= */

.event-search {
    display: flex;
    align-items: stretch;

    width: min(100%, 600px);

    margin-left: auto;
    margin-bottom: 35px;

    border: 2px solid var(--tomato);
    border-radius: 999px;

    overflow: hidden;
}


/* 검색 입력창 */
.event-search-input {
    flex: 1;

    min-width: 0;

    padding: 16px 10px 16px 25px;

    border: 0;
    outline: none;

    background-color: transparent;
    color: var(--tomato);

    font: inherit;
    font-size: 16px;
}

.event-search-input::placeholder {
    color: var(--tomato);
    opacity: 0.55;
}


/* 검색 버튼 */
.event-search-button {
    flex-shrink: 0;

    padding: 12px 25px;

    background-color: var(--tomato);
    color: var(--cream);

    font-size: 15px;
    font-weight: 600;

    transition: opacity 0.2s ease;
}

.event-search-button:hover {
    opacity: 0.8;
}


/* =========================
   게시판
========================= */

.event-board {
    width: 100%;

    border-top: 3px solid var(--tomato);
    border-bottom: 3px solid var(--tomato);
}


/* 게시판 한 줄 공통 */
.event-board-header,
.event-item {
    display: grid;
    grid-template-columns: 120px 1fr;

    align-items: center;
}


/* 게시판 제목줄 */
.event-board-header {
    min-height: 70px;

    border-bottom: 2px solid var(--tomato);

    background-color: var(--tomato);
    color: var(--cream);

    font-size: 17px;
    font-weight: 600;
}


/* 게시글 줄 */
.event-item {
    min-height: 90px;

    border-bottom: 1px solid rgba(249, 112, 79, 0.55);

    font-size: clamp(17px, 2vw, 22px);
}

.event-item:last-child {
    border-bottom: 0;
}


/* 번호 */
.event-number {
    text-align: center;
}


/* 제목 */
.event-subject {
    min-width: 0;

    padding: 18px 25px;
}

.event-subject a {
    display: inline-block;

    word-break: keep-all;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.event-subject a:hover {
    opacity: 0.65;
    transform: translateX(5px);
}


/* 검색 결과 없음 */
.event-empty-message {
    padding: 70px 20px;

    text-align: center;

    font-size: 18px;
}


/* 검색 접근성용 숨김 글씨 */
.screen-reader-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}


/* =========================
   이벤트 페이지 태블릿
========================= */

@media (max-width: 768px) {

    .event-main {
        width: min(calc(100% - 40px), 1100px);

        padding-top: 145px;
        padding-bottom: 100px;
    }

    .page-title {
        margin-bottom: 45px;
    }

    .event-search {
        width: 100%;
        margin-bottom: 25px;
    }

    .event-board-header,
    .event-item {
        grid-template-columns: 80px 1fr;
    }

    .event-board-header {
        min-height: 60px;
    }

    .event-item {
        min-height: 78px;
    }

    .event-subject {
        padding: 15px 18px;
    }
}


/* =========================
   이벤트 페이지 모바일
========================= */

@media (max-width: 430px) {

    .event-main {
        width: calc(100% - 30px);

        padding-top: 125px;
        padding-bottom: 80px;
    }

    .page-title {
        margin-bottom: 35px;

        font-size: 50px;
    }

    .event-search-input {
        padding:
            13px
            8px
            13px
            18px;

        font-size: 14px;
    }

    .event-search-button {
        padding: 10px 17px;

        font-size: 13px;
    }

    .event-board-header,
    .event-item {
        grid-template-columns: 58px 1fr;
    }

    .event-board-header {
        min-height: 52px;

        font-size: 14px;
    }

    .event-item {
        min-height: 70px;

        font-size: 15px;
    }

    .event-subject {
        padding: 14px 12px;
    }
}

/* =========================
   이벤트 상세 페이지
========================= */

.event-detail-page {
    min-height: 100vh;

    background-color: var(--cream);
    color: var(--tomato);
}


/* 전체 본문 */
.event-detail-main {
    width: min(calc(100% - 60px), 1000px);

    margin: 0 auto;

    padding-top: clamp(160px, 19vh, 220px);
    padding-bottom: 130px;
}


/* 상단 event list 문구 */
.event-list-label {
    margin-bottom: 20px;

    color: var(--tomato);

    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 600;
    line-height: 1;

    letter-spacing: -0.02em;
}


/* =========================
   이벤트 게시글 박스
========================= */

.event-post {
    overflow: hidden;

    border: 3px solid var(--tomato);
    border-radius: 28px;
}


/* 주황색 제목 영역 */
.event-post-header {
    padding:
        clamp(32px, 5vw, 60px)
        clamp(28px, 6vw, 70px);

    background-color: var(--tomato);
    color: var(--cream);
}


/* event 번호 */
.event-post-number {
    margin-bottom: 14px;

    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 500;
    line-height: 1;

    letter-spacing: -0.02em;
}


/* 이벤트 제목 */
.event-post-title {
    max-width: 850px;

    font-size: clamp(34px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -0.055em;
    word-break: keep-all;
}


/* =========================
   흰색 콘텐츠 영역
========================= */

.event-post-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 450px;

    padding:
        clamp(45px, 7vw, 85px)
        clamp(25px, 7vw, 80px);

    background-color: #ffffff;
}


/* 이벤트 이미지 */
.event-post-image {
    width: min(100%, 720px);
    height: auto;

    margin-bottom: clamp(35px, 6vw, 65px);

    border-radius: 18px;

    object-fit: contain;
}


/* 내용 문구 */
.event-post-description {
    width: min(100%, 720px);

    color: #383838;

    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.9;

    text-align: center;
    word-break: keep-all;
}

.event-post-description p + p {
    margin-top: 15px;
}


/* =========================
   투표하기 버튼
========================= */

.vote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;

    margin-top: clamp(45px, 7vw, 75px);
    padding: 17px 35px;

    border: 2px solid var(--tomato);
    border-radius: 999px;

    background-color: var(--tomato);
    color: var(--cream);

    font-size: 17px;
    font-weight: 700;
    line-height: 1;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.vote-button:hover {
    background-color: var(--cream);
    color: var(--tomato);

    transform: translateY(-3px);
}


/* =========================
   이전 / 목록 / 다음
========================= */

.event-post-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 20px;

    margin-top: 30px;
}


/* 이전·다음 링크 */
.event-nav-link {
    color: var(--tomato);

    font-size: 16px;
    font-weight: 600;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.event-nav-link:first-child {
    justify-self: start;
}

.event-nav-link:last-child {
    justify-self: end;
}

.event-nav-link:first-child:hover {
    opacity: 0.65;
    transform: translateX(-4px);
}

.event-nav-link:last-child:hover {
    opacity: 0.65;
    transform: translateX(4px);
}


/* 목록 버튼 */
.event-nav-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 90px;

    padding: 12px 22px;

    border: 2px solid var(--tomato);
    border-radius: 999px;

    background-color: transparent;
    color: var(--tomato);

    font-size: 15px;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.event-nav-list:hover {
    background-color: var(--tomato);
    color: var(--cream);
}


/* 비활성화된 이전·다음 */
.event-nav-disabled {
    color: var(--tomato);

    font-size: 16px;
    font-weight: 600;

    opacity: 0.3;
    cursor: default;
}

.event-nav-disabled:first-child {
    justify-self: start;
}

.event-nav-disabled:last-child {
    justify-self: end;
}


/* =========================
   이벤트 상세 태블릿
========================= */

@media (max-width: 768px) {

    .event-detail-main {
        width: min(calc(100% - 40px), 1000px);

        padding-top: 145px;
        padding-bottom: 95px;
    }

    .event-post {
        border-radius: 22px;
    }

    .event-post-content {
        min-height: 380px;
    }

    .event-post-image {
        border-radius: 14px;
    }

    .event-post-navigation {
        margin-top: 25px;
    }
}


/* =========================
   이벤트 상세 모바일
========================= */

@media (max-width: 520px) {

    .event-detail-main {
        width: calc(100% - 30px);

        padding-top: 120px;
        padding-bottom: 75px;
    }

    .event-list-label {
        margin-bottom: 15px;

        font-size: 14px;
    }

    .event-post {
        border-width: 2px;
        border-radius: 18px;
    }

    .event-post-header {
        padding: 28px 22px 32px;
    }

    .event-post-number {
        margin-bottom: 10px;

        font-size: 14px;
    }

    .event-post-title {
        font-size: 31px;
        line-height: 1.2;
    }

    .event-post-content {
        min-height: 320px;

        padding: 40px 20px 45px;
    }

    .event-post-image {
        margin-bottom: 35px;

        border-radius: 12px;
    }

    .event-post-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .event-post-description p + p {
        margin-top: 12px;
    }

    .vote-button {
        min-width: 160px;

        margin-top: 40px;
        padding: 15px 27px;

        font-size: 15px;
    }

    .event-post-navigation {
        grid-template-columns: 1fr auto 1fr;

        gap: 8px;

        margin-top: 22px;
    }

    .event-nav-link,
    .event-nav-disabled {
        font-size: 13px;
    }

    .event-nav-list {
        min-width: auto;

        padding: 10px 17px;

        font-size: 13px;
    }
}


/* 아주 좁은 모바일 */
@media (max-width: 360px) {

    .event-post-navigation {
        grid-template-columns: 1fr;
        justify-items: center;

        gap: 14px;
    }

    .event-nav-link,
    .event-nav-disabled,
    .event-nav-link:first-child,
    .event-nav-link:last-child,
    .event-nav-disabled:first-child,
    .event-nav-disabled:last-child {
        justify-self: center;
    }

    .event-nav-list {
        grid-row: 1;
    }
}

/* PC 이벤트 상세 제목 영역 크기 조정 */
@media (min-width: 769px) {

    .event-post-header {
        padding: 28px 50px 34px;
    }

    .event-post-number {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .event-post-title {
        font-size: 42px;
        line-height: 1.15;
    }
}

/* gift */

.gift-page {
    min-height: 100vh;

    background-color: var(--cream);
    color: var(--tomato);
}

/* 전체 영역 */

.gift-main {
    width: min(calc(100% - 40px), 900px);

    margin: 0 auto;

    padding-top: clamp(190px, 23vh, 260px);
    padding-bottom: 180px;

    text-align: center;
}

/* 상단 타이포 */

.gift-hero {
    display: flex;
    justify-content: center;

    margin-bottom: clamp(90px, 12vw, 150px);
}

.gift-title-image {
    width: min(55vw, 480px);
    height: auto;

    object-fit: contain;
}

/* 공동 섹션 */

.gift-section {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: clamp(80px, 10vw, 125px);
}

/* 플레이스 데이트 기프트 노티스 */

.gift-section-label {
    display: inline-block;

    margin-bottom: 48px;
    padding: 7px 13px 8px;

    background-color: var(--tomato);
    color: var(--cream);

    font-family: Arial, "Apple SD Gothic Neo", sans-serif;

    font-size: clamp(30px, 3.5vw, 4px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04px;

}

/* 본문 */

.gift-section-content {
    color: var(--tomato);

    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 400;
    line-height: 1.75;

    word-break: keep-all;
}

.gift-section-content p + p {
    margin-top: 4px;
}

/* 날짜 아래 작은 내용 */

.gift-detail-text {
    margin-top: 28px;
}

/* notice 줄간격 좀 좁게 */

.gift-notice-text {
    line-height: 1.55;
}

/* 마지막 하단 여백 */

.gift-notice-section {
    margin-bottom: 0;
}

/* 태블릿 */

@media (max-width: 768px) {
    .gift-main {
        width: min(calc(100% - 40px), 900px);

        padding-top: 150px;
        padding-bottom: 120px;
    }

    .gift-hero {
        margin-bottom: 90px;
    }

    .gift-title-image {
        width: min(68vw, 430px);
    }

    .gift-section {
        margin-bottom: 85px;
    }

    .gift-section-label {
        margin-bottom: 35x;
        font-size: 32px;
    }

    .gift-section-content {
        font-size: 22px;
    }
}

/* 모바일 */

@media (max-width: 520px) {
    .gift-main {
        width: calc(100% - 30px);
        padding-top: 125px;
        padding-bottom: 90px;
    }

    .gift-hero {
        margin-bottom: 70px;
    }

    .gift-title-image {
        width: min(78vw, 340px);
    }

    .gift-section {
        margin-bottom: 68px;
    }

    .gift-section-label {
        margin-bottom: 28px;
        padding: 6px 10px 7px;
        font-size: 28px;
    }

    .gift-section-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .gift-detail-text {
        margin-top: 20px;
    }

    .gift-notice-text {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* 아주 작은 모바일 */

@media (max-width: 360px) {
    .gift-section-content {
        font-size: 15px;
    }

    .gift-notice-text {
        font-size: 14px;
    }
}

/* =========================
   THEME 페이지
========================= */

.theme-page {
    min-height: 100vh;

    background-color: var(--cream);
    color: var(--tomato);
}


/* 전체 본문 */
.theme-main {
    width: min(calc(100% - 60px), 1000px);

    margin: 0 auto;

    padding-top: clamp(160px, 19vh, 220px);
    padding-bottom: 140px;
}


/* 상단 theme. 문구 */
.theme-page-label {
    margin-bottom: 20px;

    color: var(--tomato);

    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 600;
    line-height: 1;

    letter-spacing: -0.025em;
}


/* =========================
   테마 카드
========================= */

.theme-card {
    overflow: hidden;

    border: 3px solid var(--tomato);
    border-radius: 28px;
}


/* 빨간색 제목 영역 */
.theme-card-header {
    padding:
        clamp(30px, 4.5vw, 48px)
        clamp(28px, 6vw, 65px);

    background-color: var(--tomato);
    color: var(--cream);
}


/* 작은 영문 제목 */
.theme-card-small-title {
    margin-bottom: 11px;

    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 500;
    line-height: 1;

    letter-spacing: -0.02em;
}


/* 메인 제목 */
.theme-card-title {
    max-width: 800px;

    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.18;

    letter-spacing: -0.055em;
    word-break: keep-all;
}


/* =========================
   흰색 내용 영역
========================= */

.theme-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding:
        clamp(45px, 7vw, 80px)
        clamp(25px, 7vw, 75px);

    background-color: #ffffff;
}


/* =========================
   테마 미리보기
========================= */

.theme-preview {
    display: flex;
    justify-content: center;

    width: 100%;

    margin-bottom: clamp(45px, 7vw, 75px);
}

.theme-preview-image {
    width: min(100%, 720px);
    height: auto;

    border-radius: 18px;

    object-fit: contain;
}


/* =========================
   테마 설명
========================= */

.theme-description {
    width: min(100%, 720px);

    color: #383838;

    text-align: center;

    word-break: keep-all;
}


/* 영문 테마명 */
.theme-description-title {
    margin-bottom: 25px;

    color: var(--tomato);

    font-size: clamp(29px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.04em;
}


/* 설명 본문 */
.theme-description p {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.85;
}

.theme-description p + p {
    margin-top: 15px;
}


/* =========================
   다운로드 버튼
========================= */

.theme-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;

    margin-top: clamp(45px, 7vw, 70px);
    padding: 17px 35px;

    border: 2px solid var(--tomato);
    border-radius: 999px;

    background-color: var(--tomato);
    color: var(--cream);

    font-size: 17px;
    font-weight: 700;
    line-height: 1;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.theme-download-button:hover {
    background-color: var(--cream);
    color: var(--tomato);

    transform: translateY(-3px);
}


/* =========================
   하단 안내 문구
========================= */

.theme-notice {
    width: min(100%, 720px);

    margin-top: 45px;
    padding-top: 28px;

    border-top: 1px solid rgba(249, 112, 79, 0.45);

    color: var(--tomato);

    text-align: center;
}

.theme-notice p {
    font-size: 14px;
    line-height: 1.7;

    word-break: keep-all;
}


/* =========================
   PC 제목 영역 크기 조정
========================= */

@media (min-width: 769px) {

    .theme-card-header {
        padding: 27px 50px 32px;
    }

    .theme-card-small-title {
        margin-bottom: 9px;

        font-size: 15px;
    }

    .theme-card-title {
        font-size: 40px;
    }
}


/* =========================
   태블릿
========================= */

@media (max-width: 768px) {

    .theme-main {
        width: min(calc(100% - 40px), 1000px);

        padding-top: 145px;
        padding-bottom: 100px;
    }

    .theme-card {
        border-radius: 22px;
    }

    .theme-preview-image {
        border-radius: 14px;
    }
}


/* =========================
   모바일
========================= */

@media (max-width: 520px) {

    .theme-main {
        width: calc(100% - 30px);

        padding-top: 120px;
        padding-bottom: 75px;
    }

    .theme-page-label {
        margin-bottom: 15px;

        font-size: 14px;
    }

    .theme-card {
        border-width: 2px;
        border-radius: 18px;
    }

    .theme-card-header {
        padding: 28px 22px 31px;
    }

    .theme-card-small-title {
        margin-bottom: 9px;

        font-size: 13px;
    }

    .theme-card-title {
        font-size: 29px;
        line-height: 1.22;
    }

    .theme-card-content {
        padding: 40px 20px 45px;
    }

    .theme-preview {
        margin-bottom: 38px;
    }

    .theme-preview-image {
        border-radius: 12px;
    }

    .theme-description-title {
        margin-bottom: 20px;

        font-size: 28px;
    }

    .theme-description p {
        font-size: 15px;
        line-height: 1.8;
    }

    .theme-download-button {
        min-width: 160px;

        margin-top: 40px;
        padding: 15px 28px;

        font-size: 15px;
    }

    .theme-notice {
        margin-top: 38px;
        padding-top: 24px;
    }

    .theme-notice p {
        font-size: 13px;
    }
}

/* THEME 내용 전체 가운데 정렬 수정 */

.theme-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.theme-description {
    width: 100%;
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.theme-download-button {
    margin-left: auto;
    margin-right: auto;
}

/* 이미지 드래그 및 선택 방지 */

img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* ==================================================
   GIFT SHOP / 특전 미리보기
================================================== */

.gift-shop-page {
    min-height: 100vh;

    background-color: #fffff5;
    color: #f9704f;
}


/* 전체 영역 */
.gift-shop-main {
    width: min(calc(100% - 70px), 1180px);

    margin: 0 auto;

    padding-top: clamp(165px, 18vh, 210px);
    padding-bottom: 140px;
}


/* gift 돌아가기 */
.gift-shop-back {
    display: inline-block;

    margin-bottom: 42px;

    color: #f9704f;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.gift-shop-back:hover {
    opacity: 0.6;
    transform: translateX(-3px);
}


/* ==================================================
   페이지 제목
================================================== */

.gift-shop-heading {
    margin-bottom: 65px;
}


.gift-shop-subtitle {
    margin-bottom: 12px;

    color: #f9704f;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 0.02em;
}


.gift-shop-heading h1 {
    margin: 0;

    color: #f9704f;

    font-size: clamp(42px, 5vw, 65px);
    font-weight: 700;

    line-height: 1.1;
    letter-spacing: -0.06em;
}


.gift-shop-description {
    margin-top: 20px;

    color: #777;

    font-size: 16px;
    line-height: 1.7;

    word-break: keep-all;
}


/* ==================================================
   상품 그리드
================================================== */

.gift-product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 55px 28px;
}


/* ==================================================
   상품 카드
================================================== */

.gift-product-card {
    display: block;

    min-width: 0;

    color: inherit;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* hover */
.gift-product-card:hover {
    transform: translateY(-6px);
}


/* ==================================================
   상품 이미지
================================================== */

.gift-product-image-wrap {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border: 1px solid rgba(249, 112, 79, 0.25);
    border-radius: 6px;

    background-color: #f7f7f2;
}


/* 이미지 */
.gift-product-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;

    -webkit-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;
}


/* 카드 hover 시 사진 확대 */
.gift-product-card:hover
.gift-product-image {
    transform: scale(1.035);
}


/* ==================================================
   EVENT ONLY 배지
================================================== */

.gift-event-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 4px 10px;

    border-radius: 3px;

    background-color: #f9704f;
    color: #fffff5;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.04em;
}


/* ==================================================
   상품 텍스트
================================================== */

.gift-product-info {
    padding-top: 20px;
}


.gift-product-number {
    margin-bottom: 8px;

    color: rgba(249, 112, 79, 0.7);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.07em;
}


/* 상품명 */
.gift-product-name {
    margin: 0 0 12px;

    color: #292929;

    font-size: clamp(19px, 2vw, 23px);
    font-weight: 600;

    line-height: 1.35;

    letter-spacing: -0.04em;
}


/* 이벤트 특전 */
.gift-product-type {
    margin-bottom: 15px;

    color: #f9704f;

    font-size: 16px;
    font-weight: 700;
}


/* 상세보기 */
.gift-product-detail {
    display: inline-block;

    color: #777;

    font-size: 13px;
    font-weight: 500;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.gift-product-card:hover
.gift-product-detail {
    color: #f9704f;

    transform: translateX(3px);
}


/* ==================================================
   하단 안내
================================================== */

.gift-shop-notice {
    margin-top: 100px;
    padding-top: 30px;

    border-top:
        1px solid rgba(249, 112, 79, 0.35);

    text-align: center;
}


.gift-shop-notice p {
    color: #999;

    font-size: 13px;
    line-height: 1.7;

    word-break: keep-all;
}


/* ==================================================
   태블릿
================================================== */

@media (max-width: 900px) {

    .gift-shop-main {
        width: min(calc(100% - 40px), 1180px);

        padding-top: 145px;
        padding-bottom: 110px;
    }


    .gift-shop-heading {
        margin-bottom: 50px;
    }


    .gift-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 50px 22px;
    }

}


/* ==================================================
   모바일
================================================== */

@media (max-width: 520px) {

    .gift-shop-main {
        width: calc(100% - 30px);

        padding-top: 120px;
        padding-bottom: 80px;
    }


    .gift-shop-back {
        margin-bottom: 32px;

        font-size: 14px;
    }


    .gift-shop-heading {
        margin-bottom: 42px;
    }


    .gift-shop-subtitle {
        margin-bottom: 9px;

        font-size: 12px;
    }


    .gift-shop-heading h1 {
        font-size: 38px;
    }


    .gift-shop-description {
        margin-top: 15px;

        font-size: 14px;
    }


    /* 모바일도 2열 유지 */
    .gift-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 38px 14px;
    }


    .gift-product-image-wrap {
        border-radius: 4px;
    }


    .gift-event-badge {
        top: 9px;
        left: 9px;

        min-height: 22px;

        padding: 3px 7px;

        font-size: 9px;
    }


    .gift-product-info {
        padding-top: 14px;
    }


    .gift-product-number {
        margin-bottom: 6px;

        font-size: 9px;
    }


    .gift-product-name {
        margin-bottom: 8px;

        font-size: 16px;
    }


    .gift-product-type {
        margin-bottom: 10px;

        font-size: 13px;
    }


    .gift-product-detail {
        font-size: 11px;
    }


    .gift-shop-notice {
        margin-top: 70px;
        padding-top: 25px;
    }


    .gift-shop-notice p {
        font-size: 11px;
    }

}


/* ==================================================
   아주 작은 모바일
================================================== */

@media (max-width: 350px) {

    .gift-product-grid {
        grid-template-columns: 1fr;
    }

}

/* ==================================================
   GIFT 상품 상세
================================================== */

html {
    scroll-behavior: smooth;
}

.gift-detail-page {
    min-height: 100vh;

    background-color: #fffff5;
    color: #292929;
}


.gift-detail-main {
    width: min(calc(100% - 70px), 1180px);

    margin: 0 auto;

    padding-top: clamp(165px, 18vh, 210px);
    padding-bottom: 140px;
}


/* 뒤로가기 */
.gift-detail-back {
    display: inline-block;

    margin-bottom: 40px;

    color: #f9704f;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.gift-detail-back:hover {
    opacity: 0.6;
    transform: translateX(-3px);
}


/* ==================================================
   상품 상단
================================================== */

.gift-product-detail-top {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(320px, 0.92fr);

    gap: clamp(40px, 7vw, 90px);

    align-items: start;
}


/* 상품 이미지 */
.gift-detail-image-area {
    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border: 1px solid rgba(249, 112, 79, 0.22);

    background-color: #f7f7f2;
}


.gift-detail-main-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}


/* ==================================================
   우측 상품 정보
================================================== */

.gift-detail-summary {
    padding-top: 10px;
}


.gift-detail-number {
    margin-bottom: 12px;

    color: rgba(249, 112, 79, 0.7);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.gift-detail-name {
    margin: 0 0 16px;

    color: #292929;

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -0.055em;
}


/* 별점 */
.gift-detail-rating {
    margin-bottom: 24px;

    color: #f9704f;

    font-size: 15px;
    letter-spacing: 0.04em;
}

.gift-detail-rating span {
    margin-left: 8px;

    color: #777;

    font-size: 13px;
}


/* 이벤트 특전 */
.gift-detail-type {
    color: #f9704f;

    font-size: 25px;
    font-weight: 700;
}


.gift-detail-line {
    width: 100%;
    height: 1px;

    margin: 30px 0;

    background-color: #e5e5df;
}


/* 기본 정보 */
.gift-detail-basic-info {
    display: flex;
    flex-direction: column;

    gap: 17px;
}


.gift-detail-info-row {
    display: grid;

    grid-template-columns: 90px 1fr;

    font-size: 14px;
    line-height: 1.6;
}

.gift-detail-info-row span {
    color: #999;
}

.gift-detail-info-row strong {
    color: #444;

    font-weight: 500;
}


/* 이벤트 버튼 */
.gift-event-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 58px;

    margin-top: 38px;

    border: 2px solid #f9704f;

    background-color: #f9704f;
    color: #fffff5;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.gift-event-button:hover {
    background-color: #fffff5;
    color: #f9704f;
}


.gift-detail-small-notice {
    margin-top: 15px;

    color: #999;

    font-size: 11px;
    line-height: 1.6;

    text-align: center;
}


/* ==================================================
   탭
================================================== */

.gift-detail-tabs {
    position: sticky;
    top: 0;

    z-index: 5;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 100px;

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    background-color: #fffff5;
}


.gift-detail-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 62px;

    border-right: 1px solid #ddd;

    color: #777;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.gift-detail-tabs a:last-child {
    border-right: 0;
}


.gift-detail-tabs a:hover {
    color: #f9704f;
}


/* ==================================================
   공통 상세 섹션
================================================== */

.gift-detail-section {
    padding-top: 90px;

    scroll-margin-top: 70px;
}


.gift-detail-section h2 {
    margin-bottom: 35px;

    color: #292929;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.045em;
}


/* ==================================================
   상품정보 표
================================================== */

.gift-info-table {
    border-top: 2px solid #333;
}


.gift-info-table-row {
    display: grid;

    grid-template-columns: 180px 1fr;

    min-height: 60px;

    border-bottom: 1px solid #e1e1dc;
}


.gift-info-table-row span,
.gift-info-table-row p {
    display: flex;
    align-items: center;

    padding: 15px 20px;

    font-size: 14px;
}


.gift-info-table-row span {
    background-color: #f5f5ef;

    color: #777;

    font-weight: 600;
}


.gift-info-table-row p {
    color: #444;
}


/* ==================================================
   상세 이미지
================================================== */

.gift-detail-images {
    width: min(100%, 850px);

    margin: 0 auto;
}


.gift-detail-images img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}


/* ==================================================
   안내사항
================================================== */

.gift-detail-notice {
    margin-top: 60px;
    padding-bottom: 50px;

    border-top: 1px solid #ddd;
}


.gift-detail-notice p {
    color: #777;

    font-size: 14px;
    line-height: 1.9;

    word-break: keep-all;
}

.gift-detail-notice p + p {
    margin-top: 6px;
}


/* ==================================================
   태블릿
================================================== */

@media (max-width: 850px) {

    .gift-detail-main {
        width: min(calc(100% - 40px), 1180px);

        padding-top: 145px;
        padding-bottom: 100px;
    }


    .gift-product-detail-top {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .gift-detail-image-area {
        width: min(100%, 600px);

        margin: 0 auto;
    }


    .gift-detail-summary {
        width: min(100%, 600px);

        margin: 0 auto;
    }


    .gift-detail-tabs {
        margin-top: 75px;
    }

}


/* ==================================================
   모바일
================================================== */

@media (max-width: 520px) {

    .gift-detail-main {
        width: calc(100% - 30px);

        padding-top: 120px;
        padding-bottom: 80px;
    }


    .gift-detail-back {
        margin-bottom: 28px;

        font-size: 13px;
    }


    .gift-product-detail-top {
        gap: 30px;
    }


    .gift-detail-name {
        font-size: 30px;
    }


    .gift-detail-type {
        font-size: 21px;
    }


    .gift-detail-line {
        margin: 24px 0;
    }


    .gift-detail-info-row {
        grid-template-columns: 75px 1fr;

        font-size: 13px;
    }


    .gift-event-button {
        min-height: 52px;

        margin-top: 30px;

        font-size: 14px;
    }


    .gift-detail-tabs {
        margin-top: 60px;
    }


    .gift-detail-tabs a {
        min-height: 52px;

        font-size: 12px;
    }


    .gift-detail-section {
        padding-top: 65px;
    }


    .gift-detail-section h2 {
        margin-bottom: 25px;

        font-size: 21px;
    }


    .gift-info-table-row {
        grid-template-columns: 105px 1fr;

        min-height: 55px;
    }


    .gift-info-table-row span,
    .gift-info-table-row p {
        padding: 13px 12px;

        font-size: 12px;
    }


    .gift-detail-notice {
        margin-top: 35px;
    }


    .gift-detail-notice p {
        font-size: 12px;
    }

}

.gift-preview-link {
    display: inline-block;

    margin-top: 32px;

    color: #9b9b9b;

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    transition: all .2s ease;
}

.gift-preview-link:hover {
    color: #f9704f;
}

.gift-preview-link {
    display: block;
    margin-top: 34px;
    text-align: center;

    color: #9b9b9b;

    font-size: 15px;
    font-weight: 400;

    text-decoration: none;
}

.gift-preview-link:hover {
    color: #f9704f;
}

/* =========================================
   EVENT #3 - WEREWOLF
========================================= */

.werewolf-content p {
    margin: 0;
}

.werewolf-content p + p {
    margin-top: 28px;
}


/* 강조 문장 */

.werewolf-question {
    font-weight: 600;
}

.werewolf-highlight {
    margin-top: 55px !important;

    color: #f9704f;

    font-size: 1.35em;
    font-weight: 700;
}


/* 구분선 */

.werewolf-divider {
    width: 100%;
    height: 1px;

    margin: 55px 0;

    background: rgba(249, 112, 79, 0.35);
}


/* 체크 항목 제목 */

.werewolf-check-title {
    margin-bottom: 30px !important;

    font-weight: 600;
}


/* 1~14 목록 */

.werewolf-list {
    margin: 0;
    padding-left: 28px;

    line-height: 1.8;
}

.werewolf-list li {
    padding-left: 5px;
    margin-bottom: 14px;
}

.werewolf-list li:last-child {
    margin-bottom: 0;
}


/* 마지막 경고 */

.werewolf-warning {
    line-height: 1.8;
}

.werewolf-warning p + p {
    margin-top: 28px;
}

.werewolf-warning strong {
    font-weight: 700;
}


/* 늑대인간에 대하여 버튼 */

.werewolf-button {
    display: flex;

    width: min(260px, 100%);
    min-height: 52px;

    margin: 60px auto 0;

    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background: #f9704f;
    color: #fffff5;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.werewolf-button:hover {
    opacity: .85;
    transform: translateY(-2px);
}


/* 작은 회색 비밀 링크 */

.werewolf-secret-link {
    display: block;

    margin: 35px auto 0;

    padding: 0;

    border: 0;
    background: transparent;

    color: #999;

    font-family: inherit;
    font-size: 12px;
    font-weight: 400;

    text-align: center;
    text-decoration: underline;

    cursor: pointer;
}


/* =========================================
   숨겨진 팝업
========================================= */

.werewolf-popup {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, .72);
}

.werewolf-popup.is-open {
    display: flex;
}


/* 팝업 창 */

.werewolf-popup-box {
    position: relative;

    width: min(520px, 100%);

    padding: 55px 40px 45px;

    background: #fffff5;

    border: 1px solid #f9704f;

    color: #f9704f;
}

.werewolf-popup-box p {
    margin: 0;

    font-size: 15px;
    line-height: 1.9;

    overflow-wrap: anywhere;
    word-break: break-all;
}


/* X 버튼 */

.werewolf-popup-close {
    position: absolute;

    top: 12px;
    right: 16px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #f9704f;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================
   모바일
========================================= */

@media (max-width: 520px) {

    .werewolf-content p + p {
        margin-top: 22px;
    }

    .werewolf-highlight {
        margin-top: 42px !important;
    }

    .werewolf-divider {
        margin: 42px 0;
    }

    .werewolf-list {
        padding-left: 23px;

        font-size: 14px;
        line-height: 1.75;
    }

    .werewolf-list li {
        margin-bottom: 13px;
    }

    .werewolf-button {
        width: 100%;

        margin-top: 45px;

        min-height: 50px;

        font-size: 14px;
    }

    .werewolf-secret-link {
        margin-top: 28px;

        font-size: 11px;
    }

    .werewolf-popup-box {
        padding: 50px 25px 35px;
    }

    .werewolf-popup-box p {
        font-size: 13px;
        line-height: 1.8;
    }

}

/* 늑대인간 이벤트 글 왼쪽 정렬 */

.werewolf-content,
.werewolf-content .event-post-description {
    text-align: left !important;
}

.werewolf-content p,
.werewolf-content li {
    text-align: left !important;
}

/* 늑대인간 버튼만 가운데 정렬 */
.werewolf-button {
    display: block;
    width: fit-content;

    margin: 40px auto 0;

    padding: 14px 28px;

    text-align: center !important;
    white-space: nowrap;
}

.werewolf-content .event-post-description {
    width: 100%;
    max-width: none;

    margin: 0;

    box-sizing: border-box;
    text-align: left;
}

@media (max-width: 520px) {
    .werewolf-content .event-post-description {
        padding: 30px 22px;
    }
}

/* 늑대인간 본문을 왼쪽으로 당기기 */
.werewolf-content .event-post-description {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
}

/* =========================================
   늑대인간 페이지 모바일 최종 수정
========================================= */

@media (max-width: 520px) {

    /* 본문 왼쪽 정렬 */
    .werewolf-content,
    .werewolf-content .event-post-description,
    .werewolf-content p,
    .werewolf-content li,
    .werewolf-warning {
        text-align: left !important;
    }


    /* 본문 좌우 여백 */
    .werewolf-content {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .werewolf-content .event-post-description {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* 목록 */
    .werewolf-list {
        padding-left: 24px !important;
        margin-left: 0 !important;

        text-align: left !important;
    }

    .werewolf-list li {
        padding-left: 4px;
    }


    /* 버튼은 가운데 */
    .werewolf-button {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: fit-content;
        max-width: 100%;

        margin: 45px auto 0 !important;
        padding: 13px 22px;

        text-align: center !important;
    }


    /* 비밀 링크도 가운데 */
    .werewolf-secret-link {
        display: block;

        margin: 28px auto 0 !important;

        text-align: center !important;
    }
}


/* =========================================
   팝업 - 평소에는 반드시 숨기기
========================================= */

.werewolf-popup {
    position: fixed !important;
    inset: 0 !important;

    z-index: 99999 !important;

    display: none !important;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, 0.72);
}


/* 클릭했을 때만 등장 */
.werewolf-popup.is-open {
    display: flex !important;
}


.werewolf-popup-box {
    position: relative;

    width: min(520px, 100%);

    padding: 50px 28px 38px;

    box-sizing: border-box;

    background: #fffff5;
    border: 1px solid #f9704f;
}


.werewolf-popup-box p {
    margin: 0;

    color: #f9704f;

    font-size: 13px;
    line-height: 1.8;

    text-align: left;

    word-break: break-all;
    overflow-wrap: anywhere;
}


.werewolf-popup-close {
    position: absolute;

    top: 12px;
    right: 15px;

    border: 0;
    padding: 0;

    background: transparent;
    color: #f9704f;

    font-size: 25px;

    cursor: pointer;
}

/* 이벤트 본문 양끝 배분 정렬로 수정 */

.event-post-description {
    text-align: justify !important;
    word-break: keep-all;
}

.event-post-description p,
.event-post-description li {
    text-align: justify !important;
    word-break: keep-all;
}
