@charset "utf-8";
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');
@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=Metal&display=swap');

@import url('color.css');

@font-face {
    font-family: 'Cafe24Ohsquare';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/Cafe24Ohsquare.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cafe24Lovingu';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2405-3@1.1/Cafe24Lovingu.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Chosunilbo_myungjo';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ChosunSm';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.1/ChosunSm.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ChosunGu';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGu.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'InkLipquid';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/InkLipquid.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.corinthia-regular {
    font-family: "Corinthia", cursive;
    font-weight: 400;
    font-style: normal;
}

.corinthia-bold {
    font-family: "Corinthia", cursive;
    font-weight: 700;
    font-style: normal;
}

.metal-regular {
    font-family: "Metal", serif;
    font-weight: 400;
    font-style: normal;
}


/* =============================== */
/*	카테고리	*/
/* =============================== */

ul.upcategories {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

a.upcate {
    background: var(--color-list-bg);
    padding: 2px 15px;
    border-radius: 20px;
    border: 1px solid var(--color-text);
    font-size: 12px;
    font-family: 'Pretendard-Regular';
    color: var(--color-list-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

a.upcate.point {
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.7) 0%, rgba(173, 216, 230, 0.7) 50%, rgba(255, 182, 193, 0.7) 100%);
    background-size: 200% 200%;
    animation: hologram-bg-shift 8s ease infinite;
    border: 1px dashed var(--color-b);
}

a.upcate:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* =============================== */
/*	상단 검색창 & 글쓰기 영역	*/
/* =============================== */

.trpg-board-container .trpg-guide {
    display: flex;
    justify-content: space-between;
    margin: 0px 0px 25px;
}

.trpg-board-container .trpg-guide .trpg-sch-input {
    width: 200px;
}

.trpg-board-container .trpg-guide .trpg-ui-btn {
    display: flex;
    gap: 2px;
}

.trpg-board-container .trpg-guide .trpg-btn {
    text-align: center;
    color: var(--color-list-text);
    border-radius: 8px;
    width: 30px;
    height: 25px;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-list-bg);
    border: 1px solid var(--color-b);
}

.trpg-board-container .trpg-guide .trpg-btn a {
    color: var(--color-list-text);
}

.trpg-board-container .trpg-guide .trpg-sch-input,
.trpg-board-container .trpg-guide .trpg-sch-select {
    border-radius: 10px;
    height: 27px;
}

/* =============================== */
/*	하단 체크박스 & 선택 삭제	*/
/* =============================== */

.trpg-board-container .trpg-chk-option {
    display: flex;
    gap: 2px;
}

.trpg-board-container .chk_all,
.trpg-board-container .select-trash-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    box-sizing: border-box;
    background: none;
    border: none;
    font: inherit;
    width: 30px;
    height: 25px;
    line-height: 25px;
    background: var(--color-list-bg);
    border: 1px solid var(--color-b);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.trpg-board-container .select-trash-btn:hover {
    background: rgb(from var(--color-list-text) r g b / 20%);
}

.trpg-board-container .pg {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.trpg-board-container .pg_wrap .pg_page {
    width: 30px;
    height: 25px;
    line-height: 25px;
    background: var(--color-list-bg);
    border: 1px solid var(--color-b);
    color: rgb(from var(--color-list-text) r g b / 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pretendard-Regular';
    padding: 0 5px;
    font-size: 11px;
    border-radius: 8px;
}

.trpg-board-container strong.pg_current.pg_page {
    background: rgb(from var(--color-list-text) r g b / 20%);
    color: rgb(from var(--color-list-text) r g b / 80%);
}

/* =============================== */
/*	리스트	*/
/* =============================== */
.trpg-board-container {
    width: 800px;
    margin: 0 auto;
}

.trpg-ticket-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.trpg-ticket-item {
    position: relative;
    width: 100%;
    transition: 0.3s all;
    filter: blur(0.2px);
}

.trpg-ticket-item:hover {
    filter: blur(0px);
    transform: translateY(-2px);
}

.trpg-ticket-chk {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    opacity: 0.3;
}

.trpg-ticket-container {
    display: flex;
    height: 230px;
}

/* A 영역: 바코드 부분 */
/* 바코드 컨테이너 */
.barcode-img {
    width: 100%;
    height: 20px;
    position: relative;
    overflow: hidden;
    padding: 2px 0;
}

/* 바코드 라인 컨테이너 */
.barcode-lines {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 개별 바코드 라인 */
.barcode-line {
    display: inline-block;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 182, 193, 0.7) 0%,
            rgba(173, 216, 230, 0.7) 50%,
            rgba(255, 182, 193, 0.7) 100%);
    background-size: 200% 200%;
    animation: hologram-bg-shift 8s ease infinite;
}

/* 바코드 번호에 홀로그램 효과 적용 - 수정된 버전 */
.hologram-text {
    background: linear-gradient(135deg,
            rgba(255, 182, 193, 0.7) 0%,
            rgba(173, 216, 230, 0.7) 50%,
            rgba(255, 182, 193, 0.7) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hologram-bg-shift 5s ease infinite;
    display: inline-block;
    position: relative;
    font-family: monospace;
    letter-spacing: 1px;
    font-size: 11px;
}

/* B 영역: 세션 카드 이미지 */
.trpg-ticket-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    overflow: hidden;
    border-radius: 8px 0px 0px 8px;
    box-shadow: 0px 5px 2px rgba(0, 0, 0, 0.2);
    background: var(--color-list-bg);
}

/* C 영역: 정보 영역 */
.trpg-ticket-info {
    width: 300px;
    padding: 15px 15px 5px;
    border-radius: 0px 8px 8px 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-list-bg);
    border-left: 1px dashed var(--color-b);
    font-family: 'Pretendard-Regular';
    align-items: center;
    box-shadow: 0px 5px 2px rgba(0, 0, 0, 0.2);
    transition: 0.3s all;
    overflow: hidden;
}

.trpg-ticket-info:hover {
    transform: rotate(3deg);
    box-shadow: 2px 5px 1px rgba(0, 0, 0, 0.3);
}

.trpg-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.trpg-ticket-subtitle {
    font-size: 16px;
    color: var(--color-info-text);
    font-style: italic;
    font-family: 'InkLipquid';
}

.trpg-ticket-subtitle::before {
    content: '“';
    font-size: 40px;
    font-family: 'ChosunSm';
    position: absolute;
    left: 44%;
    opacity: 0.4;
}

.trpg-ticket-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.trpg-ticket-title a {
    color: var(--color-con-text);
    text-decoration: none;
}

.trpg-ticket-title a:hover {
    text-decoration: underline;
}

.trpg-ticket-date {
    font-size: 11px;
    color: var(--color-b);
}

.trpg-ticket-members {
    font-size: 12px;
    color: var(--color-info-text);
    text-align: center;
    word-break: auto-phrase;
}

/* 완료 스탬프 스타일 */
.trpg-ticket-completed {
    position: absolute;
    width: 120px;
    height: 120px;
    transform-origin: center;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(-0px -1px 0px rgba(70, 70, 70, 0.3));
    opacity: 0.7;
}

.stamp-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: hue-rotate(0deg);
    animation: hologram-hue-rotate 5s linear infinite;
}

