body {
  background: url('../images/bg/pc.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Verdana', sans-serif;
  margin: 0;
  padding: 0;
}
/* Tablet: 768px to 1024px */
@media screen and (max-width: 1024px) {
  body {
    background: url('../images/bg/pc.png') no-repeat center center fixed;
    background-size: cover;
  }
}
/* Mobile: up to 767px */
@media screen and (max-width: 767px) {
  body {
    background: url('../images/bg/mobile.png') no-repeat center center fixed;
    background-size: cover;
  }
}
@media screen and (max-width: 767px) {
  #wrapper {
    width: 95%;
    transform: translate(-50%, -45%);
  }

  #wheel {
    width: 500px;
    height: 500px;
  }

  .sec {
    border-width: 280px 100px 0;
    transform-origin: 100px 280px;
    left: 150px;
  }

  .sec span {
    font-size: 16px;
    margin-top: -210px;
    margin-left: -65px;
    width: 130px;
  }

  #spin {
    width: 78px;
    height: 78px;
    margin: -39px 0 0 -39px;
  }

  #spin:after {
    line-height: 78px;
    font-size: 18px;
  }

  #inner-spin {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }

  #spin:before {
    border-width: 0 22px 30px 22px;
    top: -14px;
    left: 17px;
  }
}



#wrapper {
    /*margin: 40px auto 0;*/
    /*width: 470px;*/
    /*position: relative;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#wheel {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    /*border: 8px solid #00e966;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    border: 8px solid #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#inner-wheel {
    width: 100%;
    height: 100%;
    transition: all 6s cubic-bezier(0,.99,.44,.99);
}

.sec {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 320px 108px 0;
    transform-origin: 108px 320px;
    left: 192px;
    top: -3px;
}

.sec span {
    margin-top: -210px;
    color: #fff;
    position: relative;
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-left: -70px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    width: 140px;
    line-height: 16px;
    transform: rotate(270deg);
}

/*.sec:nth-child(odd) {*/
/*  border-color: #9353ed transparent;*/
/*}*/

/*.sec:nth-child(even) {*/
/*  border-color: #fff transparent;*/
/*}*/

/*.sec:nth-child(even) span {*/
/*  color: #9353ed;*/
/*}*/
    
.sec:nth-child(1)  { border-color: #ff4da6 transparent; }
.sec:nth-child(2)  { border-color: #cc33ff transparent; }
.sec:nth-child(3)  { border-color: #3366ff transparent; }
.sec:nth-child(4)  { border-color: #33ccff transparent; }
.sec:nth-child(5)  { border-color: #33cc99 transparent; }
.sec:nth-child(6)  { border-color: #99cc33 transparent; }
.sec:nth-child(7)  { border-color: #ffcc33 transparent; }
.sec:nth-child(8)  { border-color: #ff9933 transparent; }
.sec:nth-child(9)  { border-color: #ff6633 transparent; }
.sec:nth-child(10) { border-color: #ff3333 transparent; }
    
.sec span {
    color: #fff;
}


/* Center spin button */
#spin {
    width: 88px;
    height: 88px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -44px 0 0 -44px;
    border-radius: 50%;
    /*background: #00e966;*/
    background: #ffdb4d;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.3);*/
    box-shadow: 0 2px 5px rgba(255, 255, 0, 0.5);
}

#spin:after {
    content: "SPIN";
    text-align: center;
    line-height: 88px;
    color: #000;
    /*text-shadow: 0 2px 0 #fff, 0 -2px 0 rgba(0, 0, 0, 0.3);*/
    position: relative;
    z-index: 100000;
    width: 86px;
    height: 68px;
    display: block;
    font-size: 18px;
}

/* Inner button center circle */
#inner-spin {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #eee 100%);
    z-index: 999;
}

/* Arrow on top of spin button */
#spin:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 24px 34px 24px;
    border-color: transparent transparent #00e966 transparent;
    top: -16px;
    left: 18px;
}

/* Modal */
#prizeModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
    
#modalContent {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: 'Verdana', sans-serif;
}
    
#modalContent h2 {
    margin-bottom: 15px;
    color: #28a745;
}
    
#modalContent p {
    font-size: 18px;
    margin-bottom: 20px;
}
    
#claimBtn {
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
    
#claimBtn:hover {
    background: #218838;
}
    
#gameTitle {
    text-align: center;
    /*font-size: 28px;*/
    /*color: #34495e;*/
    margin-bottom: 30px;
    font-family: 'Verdana', sans-serif;
}
    
#footerNotice {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    text-align: left;
    font-size: 14px;
    font-family: 'Verdana', sans-serif;
    margin-top: 40px;
}

#footerNotice h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffd700;
}

#footerNotice ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

#footerNotice li {
    margin-bottom: 5px;
}