@font-face {
      font-family: 'Pretendard-Regular';
      src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    }
    * {
        -webkit-tap-highlight-color: transparent;
            font-weight: 900;
            -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      font-family: 'Pretendard-Regular', sans-serif;
    }



.container {
    margin-top: 50px;
    text-align: center;
}
.container p {
    color: #ffffff;
}
.colorBox {
    width: 100px;
    height: 100px;
    display: inline-block;
    cursor: pointer;
    margin: 20px;
    border: 5px solid transparent; /* 초기에는 보더 없음 */
}
.colorBox.selected {
    border: 5px solid rgb(0, 255, 8); /* 선택된 색상에 대해 보더 추가 */
}
#red {
    background-size: cover;
    background-image: url('https://i.postimg.cc/J0GvWz1C/banker.png');
    height: 95px;
    width: 95px;
    border-radius: 50%;
    background-color: red;
}
#blue {
    background-size: cover;
    background-image: url('https://i.postimg.cc/2yNw6jYZ/player.png');
    height: 95px;
    width: 95px;
    border-radius: 50%;
    background-color: blue;
}
#userInfoWrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

#userInfo {
    color: rgb(255, 255, 255);
    background-color: rgb(39, 38, 41);
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.closeButton {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #ff0000;
}

.profilePic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ff6600;
    margin-bottom: 10px;
}

.userName, .userEmail {
    background: linear-gradient(to left, #ff3c00, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 5px 0;
}

.userName {
    font-size: 24px;
    font-weight: bold;
}

.userEmail {
    font-size: 16px;
}

.balanceSection h1 {
    background: linear-gradient(to left, #ffee00, #ff4800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    margin-bottom: 10px;
}

#currentPoints {
    font-size: 30px;
    background: linear-gradient(to left, #ff3c00, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 600px) {
    #userInfo {
        width: 400px;
    }
}

.container h1 {
    background: linear-gradient(to left, #ffee00, #ff4800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#adminForm {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#adminForm input {
    margin-bottom: 10px;
}

#cookieRemoveBtn {
    display: none;
    margin-top: 10px;
    cursor: pointer;
    color: red;
}

#admin {
    margin-top: 3px;
    font-size: 15px;
    height: 40px;
    width: 90px;
    background-color: rgb(255, 0, 0);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
}

.notice {
    color: rgb(0, 0, 0);
    border-radius: 5px;
    padding: 10px 10px;
    top: 0;
    background-color: rgb(184, 152, 238);
}
.notice a {
    color: white;
}

body {
    background-color: rgba(0, 1, 1, 5); /* 불투명도 조절을 위한 RGBA 색상 사용 */
    background-blend-mode: overlay; /* 배경색과 배경 이미지를 혼합하기 위한 블렌딩 모드 */
    background-size: cover; /* 화면에 꽉 차게 배경 이미지 크기 조절 */
 /*   background-image: url('logo.png'); */
    overflow-x: hidden;
    color: rgb(255, 255, 255);
    background-color: rgb(32, 32, 34);
   
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ and Edge */
    user-select: none; /* Standard syntax */
}

#gamestart {
    cursor: pointer;
    border: none;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 30px;
}

#user {
    height: 40px;
    width: 90px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 163, 0);
}
#history {
    height: 40px;
    width: 90px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    background-color: rgb(212, 174, 3);
}
input {
    font-size: 20px;
    border: 2px solid black;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

#result {
    margin-top: 30px;
    text-decoration: overline;
    color: rgb(0, 0, 0);
}

.bet {
    height: 80px;
    width: 80px;
    font-size: 20px;
    border-radius: 100px;
    border: none;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
}

#cupon {
    font-size: 15px;
    height: 40px;
    width: 90px;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: white;
    background-color: rgb(225, 0, 255);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
   
}

.slides {
   
    display: flex;
    flex-direction: row; /* 슬라이드를 가로로 나열하도록 설정 */
    transition: transform 0.5s ease-in-out;
    height: 100%; /* 슬라이드 높이를 컨테이너에 맞춤 */
}

