body {
  background: #111;
  color: white;
  font-family: sans-serif;
  text-align: center;
}

.container {
  margin-top: 0px;
}

select {
  padding: 10px;
  font-size: 18px;
  margin: 10px;
}

button {
  background: #FFD700;
  border: none;
  padding: 14px 24px;
  margin: 10px;
  border-radius: 12px;
  font-size: 18px;
}

#status {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.8;
}

#animation {
  margin-top: 20px;
}

#animation video {
  width: 90%;
  border-radius: 20px;
}

#result {
  margin-top: 30px;
}

.card {
  width: 80%;
  margin: 0px;
  padding: 15px;
  border-radius: 8px;
  font-size: 12px;
}

.card img {
  width: 100%;
  border-radius: 12px;
}

/* BigTime */
.bigtime {
  background: #cc5500;
  border: 4px solid #ff8800;
  color: white;
}

/* Epic */
.epic {
  background: #008f5a;
  border: 4px solid #00ff99;
  color: white;
}

/* ShowTime */
.showtime {
  background: #00aaff;
  border: 4px solid #66ddff;
  color: white;
}

/* Highlight */
.highlight {
  background: #556b2f;
  border: 4px solid #2d2d2d;
  color: white;
}

/* Standard */
.standard {
  background: #ffffff;
  border: 4px solid #cccccc;
  color: black;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modalBox {
  background: white;
  color: black;
  width: 80%;
  max-width: 500px;
  border-radius: 25px;
  padding: 30px;
}

.modalBox h2 {
  font-size: 36px;
}

.modalBox p {
  margin-top: 20px;
  line-height: 1.8;
  font-size: 22px;
}

.coinButton {
  width: 100%;
  background: #dbe8ff;
  font-size: 32px;
  margin-top: 30px;
  padding: 25px;
  border-radius: 18px;
}

.cancelButton {
  width: 100%;
  background: #dbe8ff;
  font-size: 28px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
}

#gachaBanner {
  width: 95%;
  margin: auto;
  padding: 20px;
  background: #111;
  border-radius: 20px;
}

#bannerTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#bannerType {
  font-size: 22px;
}

#bannerTitle {
  font-size: 12px;
  font-weight: bold;
  margin-top: 10px;
}

#boxCounter {
  font-size: 9px;
  font-weight: bold;
}

#pickupArea {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.pickupCard {
  width: 120px;
}

.skillTop,
.skillBottom {
  background: #a57c1b;
  color: white;
  font-size: 11px;
  padding: 4px;
  text-align: center;
}

.pickupCard img {
  width: 100%;
  border-radius: 10px;
}

#bannerNotice {
  margin-top: 10px;
  font-size: 12px;
  color: #ddd;
}

#bottomBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.gacha1Btn {
  width: 150px;
  height: 70px;
  border-radius: 40px;
  font-size: 9px;
}

.coinBtn {
  width: 150px;
  height: 70px;
  border-radius: 40px;
  font-size: 9px;
}

#gachaType {
  display: none;
}

.menuPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.menuPanel {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.menuPanel h2 {
  color: black;
  padding: 25px;
  margin: 0;
  border-bottom: 1px solid #ddd;
}

.actionBtn,
.resetBtn {
  width: 100%;
  background: white;
  color: black;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 25px;
  font-size: 24px;
}

.resetBtn {
  color: red;
}

.cancelBtn {
  width: 90%;
  margin: 25px auto;
  display: block;
  background: #d9e7f8;
  color: #0066ff;
  border: none;
  padding: 20px;
  font-size: 24px;
  border-radius: 15px;
}

#gachaType {
  display: none;
}

.actionBtn {
  padding: 10px;
  font-size: 14px;
}

#boxCounter {
  font-size: 14px;
}

#result {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

#coinArea {
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
}

#coinPlus {
  border: none;
  background: none;
  color: #00aaff;
  font-size: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.shopPanel {
  width: 95%;
  max-width: 500px;
  background: white;
  border-radius: 20px;
  padding: 15px;
}

.shopGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shopBtn {
  border: none;
  border-radius: 16px;
  background: #ffd700;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.coinAmount {
  font-size: 20px;
  font-weight: bold;
  color: #0047ff;
}

.coinPrice {
  margin-top: 2px;
  font-size: 12px;
  color: #555;
}

.large {
  grid-column: 1/2;
}

.closeBtn {
  font-size: 20px;
  color: #0047ff;
}
