/* BASIC css start */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700,800');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean');

#content { padding-top: 0; }

#R_roulette_event_wrap * { font-family: 'Montserrat', 'Noto Sans KR', sans-serif; }
#R_roulette_event_wrap { max-width: 1920px; min-width: 1200px; margin:0 auto; /*background:url(//xexymix.jpg3.kr/xexymix/sub/event/2025/roulette_251202.jpg) center top no-repeat; background-position-y:top; padding: 320px 0 560px;*/ }
#R_roulette_event_wrap .R_cont-wrap { display: none; position:relative; width:1200px; margin:0 auto; }
#R_roulette_event_wrap .R_cont-wrap .R_title {text-align:center;}
#R_roulette_event_wrap .R_cont-wrap .R_title h3 {padding-top:70px; font-size:44px; color:#403b33; font-weight:900; letter-spacing:-1px;}
#R_roulette_event_wrap .R_cont-wrap .R_title p {position:relative; width:375px; margin:0 auto; padding-top:25px; font-size:20px; color:#534d42; font-weight:700;}
#R_roulette_event_wrap .R_cont-wrap .R_title p:before {position:absolute; left:0; top:38px; width:40px; border-bottom:7px double #f49b95; content:'';}
#R_roulette_event_wrap .R_cont-wrap .R_title p:after {position:absolute; right:0; top:38px; width:40px; border-bottom:7px double #f49b95; content:'';}
#R_roulette_event_wrap .R_cont-wrap .deco_img { position: absolute; top: 74%; left: 49%; width: 60%; margin-left: -30%; }
#R_roulette_event_wrap .R_cont-wrap .deco_img img { width: 100%; }
#R_roulette_event_wrap .R_cont-wrap .R_roulette-wrap { width:600px; margin:0 auto; padding-top: 30px; position:relativel }

#R_roulette_event_wrap .R_notice {display:table; width:100%; background:#f2f5f6; padding:40px 0;}
#R_roulette_event_wrap .R_notice dt,
#R_roulette_event_wrap .R_notice dd {letter-spacing:-1px;}
#R_roulette_event_wrap .R_notice dt {display:table-cell; width:30%; padding-left:100px; font-size:20px; font-weight:700; vertical-align:middle;}
#R_roulette_event_wrap .R_notice dd {position:relative; width:70%; padding:0 190px 0 15px;line-height:24px; font-size:15px; color:#777;} 
#R_roulette_event_wrap .R_notice dd:before {position:absolute; left:0; top:0;content:'·'}

