/* =========================================
   THEME & BASE
   - Global tokens and base styles
========================================= */
:root {
  --surface: rgba(255,255,255,.08);
  --surface-2: rgba(255,255,255,.12);
  --border: rgba(255,255,255,.18);
  --text: #ffffff;
  --muted: #d7d7e0;
  --acc: #7c8aff;
  --success-1: #16a34a;
  --success-2: #22c55e;
  --primary-1: #4f46e5;
  --primary-2: #7c3aed;

}

body {
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  color: #fff;
  text-align: center;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
  margin: clamp(8px, 2vw, 24px);
  padding: clamp(8px, 2vw, 20px);
  border-radius: 50px;
  background-color: #2c2c54 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #f8f9fa !important;
}

.nav-item {
  color: #f8f9fa;
  margin-right: 1rem;
  font-weight: 500;
}

#profileImage {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-image: url("https://i.pinimg.com/236x/32/39/be/3239be2ae1d31d198cee93a8658f0c53.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}

.input-group{
  justify-content: end;
  align-items: center;
}

/* =========================================
   BET CONTAINER (GAMEPLAY)
========================================= */
.gameplay {
  width: min(560px, 92vw);
  margin: 0 auto;
  padding: 22px;
  border-radius: 28px;
  color: var(--text);
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,.03));
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
}

.currentBalance {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  font-weight: 700;
}

/* Money row / alignment */
.moneyRow,
.moneyrow { /* keep both classnames just in case */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}
.showMoney { font-weight: 600; color: #e9ecef; }

/* Primary bet input */
.inputValue {
  max-width: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  margin: 0 auto;
  text-align: center;
  transition: box-shadow .2s ease, transform .1s ease;
}
.inputValue:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124,138,255,.25);
  transform: translateY(-1px);
}

/* Deposit input + button */
#inputDeposit {
  width: 100%;
  max-height: 20px;
  margin-left: 10px;
  text-align: center;
}
#depositBtn {
  width: 100px;
  border-radius: 100px;
  background-color: green;
  margin-left: 5px;
}

/* Odds + selected number */
.odds {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .95rem;
}
.showNumber {
  margin-top: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

/* Dropdown (e.g., pick-a-number) */
.dropdown-menu {
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.dropdown-item { color: #fff; font-size: 20px; }
.dropdown-item:hover { background: rgba(255,255,255,.08); }

/* Buttons – base and container-specific width */
.btn { 
  width: auto; 
  display: inline-block; 
  margin: 0; 
}
.gameplay .btn,
.othergames .card .btn { width: 100%; }

/* Button variants */
.btn-success {
  background: linear-gradient(90deg, var(--success-1), var(--success-2)) !important;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 8px 18px rgba(34,197,94,.35);
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-success:hover { filter: brightness(1.05); }
.btn-success:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2)) !important;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 8px 18px rgba(99,102,241,.35);
}

/* =========================================
   CARDS
========================================= */
.card {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* “Other games” glassy cards */
.othergames .card {
  position: relative;
  width: 100%;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: radial-gradient(1200px 300px at -10% -10%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(1200px 300px at 110% 110%, rgba(79,70,229,.35), transparent 60%);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, filter .2s ease;
}
.othergames .card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  filter: brightness(1.03);
}
/* subtle light ring on hover */
.othergames .card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 50%, rgba(124,138,255,.35), transparent 30%, rgba(124,58,237,.35), transparent 70%);
  opacity: .0;
  transition: opacity .25s ease;
}
.othergames .card:hover::after { opacity: .4; }

.othergames .card .card-body { padding: 18px; }
.othergames .card .card-title { font-weight: 800; letter-spacing: .3px; }
.othergames .card .card-text { color: var(--muted); font-size: .95rem; }

/* Card with decorative gradient background */


/* Common image sizing inside cards */
.card-img-top {
  width: 50px;
  height: 50px;
}



/* =========================================
   3D CUBE (SCENE)
========================================= */
.scene {
  height: 100%;
  display: grid;
  place-items: center;
  margin-top: 100px;
  margin-bottom: 100px;
  perspective: 900px;
}

.spinWrap{
   transform-style: preserve-3d;
   display: inline-grid;
  place-items: center;
  animation: spin 20s linear infinite;
}

.box {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 3s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

@keyframes spin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

.side {
  position: absolute;
  inset: 0;
  background-color: #000661;
  opacity: 0.9;
  box-shadow: 0 0 40px #000 inset;
  display: grid;
  place-items: center;
  font-size: 50px;
  color: red;
}

.side.front  { transform: translateZ(100px); }
.side.back   { transform: rotateY(180deg) translateZ(100px); }
.side.right  { transform: rotateY(90deg)  translateZ(100px); }
.side.left   { transform: rotateY(270deg) translateZ(100px); }
.side.top    { transform: rotateX(90deg)  translateZ(100px); }
.side.bottom { transform: rotateX(270deg) translateZ(100px); }

/* =========================================
   MISC (Utilities)
========================================= */
/* Keep only safe centering on Bootstrap columns */
.col { text-align: center; }

/* =========================================
   FOOTER
========================================= */
footer {
  background-color: #2c2c54;
  text-align: center;
  color: #ccc;
  padding: 15px 0;
}



/* =========================================
   RPS
========================================= */
#rpsViews{
  display: flex;
  flex-direction: row;
  height: fit-content;
  justify-content: center;
  width: 100%;
}



.computerFigures{
width: fit-content;
font-size: 100px;
perspective: 900px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  animation: flip180 5s  infinite alternate;
}
@keyframes flip180 {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(30deg); }
}



.userFigures{
font-size: 100px;
width: fit-content;

}

.computerlabel{
  display: flex;
  flex-direction: column;
 margin-top: 10px;
}

.labelComputer{
  font-size: 40;
  color: white;
}

/* =========================================
   rollete
========================================= */


#colorBlack{
  color: black;
}
#colorRed{
  color: red;
}

#colorGreen{
  color: green;
}


.ImageProfile{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}




