:root {
    --maincolor: #e3659e;
    --color-start: #e3659e;
    --color-end: #b6507e;
    --color-leftstart: #181818;
    --color-leftend: #101010;
}

.top_right_box a i, .top_right_box span i { color:var(--maincolor); }


.gnb_box {
    border-top: 3px solid  var(--maincolor);
    border-bottom: 3px solid var(--maincolor);
}


.gnb_menu_box a:hover, .gnb_menu_box span:hover {
    color: #e3659e;
}

.btn_top_login {

    border:2px solid var(--maincolor);

}

.btn_top_join {
    background: linear-gradient(180deg, var(--color-start), var(--color-end));
    box-shadow: inset 0px 1px 0px rgba(255,255,255,.3),0px 1px 3px rgba(0,0,0,0.3);
    border:2px solid var(--maincolor);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    color:#eee;
}

.mb_box {
    border:2px solid var(--maincolor);
}

/* 좌측 바둑판 메뉴 상단 3개 */

.snb_left ul li a.btn_gray{
    background: linear-gradient(180deg, var(--color-start), var(--color-end));
    border:0px solid #3758c5;
}
.snb_left ul li a.btn_gray:hover{
    background: linear-gradient(180deg, var(--color-start), var(--color-end));
    border:0px solid #3758c5;
}

/* 공지, 이벤트 타이틀 */
.main_bbs_ttl {
    height:49px;
    line-height: 50px;
    position: relative;
    background: linear-gradient(180deg, var(--color-start), var(--color-end));
}



/* 중간 배너 클릭버튼 */
.mmb_in_btn {
    background-color: #e3659e;
}



.card {
    animation-name: rotate;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    background-color: var(--primary);
    background-image: radial-gradient(circle at 100% 0%, hsla(0, 0%, 100%, 0.08) 29.5%, hsla(0, 0%, 100%, 0) 30%), radial-gradient(circle at 100% 0%, hsla(0, 0%, 100%, 0.08) 39.5%, hsla(0, 0%, 100%, 0) 40%), radial-gradient(circle at 100% 0%, hsla(0, 0%, 100%, 0.08) 49.5%, hsla(0, 0%, 100%, 0) 50%);
    border-radius: 0.5em;
    box-shadow: 0 0 0 hsl(0, 0%, 80%), 0 0 0 hsl(0, 0%, 100%), -0.2rem 0 0.75rem 0 hsla(0, 0%, 0%, 0.3);
    transform: translate3d(0, 0, 0);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.card2 {
    animation-name: rotate2;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    background-color: var(--primary);
    background-image: radial-gradient(circle at 100% 0%, hsla(0, 0%, 100%, 0.08) 29.5%, hsla(0, 0%, 100%, 0) 30%), radial-gradient(circle at 100% 0%, hsla(0, 0%, 100%, 0.08) 39.5%, hsla(0, 0%, 100%, 0) 40%), radial-gradient(circle at 100% 0%, hsla(0, 0%, 100%, 0.08) 49.5%, hsla(0, 0%, 100%, 0) 50%);
    border-radius: 0.5em;
    box-shadow: 0 0 0 hsl(0, 0%, 80%), 0 0 0 hsl(0, 0%, 100%), -0.2rem 0 0.75rem 0 hsla(0, 0%, 0%, 0.3);

    transform: translate3d(0, 0, 0);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.card__img {
    width: 100%;
    height: 100%;
    position: relative;
    --angle: 0deg;
    padding: 0px;
    background: linear-gradient(white, white) padding-box,
    conic-gradient(from var(--angle), #39ff14, #00ffcc, #ff00ff, #ff0000) border-box; /* Neon-like colors */
    border: 2px solid transparent;
    border-radius: 7px;
    max-width: 400px;
    animation: rotate-gradient 5s infinite linear;
}

@keyframes rotate-gradient {
    from { --angle: 0deg; }
    to { --angle: 360deg; }
}


.card__texture {
    animation-name: texture;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    background-image: linear-gradient(-80deg, hsla(0, 0%, 100%, 0.3) 25%, hsla(0, 0%, 100%, 0) 45%);
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

/* Animation */
@keyframes rotate {
    from,
    to {
        animation-timing-function: ease-in;
        box-shadow:
                0 0 0 hsl(0, 0%, 80%),
                0.1rem 0 0 hsl(0, 0%, 100%),
                -0.2rem 0 0.75rem 0 hsla(0, 0%, 0%, 0.3);
        transform: rotateY(-14deg);
    }
    25%,
    75% {
        animation-timing-function: ease-out;
        box-shadow:
                0 0 0 hsl(0, 0%, 80%),
                0 0 0 hsl(0, 0%, 100%),
                -0.25rem -0.05rem 1rem 0.15rem hsla(0, 0%, 0%, 0.3);
        transform: rotateY(0deg);
    }
    50% {
        animation-timing-function: ease-in;
        box-shadow:
                -0.1rem 0 0 hsl(0, 0%, 80%),
                0 0 0 hsl(0, 0%, 100%),
                -0.3rem -0.1rem 1.5rem 0.3rem hsla(0, 0%, 0%, 0.3);
        transform: rotateY(14deg);
    }
}
@keyframes texture {
    from,
    to {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-50%, 0, 0);
    }
}




     .snow_wrap {
     position: relative;
     width: 100%;
     height: 100vh;
     }

     .snow_div {
     position: fixed;
     top: -10%;
     z-index: 9999;
     color: #fff;
     text-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
     user-select: none;
     animation: snow_shake 3s ease-in-out infinite;
     }

     .snow_div p {
         font-size: 20px;
         color: rgba(255, 255, 255, 1);
         animation: snow_fall 10s linear infinite;
     }

     /* 모바일 화면에서 눈송이 색상에 알파값 추가 */
     @media (max-width: 768px) {
         .snow_div p {
             font-size: 17px;
             color: rgba(255, 255, 255, 0.3);
         }
     }

     /* 더 작은 화면에서 눈송이 색상에 알파값 추가 */
     @media (max-width: 480px) {
         .snow_div p {
             font-size: 17px;  /* 더 작은 눈송이 크기 */
             color: rgba(255, 255, 255, 0.3);
         }
     }


     @keyframes snow_shake {
     0% {
     transform: translateX(0px);
     }
     50% {
     transform: translateX(80px);
     }
     100% {
     transform: translateX(0px);
     }
     }

     @keyframes snow_fall {
     0% {
     transform: translateY(0vh);
     }
     100% {
     transform: translateY(110vh);
     }
     }
     .snow_accumulation {
     position: absolute;
     bottom: 0;
     width: 100%;
     height: 10px;
      }




