
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(140, 0, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #09000f 0%, #12001d 52%, #050008 100%);
  color: #fff;
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(8, 0, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.logo {
  width: min(190px, 48vw);
  height: auto;
  display: block;
}

.balance {
  padding: 10px 14px;
  border: 1px solid #ffd54a;
  border-radius: 999px;
  background: linear-gradient(180deg, #3c2200, #170d00);
  color: #ffd54a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.16);
}

.balance strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

main {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 54px 12px 28px;
}

.eyebrow {
  margin: 0 0 9px;
  color: #ffc928;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 10vw, 78px);
  line-height: 0.95;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #fff0a8 0%, #ffca28 38%, #ff8c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 26px rgba(255, 172, 28, 0.12);
}

.hero p:last-child {
  width: min(620px, 100%);
  margin: 18px auto 0;
  color: #d9cde1;
  line-height: 1.6;
}

.machine {
  position: relative;
  margin: 12px auto 34px;
  padding: 20px;
  border: 3px solid #f5b900;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(117, 0, 190, 0.65), rgba(22, 0, 37, 0.95)),
    #14001f;
  box-shadow:
    0 0 0 5px #5a3400,
    0 0 34px rgba(255, 183, 0, 0.25),
    inset 0 0 28px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.machine::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.08), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,195,0,.12), transparent 18%);
}

.machine-top {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffd64f;
  font-size: clamp(22px, 7vw, 36px);
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 0 0 14px rgba(255, 196, 0, 0.5);
}

.reels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.reel {
  min-height: 120px;
  display: grid;
  place-items: center;
  border: 3px solid #3c1b58;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5eefd 55%, #d9c8e7 100%);
  color: #111;
  font-size: clamp(52px, 15vw, 88px);
  box-shadow:
    inset 0 7px 12px rgba(255,255,255,.9),
    inset 0 -8px 15px rgba(92, 53, 113, 0.22),
    0 4px 12px rgba(0,0,0,.35);
}

.status {
  position: relative;
  z-index: 1;
  min-height: 50px;
  display: grid;
  place-items: center;
  margin: 16px 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255,255,255,.09);
  color: #fff4bf;
  text-align: center;
  font-weight: 800;
}

.controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 12px;
  align-items: end;
}

.controls label {
  display: grid;
  gap: 6px;
  color: #d9cde1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

select {
  width: 100%;
  appearance: none;
  border: 2px solid #7b4a00;
  border-radius: 14px;
  padding: 14px;
  background: #1a0c24;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

#spin {
  border: 0;
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(180deg, #ffef73 0%, #ffca19 42%, #ec8c00 100%);
  color: #240d00;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow:
    0 5px 0 #8b4b00,
    0 0 20px rgba(255, 186, 0, 0.28);
  transition: transform .08s ease, filter .15s ease;
}

#spin:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #8b4b00,
    0 0 12px rgba(255, 186, 0, 0.2);
}

#spin:disabled {
  cursor: not-allowed;
  filter: grayscale(.5) brightness(.75);
  opacity: .72;
}

.paytable {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.paytable span {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #e8dced;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}

.games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 42px;
}

.games article {
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(118,0,188,.65), rgba(27,0,40,.92));
  border: 1px solid rgba(255, 205, 52, 0.3);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.games article b {
  color: #fff;
  font-size: 20px;
}

.games article small {
  color: #ffd44f;
  font-weight: 900;
  letter-spacing: 1px;
}

.games .locked {
  filter: saturate(.65);
  opacity: .72;
}

footer {
  padding: 28px 18px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #07000b;
  color: #9c8da5;
}

footer strong {
  color: #ffd54a;
}

footer p {
  width: min(700px, 100%);
  margin: 10px auto 0;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  header {
    padding: 10px 12px;
  }

  .balance {
    padding: 8px 10px;
    font-size: 10px;
  }

  .balance strong {
    font-size: 15px;
  }

  .hero {
    padding-top: 36px;
  }

  .machine {
    padding: 14px;
    border-radius: 22px;
  }

  .reel {
    min-height: 96px;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .paytable {
    grid-template-columns: 1fr;
  }

  .games {
    grid-template-columns: 1fr;
  }
}


/* Rizzle Reels animations */

.reel.spinning {
  animation: rizzleSpin 0.18s linear infinite;
  filter: blur(2px);
}

@keyframes rizzleSpin {
  0% {
    transform: translateY(-5px) scale(0.98);
  }
  50% {
    transform: translateY(5px) scale(1.02);
  }
  100% {
    transform: translateY(-5px) scale(0.98);
  }
}

.machine.win {
  animation: rizzleWin 0.5s ease-in-out 3;
}

@keyframes rizzleWin {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 55px rgba(255, 215, 0, 0.95);
    transform: scale(1.01);
  }
}

.machine.jackpot {
  animation: jackpot 0.35s ease-in-out 6;
}

@keyframes jackpot {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.6);
    transform: scale(1.02);
    
    
  }
}
/* Sound button */

.mute-btn {
  border: 1px solid #ffd54a;
  border-radius: 999px;
  padding: 10px 14px;
  background: #160820;
  color: #ffd54a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.mute-btn:active {
  transform: scale(0.96);
}

@media (max-width: 620px) {
  .mute-btn {
    padding: 8px 10px;
    font-size: 9px;
  }
}
r


/* Daily bonus */

.daily-bonus {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  text-align: center;
}

#dailyBonus {
  width: 100%;
  border: 1px solid #ffd54a;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #4d2100, #241000);
  color: #ffd54a;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

#dailyBonus:active {
  transform: scale(0.98);
}

#dailyBonus:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#dailyBonusStatus {
  color: #cdbed6;
  font-size: e

/* Rizzle Blackjack */

.blackjack {
  margin: 20px auto 42px;
  padding: 20px;
  border: 3px solid #f5b900;
  border-radius: 28px;
  background: linear-gradient(145deg, #31004c, #100019);
  box-shadow:
    0 0 0 5px #5a3400,
    0 0 30px rgba(255, 183, 0, 0.2);
}

.blackjack-top {
  text-align: center;
  color: #ffd64f;
  font-size: clamp(22px, 7vw, 34px);
  font-weight: 900;
  margin-bottom: 20px;
}

.bj-area {
  padding: 16px;
  margin: 12px 0;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.bj-area h3 {
  margin: 0 0 10px;
  color: #ffd54a;
  letter-spacing: 2px;
}

.bj-hand {
  min-height: 65px;
  display: grid;
  place-items: center;
  font-size: clamp(30px, 9vw, 52px);
  letter-spacing: 4px;
}

.bj-score {
  margin-top: 8px;
  color: #d9cde1;
  font-weight: 700;
}

.bj-status {
  padding: 13px;
  margin: 14px 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  color: #fff4bf;
  text-align: center;
  font-weight: 800;
}

.bj-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
}

.bj-controls label {
  display: grid;
  gap: 6px;
  color: #d9cde1;
  font-size: 12px;
  font-weight: 800;
}

.bj-controls button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #ffef73, #ffb000);
  color: #240d00;
  font-weight: 900;
  font-size: 15px;
}

.bj-controls button:disabled {
  opacity: 0.4;
}

.bj-note {
  margin: 16px 0 0;
  color: #a995b4;
  text-align: center;
  font-size: 11px;
}

#blackjackCard {
  cursor: pointer;
  border-color: #ffd54a;
}

@media (max-width: 620px) {
  .blackjack {
    padding: 14px;
    border-radius: 22px;
  }

  .bj-controls {
    grid-template-columns: 1fr 1fr;
  }
}
