@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

@font-face {
    font-family: 'Sacheonhanggong';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2506-1@1.0/SacheonHangGong-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}


@font-face {
	font-family: 'AvieSehyun';
	src: url('https://gcore.jsdelivr.net/gh/projectnoonnu/noonfonts_five@.2.0/UhBeeSe_hyun.woff') format('woff');
	font-weight: normal;
	font-display: swap; 
}
 

html,body{background:#fff7d9; margin:0;font-family: "Sacheonhanggong", -apple-system, BlinkMacSystemFont, "Segoe UI",Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;}
.hero{display:flex;flex-direction:column;align-items:center;justify-content:space-between;height:100vh;padding:0%;box-sizing:border-box;background:#fff7d9 url("img/mainbg.jpg") center center/cover no-repeat;color:#333;font-family:Sacheonhanggong, "Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.hero-inner{  width: 100%;max-width:980px; display:flex;align-items:center;justify-content:space-between;flex:1 0 auto;}
.hero-left{flex:0 0 65%; }
.hero-right{flex:0 0 30%; text-align:right;}
.hero-title-wrap{margin-bottom:2rem;}
.hero-title-kr{font-size:5.6rem;font-weight:800;color:#333;line-height:1.12;word-break:keep-all;letter-spacing:-0.03em;animation:heroTitleIn 1.1s cubic-bezier(.19,1,.22,1) both;}
.hero-year{  font-size: 13rem;font-weight:800;line-height:0.9;}

 

.hero-nav{ padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:1rem;}
.hero-nav li{flex:0 0 auto;}
.hero-nav a:hover{background:#fff;transform:translateY(-3px);box-shadow:0 12px 25px rgba(0,0,0,.18);} 
.hero-nav a{display:flex;align-items:center;gap:.55rem;padding:.85rem 2rem;font-size:1.2rem;font-weight:700;height:60px;border-radius:999px;text-decoration:none;color:#222;border:1px solid rgba(0,0,0,0.1);background:#fff;transition:.25s;} 



.hero-nav li:nth-child(1) a{background:#F8E7A1;border-color:#E6D58F;}
.hero-nav li:nth-child(1) a:hover{background:#F5DA7F;border-color:#D8C16E;transform:translateY(-3px);box-shadow:0 8px 18px rgba(0,0,0,0.15);}
.hero-nav li:nth-child(2) a{background:#CFE3FF;border-color:#AEC7E9;}
.hero-nav li:nth-child(2) a:hover{background:#BFD7F8;border-color:#95B5D8;transform:translateY(-3px);box-shadow:0 8px 18px rgba(0,0,0,0.15);} 
.nav-icon{width:1.2em;height:1.2em;stroke:currentColor;stroke-width:1.8;fill:none;}


 

  
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: 0.25s;
    z-index: 50;
}
 
.slider-btn.left { left:-30px; }
.slider-btn.right { right: -30px; }
 
.arrow-icon {
    width: 28px;
    height: 28px;
    stroke: #666;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: 0.2s;
}
 
.slider-btn:hover {
    background: rgba(200, 220, 255, 0.85);
}

.slider-btn:hover .arrow-icon {
    stroke: #4a7bff; 
    transform: scale(1.05);
}





.nav-icon{width:1.15em;height:1.15em;stroke:currentColor;stroke-width:1.8;fill:none;}
.hero-sub-en{width:100%; overflow:hidden;white-space:nowrap;  margin-top:0;}
.hero-sub-en span{display:inline-block; font-size:1.3rem;font-weight:700;  } 

.inner {width:100%;margin:0 auto;}

.footer{width:100%;padding:55px 0; text-align:center; background:rgba(0,0,0,.7);font-size:15px;color:#fff;}
.footer .info{line-height:1.2;}
.footer .info span{font-weight:400; margin-top:30px; display:block; opacity:.5}



.left_quick{position:fixed;right:20px;bottom:100px;display:flex;flex-direction:column;gap:12px;z-index:9999;}
.left_quick a,.left_quick button{width:54px;height:54px;border-radius:50%;border:none;outline:none;display:flex;align-items:center;justify-content:center;background:#333;color:#fff;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,0.25);transition:background .2s ease,transform .2s ease;}
.left_quick a:hover,.left_quick button:hover{background:#111;transform:translateY(-3px);}
.left_quick svg{width:26px;height:26px;}
.left_quick .txt{display:none;}
.quick_home{position:relative;text-decoration:none;}


*{margin:0;padding:0;box-sizing:border-box;}
.wrap{width:100vw;height:100vh;}
.content{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%;}
.main h2{font-size:40px;color:#fff;letter-spacing:-2px;line-height:120%;font-family:'Pretendard';}
.sub {padding:10%;  background:linear-gradient(180deg, #0d1b3d 0%, #13295f 50%, #1b3f86 100%); }
.sub .inner{background:#fff;padding:3%;border-radius:30px;
    z-index:1;}
.sub h1{text-align:center;font-size:56px;margin:40px 0 60px 0;font-family:'Pretendard';letter-spacing:-1px;}
.sub h2{font-size:24px;margin-bottom:10px;font-family:'Pretendard';}
.sub p{font-size:18px;word-break:keep-all;font-weight:300;line-height:1.4;color:#333;letter-spacing:-1px;}
.ceo{border:5px #eee solid;padding:4%;background:#f7f7f7;border-radius:20px;margin-bottom:50px;}
a{text-decoration:none;}
h1,h2,h3,h4,h5,p,span,a{font-family:'Pretendard';}

 
.sub::before,
.sub::after {
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:200%; 
    pointer-events:none;
    z-index:0;
}
 
.sub::before {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 0, rgba(255,255,255,.95) 2px, transparent 3px);
    background-size:140px 140px;
    animation:fallSlow 18s linear infinite;
    opacity:0.9;
}
 
.sub::after {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.75) 0, rgba(255,255,255,.75) 1.5px, transparent 3px);
    background-size:90px 90px;
    animation:fallFast 30s linear infinite;
    opacity:0.7;
}
 
@keyframes fallSlow {
    0% {transform:translateY(-50%);}
    100% {transform:translateY(0);}
}

@keyframes fallFast {
    0% {transform:translateY(-60%);}
    100% {transform:translateY(0);}
}


.header {  z-index: 99; position: absolute; padding:5px 20px; height:80px; line-height:70px; background-color:rgba(255,255,255,.4); width:100%;}
.header h1 {   padding-left:90px}
.header h1 a{color: #000; font-size:0}

 
.back-btn {position: absolute;top: 50%; left:0px;transform: translateY(-50%);padding: 10px 15px;background-color: rgba(0,0,0,0.4); height:80px;width:80px;line-height:70px;color: white;font-size:22px;border: none;font-weight:bold;  font-family: 'Pretendard';cursor: pointer;transition: background-color 0.3s ease;}
.back-btn:hover {background-color: #45a049;}
.back-btn:focus {outline: none;}



#greeting .content{position:relative;z-index:1;flex:1;display:flex;align-items:center;justify-content:center;padding:80px 20px;} 
#greeting .intro {position:relative;min-height:100vh;display:flex;flex-direction:column;background:#fffdf8;overflow:hidden;}
#greeting .intro::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;border:2px dashed rgba(255,160,120,0.4);top:-140px;left:-80px;animation:spinCircle 38s linear infinite;}
#greeting .intro::after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;border:2px dashed rgba(120,180,255,0.3);bottom:-220px;right:-120px;animation:spinCircleReverse 55s linear infinite;}
#greeting .content::before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,220,170,0.8),rgba(255,220,170,0));top:8%;right:15%;opacity:0.6;animation:floatBlob 12s ease-in-out infinite;}
#greeting .content::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle at 40% 40%,rgba(180,210,255,0.75),rgba(180,210,255,0));bottom:10%;left:12%;opacity:0.6;animation:floatBlobSlow 18s ease-in-out infinite;}
#greeting .hero-quote{ position:relative;z-index:2; margin:0 auto; text-align:center;font-family:"Pretendard","Noto Sans KR",sans-serif;color:#111;}
#greeting .main-title{font-family:"AvieSehyun"; font-size:72px;line-height:1.3;font-weight:400;margin:0 0 40px 0;opacity:0;animation:titleDrop .8s ease-out forwards;}
#greeting .sub-text{  letter-spacing: -1px;font-weight: 600;margin:0 0 40px 0;font-size:26px;font-weight:500;color:#444;}
#greeting .hero-body{ margin:0 auto;font-size:17px;line-height:1.9;color:#555;}

@keyframes titleDrop{0%{opacity:0;transform:translateY(-30px);}100%{opacity:1;transform:translateY(0);}}
@keyframes spinCircle{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}
@keyframes spinCircleReverse{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}
@keyframes floatBlob{0%,100%{transform:translateY(0);}50%{transform:translateY(-18px);}}
@keyframes floatBlobSlow{0%,100%{transform:translateY(0);}50%{transform:translateY(14px);}}




.artlist {display: flex; flex-wrap: wrap; justify-content: start; gap:10px}
.artlist > li {width: 19%; list-style:none; margin:20px 0 50px 0; }
.artlist li .artinfo {text-align:center}
.artlist li .artinfo .title {color:#000; margin:20px 0} 
.artlist li .artinfo .title span { font-size:18px;font-weight: 600;  letter-spacing: -1px; margin-bottom:5px;  display: block;}
.artlist li .artinfo .title div {text-overflow: ellipsis;     overflow: hidden;    white-space: nowrap;    font-size: 22px;   font-weight: bold;}
.artlist li .artinfo .title h5 {}
.artlist li .artinfo .updown ul {   margin:15px 0; border-radius: 10px; display:flex; background:#fff}
.artlist li .artinfo .updown ul li {list-style:none;text-align:center;     justify-content: center;      align-items: center;display:flex;  width:100%; padding:5px 15px; } 


#viewingroom .art-img-wrap{width:100%;height:100%;overflow:hidden;border-radius:12px;border:1px solid #eee;display:flex;align-items:center;justify-content:center;background:#fafafa;}
#viewingroom .art-img{width:100%;height:100%;object-fit:cover;object-position:center;}



.like-wrap{padding:0;margin:0;list-style:none;}
.like-btn{display:flex;align-items:center;gap:6px;cursor:pointer;}
.heart-icon{width:28px;height:28px;fill:none;stroke:#d33a6e;stroke-width:2;transition:0.25s;}
.like-btn:hover .heart-icon{fill:#d33a6e;stroke:#d33a6e;}
#good_cnt_span{font-size:18px;font-weight:700;color:#333;}

 

  


#viewingroom .board-filter{display:flex;align-items:center;gap:10px;margin:20px 0;  justify-content: center;}
#viewingroom .select_kkk{min-width:210px;height:40px;padding:0 40px 0 16px;border-radius:999px;border:1px solid #d5d5d5;background:#fff no-repeat right 15px center/10px auto;color:#222;font-size:15px;line-height:38px;box-sizing:border-box;font-family:"Pretendard","Noto Sans KR",sans-serif;transition:border-color .2s ease,box-shadow .2s ease;}
#viewingroom .select_kkk:focus{outline:none;border-color:#b7b7b7;box-shadow:0 0 0 2px rgba(0,0,0,0.05);}
#viewingroom .select_kkk:hover{border-color:#aaa;}
#viewingroom .button{height:40px;padding:0 22px;border-radius:999px;border:1px solid #d5d5d5;background:#f7f7f7;color:#222;font-size:15px;font-weight:500;cursor:pointer;font-family:"Pretendard","Noto Sans KR",sans-serif;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .15s ease;}
#viewingroom .button:hover{background:#efefef;border-color:#b7b7b7;box-shadow:0 3px 8px rgba(0,0,0,0.08);}
#viewingroom .button:active{background:#e7e7e7;transform:translateY(0);}
#viewingroom .art{position:relative;} 
#viewingroom .crown-icon{position: absolute;top: -50px;left:0px;  right: 0; margin: 0 auto;width:115px;height: auto;z-index: 5;pointer-events: none;}
#viewingroom .piece-title{font-size:23px;line-height:1.3;margin:0 0 20px 0;font-weight:700;}
#viewingroom .piece-meta{margin:0 0 6px 0;font-size:20px;color:#333;}
#viewingroom .piece-author{font-weight:800;font-size:38px;color:#000;margin-left:0;}
#viewingroom .piece-card img.artview-img{display:block;width:100%;height:auto; object-fit:contain;transition:none;}
#viewingroom .piece-card{position:relative;width:100%;max-width:720px;background:#fdfde0;border-radius:28px;}
#viewingroom .artview-img{display:block;width:100%;height:auto;}
#viewingroom .award-box{position:absolute;top:0;left:0;width:165px;height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;}
#viewingroom .award-medal{width:140px;height:auto;display:block;}
#viewingroom .award-text{position:absolute;top:56px;  width: 40%;text-align:center;font-size:18px;font-weight:800;color:#333;text-shadow:0 2px 4px rgba(0,0,0,0.2);}
#viewingroom .popup-piece{position:relative;background:#fff;border-radius:20px; width:100%;height:auto; }
#viewingroom .digital-layer{ width:100%;height:100%; align-items:center;justify-content:center;z-index:9999; box-sizing:border-box;}
#viewingroom .digital-layer.on{display:flex;}
#viewingroom .digital-close{position:absolute;right:20px;top:20px;width:40px;height:40px;border:none;background:transparent;color:#333;font-size:32px;cursor:pointer;}
#viewingroom .piece-view{  z-index: 99; font-family:"Pretendard","Noto Sans KR",sans-serif;color:#222;}
#viewingroom .piece-inner{ margin:0 auto;display:flex;align-items:flex-start;gap:40px;}
#viewingroom .piece-left{flex:0 0 50%;display:flex;justify-content:center;position:relative;} 
#viewingroom .piece-right{flex:0 0 45%;padding-top:40px;}
#viewingroom .piece-badges{ margin-bottom:20px;}
#viewingroom .piece-badges .title {background:#ff9191;color:#fff;   display: inline-block;padding:6px 14px;border-radius:999px;font-size: 17px;  font-weight: 600;  letter-spacing: -1px;
#viewingroom .badge{display:inline-flex;align-items:center;font-size:18px;font-weight:800;}
#viewingroom .badge-main{}
#viewingroom .piece-award{font-size:18px;font-weight:600;color:#333;margin:0 0 20px 0;} 




  