@keyframes hologram-hue-rotate {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }

    25% {
        filter: hue-rotate(20deg) brightness(1.1);
    }

    50% {
        filter: hue-rotate(40deg) brightness(1);
    }

    75% {
        filter: hue-rotate(20deg) brightness(1.1);
    }

    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

@keyframes hologram-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 스탬프 홀로그램 텍스트 효과 */
.stamp-hologram-text {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.7) 0%, rgba(173, 216, 230, 0.7) 50%, rgba(255, 182, 193, 0.7) 100%);
    background-size: 50% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: hologram-bg-shift 5s ease infinite;
    /* -webkit-text-stroke: 1px #33333350; */
}

/* 빈 리스트 스타일 */
.empty-list {
    padding: 50px 0;
    text-align: center;
    color: var(--color-info-text);
    font-size: 16px;
}

.trpg-ticket-cate {
    font-family: 'Pretendard-Regular';
    margin: 0 auto;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 10px;
    padding: 0px 10px;
    text-align: center;
    width: fit-content;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.7) 0%, rgba(173, 216, 230, 0.7) 50%, rgba(255, 182, 193, 0.7) 100%);
    background-size: 200% 200%;
    animation: hologram-bg-shift 8s ease infinite;
    color: var(--color-bg);
    border: 1px dashed var(--color-b);
}

/* 홀로그램 배경 색상 변화 애니메이션 */
@keyframes hologram-bg-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .trpg-ticket-container {
        flex-direction: column;
        height: auto;
    }

    .trpg-ticket-barcode {
        width: 100%;
        height: 40px;
        border-right: none;
        border-bottom: 1px dashed var(--color-b);
    }

    .barcode-rotate {
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }

    .trpg-ticket-image {
        max-width: 100%;
        height: 150px;
    }

    .trpg-board-container .trpg-guide .trpg-sch .trpg-sch-input {
        max-width: 130px;
    }

    .trpg-board-container .trpg-guide .trpg-sch .trpg-sch-select {
        max-width: 100px;
    }
}
