@charset "UTF-8";

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

*{
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    box-sizing: border-box;
}

.roulette--container--wrappers{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background:url(../img/rlt_bg.png) no-repeat center top;
    background-color: #a882df;    
    
    .title {
        color: white;
        text-align: center;
        margin-bottom: 20px;
        font-size: 14px;
    }
    
    .main-title {
        font-size: 32px;
        font-weight: bold;
        margin: 10px 0;
        text-shadow: 2px 2px 0 #000;
    }
    
    .main-title span:first-child {
        color: #FFD700;
    }
    
    .main-title span:last-child {
        color: white;
    }
    
    .roulette--wrapper{
        padding-top:760px;
        padding-bottom:150px;
    }
    
    .roulette-container-wrap{
        margin: 20px 0;
        width: 500px;
        height: 500px;
        background: url(../img/round.png) no-repeat center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top:80px;
    }
    .roulette-container {
        position: relative;
        width: 420px;
        height: 420px;
        border-radius: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .wheel {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        transform-origin: center;
        transition: transform 5s cubic-bezier(0.2, 0.8, 0.3, 0.9);
    }
    
    .center-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
        height: 150px;
        background-color: #673AB7;
        border: none;
        border-radius: 50%;
        color: white;
        font-weight: bold;
        cursor: pointer;
        z-index: 10;
        background: url(../img/btn.png) no-repeat center;
        background-size: contain;
    }
    
    .pointer {
        position: absolute;
        top: -48px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 68px;
        background: url(../img/pin.png) no-repeat center;
        z-index: 11;
    }
    
    .text-layer {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 5;
        pointer-events: none;
    }
    
    .section-text {
        position: absolute;
        transform-origin: center;
        color: #333;
        font-weight: bold;
        font-size: 20px;
        text-align: center;
        width: 60px;
        margin-left: -30px;
        margin-top: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .bottom-text {
        color: white;
        text-align: center;
        margin-top: 20px;
        font-size: 18px;
        font-weight: bold;
    }
    
    .sub-text {
        color: white;
        font-size: 12px;
        margin-top: 5px;
        text-align: center;
    }
    
    .buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .button {
        padding: 10px 20px;
        border-radius: 20px;
        border: none;
        font-weight: bold;
        cursor: pointer;
    }
    
    .button.primary {
        background-color: #FFD700;
        color: #333;
    }
    
    .button.secondary {
        background-color: #f0f0f0;
        color: #333;
    }
    
    .probability-display {
        color: white;
        font-size: 14px;
        margin-top: 15px;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 10px;
        border-radius: 10px;
        text-align: center;
    }
    
    .coins {
        position: absolute;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
    
    .coin {
        position: absolute;
        width: 30px;
        height: 30px;
        background: #FFD700;
        border-radius: 50%;
        border: 2px solid #B8860B;
    }
    
    .form--contents{
        width:100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap:20px;
        margin-bottom:120px;
    }
    .form--contents input{
        width:250px;
        padding-left:10px;
        height:45px;
    }
    
    .agree--wrapper{
        border-radius: 5px;
        padding:10px;
        background: #fff;
        max-width:450px;
        max-height:250px;
        overflow: auto;
        color:#000;
        line-height: 1.7;
        margin-top:150px;
        margin-bottom:150px;
    }
    .agree--wrapper > h2{
        padding:0px;
        line-height: 100%;
        margin-bottom:10px;
    }
    .agree--wrapper > h3{
        padding:0px;
        line-height: 100%;
        margin-bottom:10px;
    }
    
    
    .modal--wrappers{
        position: fixed;
        top:0px;
        left:0px;
        z-index: 10;
        width:100%;
        height:100%;
        background: rgba(0,0,0,.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    
    .layer-popup {
        display: none;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(25, 25, 25, .85);
        z-index: 200;
    
    }
    
    
    
    .layer-popup .layer-popup-item {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        background-color: #fff;
        border-radius: 10px;
        overflow: hidden;
        transform: translateY(-50px);
        transition: all .3s ease-out;
        max-height: 90vh;
        opacity: 0;
        width:100%;
        max-width:700px;
        box-sizing: border-box;
    }
    
    
    
    .layer-popup.bottom-sheet-wrap .layer-popup-item .popup-header {
        width: 100%;
        padding: 30px 60px 30px 30px;
    }
    
    .layer-popup.bottom-sheet-wrap .layer-popup-item .txt-main {
        text-align: left;
        margin-bottom: 0;
        line-height: 1.33;
    }
    .layer-popup .layer-popup-item .txt-main {
        display: block;
        margin-bottom: 16px;
        color: #191919;
        font-size: 24px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -.4px;
        text-align: center;
    }
    
    .layer-popup.bottom-sheet-wrap .layer-popup-item .popup-body {
        width: 100%;
        padding: 0 30px;
        max-height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
        text-align: left;
        margin-top: 10px;
    }
    .layer-popup .layer-popup-item .popup-body {
        width: 100%;
        padding: 0 40px;
        text-align: center;
    }
    
    .page-desc h2 {
        color: #191919;
        font-size: 20px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -.4px;
    }
    
    .layer-popup .layer-popup-item .btn-close-x {
        display: block;
        position: absolute;
        right: 25px;
        top: 30px;
        width: 30px;
        height: 30px;
        font-size: 0;
        z-index: 1;
        background: transparent;
        background-size: 20px 20px;
        border:0px;
        cursor: pointer;
    }
    .layer-popup .layer-popup-item .btn-close-x  svg{
        width:20px;
        height: 20px;
    }
    .layer-popup .evt-reservation .page-desc+.box-btn {
        text-align: center;
        margin-bottom: 50px;
    }
    .layer-popup.bottom-sheet-wrap .layer-popup-item .box-btn {
        font-size: 0;
        margin-top:40px;
    }
    
    .btns, .btns.btns-radio, .btns.corner-half, .btns.line, .btns.sticky, .btns.sticky.white, .btns.w-md, .btns.w-sm, .btns:disabled {
        color: #191919;
        font-size: 16px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -.3px;
        color: #fff;
        width: 260px;
        height: 58px;
        background: #662d91;
        padding: 20px 0;
        border-radius: 7px;
        text-align: center;
        cursor: pointer;
    }
    
    .md-ripples {
        position: relative;
        overflow: hidden;
        -webkit-tap-highlight-color: transparent;
    }
    
    .box-input .input-wrap {
        position: relative;
        padding-top:20px;
    }
    
    .box-input input[type=number]:disabled, .box-input input[type=text]:disabled {
        background-color: #f6f6f6;
    }
    .box-input .input-default.is-delete {
        padding-right: 50px;
    }
    .box-input .input-default, .box-select .select-default, .btn-select button {
        width: 100%;
        height: 58px;
        padding: 16px 20px;
        border: 1px solid #ddd;
        border-radius: 7px;
        transition: border-color .3s ease;
        color: #666;
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -.3px;
    }
    
    
    .mt45{
        margin-top:45px!important;
    }
    
    .layer-popup .layer-popup-item .agree-box {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 40px;

        p{
            line-height: 1.6;
        }
    }
    
    .layer-popup .layer-popup-item .btns.w-sm {
        height: 58px !important;
    }
    .btns.lightgray {
        background: #eff1f5;
        border: none;
        color: #666;
    }
    .btns.w-sm {
        width: auto;
        min-width: 140px;
        height: 58px;
        padding: 0 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .btn-group {
        flex: 1;
        width: 100%;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }
    
    
    .layer-popup .layer-popup-item .popup-footer {
        width: 100%;
        padding: 30px 40px 50px;
    }
    .layer-popup.bottom-sheet-wrap .layer-popup-item .popup-footer {
        width: 100%;
        padding: 30px 30px 50px;
    }
    
    .layer-popup.show{
        display: flex;
    }
    .layer-popup.show .layer-popup-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: .2s;
    }
    
    
    .rq-form .agree-wrap, .rq-form .box-attach, .rq-form .box-flex, .rq-form .box-input, .rq-form .box-input-wrap, .rq-form .box-my-use, .rq-form .box-select, .rq-form .box-select-group, .rq-form .box-select-wrap, .rq-form .cardList-wrap, .rq-form .group-wrap, .rq-form .input-group, .rq-form .radio-group-wrap, .rq-form .select-group, .rq-form .textarea-wrap {
        margin: 40px 0 0;
    }
        
    .agree-wrap {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .rq-form .agree-wrap .btn-check {
        margin: 20px 0 0 !important;
    }
    
    .btn-text-line.btn-check {
        padding: 13px 20px;
        border: 1px solid #ddd;
        border-radius: 7px;
    }
    .agree-wrap .btn-check {
        margin-top: 20px;
    }
    .btn-check {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }
    .btn-text-line {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .agree-wrap .agree-group {
        margin-top: 40px;
        padding: 0 30px;        
    }
    .rq-form .agree-wrap .agree-group {
        width: 100%;
        margin: 0;
        padding: 0 20px 0 0;        
    }
    
    
    .agree-wrap .agree-group .btn-check {
        margin-bottom: 30px;
    }
    
    .rq-form .agree-wrap .btn-check {
        margin: 20px 0 0 !important;
    }
    .agree-wrap .btn-check:not(.btn-text-line) {
        padding-left: 20px;
    }
    .agree-wrap .btn-check {
        margin-top: 20px;
    }
    .btn-check {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }
    .btn-check input[type=checkbox] {
        display: none !important;
        overflow: hidden;
        padding: 0 !important;
        margin: 0 !important;
        width: 1px;
        height: 1px;
        line-height: 1px;
        font-size: 1px;
        border: 0;
        clip: rect(0 0 0 0);
    }
    
    .layer-popup-item.evt-reservation .agree-group .btn-check label {
        font-weight: 400 !important;
    }
    .btn-check label {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        color: #666;
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -.3px;
        color: #191919;
    }
    
    .btn-check label .ico-check {
        width: 24px;
        height: 24px;
        display: inline-block;
        padding-left: 30px;
        position: relative;
        transition: all .3s ease-out;
    }
    
    .btn-check label .ico-check::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: inline-block;
        width: 24px;
        height: 24px;
        background-color: #ddd;
        border-radius: 50%;
    }
    
    .btn-check label .ico-check::after {
        content: "";
        position: absolute;
        top: 4px;
        left: 4px;
        display: inline-block;
        width: 15px;
        height: 15px;
        background: url(../img/ico-check-on.svg) no-repeat center;
        background-size: contain;
    }
    
    .btn-check input[type=checkbox]:checked+label .ico-check::before {
        background-color: #662d91;
        transition: all .3s ease-out;
    }
    
    .ico-arrow-right {
        font-size: 0;
        border: none;
        display: inline-block;
        background: url(../img/ico-arrow-right.svg) no-repeat right;
        background-size: contain;
        width: 20px;
        height: 20px;
    }
}