.slide {
    
    flex: 0 0 100%; /* 슬라이드의 너비를 컨테이너 너비에 맞춤 */
    max-width: 100%;
    height: 100px;
}

.slide img {
    border-radius: 20px;
    width: 100%; /* 이미지를 슬라이드 너비에 맞춤 */
    height: 100%; /* 이미지를 슬라이드 높이에 맞춤 */
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

header  {
 margin-left: 20px;
}

#cucode {
    color: black;
}

#draw {
    background-size: cover;
    background-image: url('https://i.postimg.cc/7Yv1MZpG/moo.png');
    height: 95px;
    width: 95px;
    border-radius: 50%;
    background-color: green;
}



 /*--------------------팝업창 */

  
  .popup {
    color: black;
    display: none; /* Hidden by default */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s;
  }
  
  .popup-content {
    width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative; /* Ensure positioning context for the close button */
    animation: slideIn 0.5s;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideIn {
    from { transform: translateY(-50px); }
    to { transform: translateY(0); }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  @keyframes slideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
  }
  
  .fadeOut {
    animation: fadeOut 1s forwards;
  }
  
  .slideOut {
    animation: slideOut 0.5s forwards;
  }
  
  #betAmount {
    border: 2px solid rgb(53, 53, 58);
    width: 200px;
    height: 30px;
    color: #ffffff;
    background-color: #2e2e31;
  }

  .set1 {
    padding: 5px 10px;
    border: 2px solid rgb(54, 53, 53);
    color: white;
    background-color: #2e2e31;
  }

  #set2 {
    color: rgb(255, 107, 107);
  }



  /* 하단 메뉴 바 */

  
    :root {
        --primary-color: #e97619; /* 메인 색상 */
        --hover-color: #ff4800;
        --bg-color: #1a1a1b;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --text-color: #e2e2e2;
    }

    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-color);
        height: 70px;
        padding: 0 8px;
        box-shadow: var(--shadow);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .mobile-nav a {
        border-radius: 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 12px;
        transition: background-color 0.3s, transform 0.2s;
        padding: 8px;
        touch-action: manipulation; /* 모바일 터치 최적화 */
    }

    .mobile-nav a#home {
        flex: 0;
        background: var(--primary-color);
        color: white;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        margin: -12px 0; /* 중앙 배치 및 시각적 강조 */
        box-shadow: var(--shadow);
        transform: scale(1.1);
    }

    .mobile-nav a:hover,
    .mobile-nav a:active {
        
        background: #ee7c31;
        transform: translateY(-2px);
    }

    .mobile-nav a#home:hover,
    .mobile-nav a#home:active {
        background: var(--hover-color);
        transform: scale(1.15);
    }

    .mobile-nav i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .mobile-nav span {
        font-size: 10px;
        font-weight: 500;
    }

    /* 모바일 (화면 너비 < 600px) */
    @media (max-width: 600px) {
        .mobile-nav {
            height: 56px;
            padding: 0 4px;
        }
        .mobile-nav a {
            font-size: 10px;
            padding: 6px;
        }
        .mobile-nav i {
            font-size: 18px;
        }
        .mobile-nav span {
            font-size: 9px;
        }
        .mobile-nav a#home {
            width: 48px;
            height: 48px;
            margin: -10px 0;
        }
    }

    /* 태블릿 (600px ~ 1024px) */
    @media (min-width: 601px) and (max-width: 1024px) {
        .mobile-nav {
            height: 60px;
        }
        .mobile-nav a {
            font-size: 11px;
        }
        .mobile-nav i {
            font-size: 19px;
        }
        .mobile-nav span {
            font-size: 10px;
        }
    }

    /* 데스크톱 (1024px 이상) */
    @media (min-width: 1025px) {
        .mobile-nav {
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 12px 12px 0 0;
        }
    }





 