#R_roulette_event_wrap .R_comment-wrap {padding:40px 0; background:#f49b95;}
#R_roulette_event_wrap .R_comment-wrap .inner {width:644px; margin:0 auto;}
#R_roulette_event_wrap .R_comment-wrap .input-text {width:501px;height:46px; line-height:46px; padding:0 15px; border:1px solid #000; border-radius:8px; font-size:16px; color:#000;}
#R_roulette_event_wrap .R_comment-wrap .btn-apply {display:inline-block; height:48px; line-height:48px; margin-left:10px; padding:0 35px; background:#000; color:#fff; font-size:16px; letter-spacing:-1px; border-radius:8px;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list {background:#fff; border:1px solid #000; border-radius:8px; margin-top:15px; padding:30px; letter-spacing:-1px;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td {font-size:14px; padding-bottom:20px; color:#000;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .name,
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .date {color:#b8b8b8}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .content img {display:inline-block; margin-left:10px;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .benefit {color:#ef6a61}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list .no-data {text-align:center; font-size:15px; margin:10px auto;}

#R_roulette_event_wrap .R_comment-wrap .paging a {color:#999; font-size:12px; padding:0 7px;}
#R_roulette_event_wrap .R_comment-wrap .paging a.now {color:#000;}

/* 추천상품 리스트 */
#R_roulette_event_wrap > .prd-list table .info {padding:10px; float:left;width: 77%;text-align:center; margin-bottom:10px; border:1px solid #eee;}
#R_roulette_event_wrap > .prd-list .thumb {width: 100%; height:110px;overflow:hidden;}
#R_roulette_event_wrap > .prd-list .thumb img {width: 100%; height:98%;}

canvas#eventWheel { z-index: 1;}
canvas#eventWheel:after { content: ""; position: absolute; top: 0; left: 0; width: 600px; height: 600px; background: red; z-index: 100; }
.event-wheel-start { display: none; z-index: 11; position: absolute; background-color: #534d42; text-align: center; color:#fff; font-size:24px; font-weight:900; outline: 0; width: 100px; height: 100px; line-height: 100px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.event-wheel-pointer { z-index: 10; position: absolute; left: 577px; top: 0; width:45px; height:62px;}
.dummy-canvas { position: relative; width: 50%; min-height: 550px; margin: 0 auto; }


/* 레이어 팝업 */
.R_pop-roulette-layer {position:fixed; left:0; top:0; width:100%; height:100%; background-color:rgba( 0, 0, 0, 0.7 ); z-index:999; backdrop-filter:blur(4px); }
.R_pop-roulette-layer .R_pop-layer { position:absolute; border-radius: 20px; left:50%; top:50%; right:0; max-width: 480px; padding: 70px 50px 50px; text-align:center; background: #fff; -webkit-transform: translate3d(-50%, -50%, 0); -moz-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0); }
.R_pop-roulette-layer .R_pop-layer .btn-close { display: block; position:absolute; top: 5%; right: 3%; height: 40px; width: 40px }
.R_pop-roulette-layer .R_pop-layer .btn-close:before, 
.R_pop-roulette-layer .R_pop-layer .btn-close:after { content: ""; position: absolute; top: 50%; right: -8%; width: 30px; height: 1.5px; background: #000; }
.R_pop-roulette-layer .R_pop-layer .btn-close:before { transform: translate(-50%, -50%) rotate(-45deg); }
.R_pop-roulette-layer .R_pop-layer .btn-close:after { transform: translate(-50%, -50%) rotate(45deg); }

.R_pop-roulette-layer .R_pop-layer .R_title {color:#000; padding:40px 0 27px;}
.R_pop-roulette-layer .R_pop-layer .R_title span {font-size:22px; font-weight:500;}
.R_pop-roulette-layer .R_pop-layer .R_title p {font-size:29px; font-weight:900;}
.R_pop-roulette-layer .R_pop-layer .R_pop-benefit { font-size: 38px; font-weight: 600; letter-spacing: -1px; color: #E4FF00; text-align: left; }
.R_pop-roulette-layer .R_pop-layer .R_txt {padding:28px 0 15px; font-size:15px; font-weight:700; color:#000; }
.R_pop-roulette-layer .R_pop-layer textarea {width:88%; padding:20px; border:1px solid #c0bbba; border-radius:6px; color:#000; font-size:13px; letter-spacing: -1px; resize: none;}
.R_pop-roulette-layer .R_pop-layer textarea::placeholder {color:#a1a1a1;}
.R_pop-roulette-layer .R_pop-layer .btn-write {display:block; margin-top:10px; padding:17px; background:#000; color:#fff; border-radius:6px; font-size:18px; font-weight:700; }

.R_pop-roulette-layer .R_pop-layer .event_box { position: relative; display: flex; align-items: center; width: 380px; height: 150px; }
.R_pop-roulette-layer .R_pop-layer .event_box.bg_color .dataL, .cpBox.bg_color .downR { background: #ff2951; }
.R_pop-roulette-layer .R_pop-layer .event_box .dataL { display: grid; align-items: center; justify-items: start; flex: 1; border-radius: 0 10px 10px 0; padding: 25px; height: 100%; background: var(--pri-black); }
.R_pop-roulette-layer .R_pop-layer .event_box .dataL .nameT { font-size: 16px; font-weight: 500; color: var(--pri-white); letter-spacing:-0.5px; }
.R_pop-roulette-layer .R_pop-layer .event_box .downR { display: grid; align-items: center; justify-content: center; position: relative; width: 60px; height: 100%; border-radius: 10px 0 0 10px; background: var(--pri-black); }
.R_pop-roulette-layer .R_pop-layer .event_box img { width: 9px; }
.R_pop-roulette-layer .R_pop-layer .event_box .downR::before { display:inline-block; content:''; position:absolute; top:50%; transform:translateY(-50%); width:1px; height:60%; background:#fff; opacity:0.1; }
.R_pop-roulette-layer .R_pop-layer .sub_txt { font-size: 20px; font-weight: 500; margin-top: 20px; text-align: center; }
.R_pop-roulette-layer .R_pop-layer .sub_txt span { font-size: 15px; font-weight: 400; display: block; padding-top: 5px; }


/* 신규 랜덤 다운로드 */
.random_event { position: relative; }
.random_event .random_event_start { position: absolute; top: 87%; left: 39%; width: 22%; height: 6%; }
.random_event .card_box { position: absolute; top: 28.8%; left: 27.5%; width: 45%; display: flex; flex-wrap: wrap; gap: 19px; justify-content: center; }
.card_box .card { width: 31.3%; aspect-ratio: 1 / 1.42; }
.card_box .card:nth-child(1) .card_inner { animation-delay: .5s; }
.card_box .card:nth-child(2) .card_inner { animation-delay: 2.5s; }
.card_box .card:nth-child(3) .card_inner { animation-delay: 2s; }
.card_box .card:nth-child(4) .card_inner { animation-delay: 1s; }
.card_box .card:nth-child(5) .card_inner { animation-delay: 1.5s; }
.card_box .card:nth-child(6) .card_inner { animation-delay: 3s; }
.card_box .card_inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transform: rotateY(180deg); animation: flip 6s ease-in-out infinite; }
.card_box .card_inner .card_face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; }
.card_box .card_inner .card_face img { width: 100%; }
.card_box .card_inner .card_faceF {  }
.card_box .card_inner .card_faceB { transform: rotateY(180deg); }
@keyframes flip {
    0%, 25% { transform: rotateY(180deg); }
    41.667% { transform: rotateY(0deg); }
    58.333% { transform: rotateY(0deg); }
    75% { transform: rotateY(180deg); }
    100% { transform: rotateY(180deg); }
}

.cont_img { position: relative; overflow: hidden; background: linear-gradient(180deg, #0f0f0d 0%, #17250a 100%); }
.cont_img .cont_txt { position: absolute; top:0; left: 0; z-index: 3; }
.cont_img iframe { border: 0; aspect-ratio: 1400 / 536; width: 100%; }
.cont_img .btn1 { position: absolute; top: 80%; left: 36%; width: 28%; height: 9%; z-index: 4; }


/* 안내사항 */
.card_guide { padding-bottom: 60px; color: #fafafa; background: #17250a; }
.card_guide .card_tit { position: relative; max-width: 100%; height: 80px; line-height: 80px; font-weight: 500; font-size: 16px; text-align: center; letter-spacing: -.5px; cursor: pointer; }
.card_guide .card_tit span { position: relative; padding-right: 22px; }
.card_guide .card_tit span:before { content: ""; display: block; width: 8px; height: 8px; position: absolute; top: 4px; right: 4px; transform: rotate(45deg); border-bottom: 1.5px solid #fafafa; border-right: 1.5px solid #fafafa; transition: 0.4s; }
.card_guide.on .card_tit span:before { transform: rotate(-135deg); top: 8px; }
.card_guide .card_cont ul { width: fit-content; margin: 15px auto 30px; }
.card_guide .card_cont li { font-size: 15px; line-height: 22px; margin-bottom: 5px; margin-left: 15px; list-style: disc !important; word-break: keep-all; text-align: left; }

/* BASIC css end */

