body {
  background-color: #000;
  background: rgb(1, 31, 1);
  background: radial-gradient(circle, #161a29 21%, #0f1429 100%);
  font-family: "Saira Condensed", sans-serif;
  font-weight: bold;
}

html {
  background: #161a2a;
}

.display-4,
.lead {
  font-weight: bold !important;
}

.display-4 {
  font-size: 3.8em;
}

a {
  color: white;
}

footer {
  font-size: 0.7em;
}

.links {
  font-size: 1.3em !important;
}

.container {
  z-index: 2;
}

.lead {
  font-size: 1.25em;
}

#mainHolder {
  min-height: 100vh;
}

.roulette-wheel {
  max-width: 100%;
  width: 400px;
  aspect-ratio: 1 / 1;
  height: 100%;
  background-image: url('roulette-wheel.png');
  /* Replace with your roulette wheel image */
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
}

.roulette-pointer {
  width: 0;
  height: 0;
  border-radius: 15px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #d08504;
}

.spin {
  transform: rotate(0deg);
}

.spin-end {
  transform: rotate(1440deg);
  /* 4 full spins plus landing on 0 */
}

.hidden {
  display: none;
}

.chat-message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 16px;
  color: #fff;
}

.form-control,
.btn {
  border-radius: 16px;
}

.user-message {
  border: solid white 1px;
  text-align: right;
  margin-left: auto;
}

.holiganbet-message {
  border: solid white 1px;
  text-align: left;
  margin-right: auto;
}

.victory-message {
  text-align: center;
  color: white !important;
}

@keyframes spin {
  to {
    --bg-angle: 360deg;
  }
}

.img {
  width: 85%;
  max-width: 400px;
}

.holderLog,
.glass {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

/* Add subtle inner glow */
.holderLog::before,
.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(255, 215, 0, 0.3) 0%,
      transparent 50%,
      rgba(255, 215, 0, 0.1) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

::placeholder {
  color: white !important;
  opacity: 1;
  /* Ensures the color is fully opaque */
}

/* Vendor prefixes for better browser support */
::-webkit-input-placeholder {
  color: white !important;
}

:-ms-input-placeholder {
  color: white !important;
}

::-moz-placeholder {
  color: white !important;
  opacity: 1;
  /* Ensures the color is fully opaque for Firefox */
}

:-moz-placeholder {
  color: white !important;
  opacity: 1;
  /* Ensures the color is fully opaque for Firefox */
}

.lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 90vw;
}

.line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.line::after {
  content: '';
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  transition: box-shadow 0.5s;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  animation: drop 2s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1) {
  margin-left: -40%;
}

.line:nth-child(1)::after {
  animation-delay: 0.5s;
}

.line:nth-child(2) {
  margin-left: -20%;
}

.line:nth-child(2)::after {
  animation-delay: 0.7s;
}

.line:nth-child(3) {
  margin-left: 0%;
}

.line:nth-child(3)::after {
  animation-delay: 0.9s;
}

.line:nth-child(4) {
  margin-left: 20%;
}

.line:nth-child(4)::after {
  animation-delay: 1.1s;
}

.line:nth-child(5) {
  margin-left: 40%;
}

.line:nth-child(5)::after {
  animation-delay: 1.3s;
}

@keyframes drop {
  0% {
    top: -50%;
  }

  100% {
    top: 110%;
  }
}

/* Add styles for victory state */
.line.victory::after {
  background: linear-gradient(to bottom, rgba(255, 215, 0, 0) 0%, #FFD700 75%, #FFD700 100%);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: drop 2s 0s infinite, glow 2s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.5);
  }

  100% {
    box-shadow: 0 0 20px 5px rgba(255, 215, 0, 1);
  }
}

.text-section {
  text-align: justify;
}

.input-border,
.btn {
  border-color: #d08504;
}

.btn:hover,
.input-border:hover {
  background-color: #d08504;
  border-color: #d08504;
  box-shadow: 0 0 10px rgba(208, 133, 4, 0.5);
}

.animated-text,
a,
.links {
  background: linear-gradient(to right, #ffcc00 0%, #d08504 50%, #ffcc00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback for browsers that don't support text-fill-color */
  animation: gradientAnimation 2.5s cubic-bezier(.46, .03, .52, .96) infinite alternate;
  /* Apply the animation */
  background-size: 200% 100%;
  /* Make gradient larger for animation */
  text-decoration-color: #d08504;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.chips {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  font-size: 0.85rem;
  color: #E6E6E6;
  transition: all 0.3s ease;
}

.chips:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
  border-radius: 20px;
}

/* Hide default cursor */
* {
  cursor: none !important;
}

/* Main cursor - roulette ball */
.custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #f0f0f0, #c0c0c0);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 215, 0, 0.4),
    inset -2px -2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
}

/* Golden ring around cursor */
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
background: linear-gradient(45deg, #FFD700, rgba(255,215,0,0.3), #FFA500, rgba(255,165,0,0.3)) border-box;  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: spin 3s linear infinite;
  opacity: 0.7;
}

/* Particle effects */
.cursor-particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  animation: particleFade 0.8s ease-out forwards;
}

/* Hover state - casino chip effect */
.custom-cursor.hover {
  transform: scale(1.5);
  background: radial-gradient(circle, #FFD700, #FFA500, #FF6B35);
  box-shadow:
    0 0 20px rgba(255, 215, 0, 1),
    0 0 40px rgba(255, 165, 0, 0.6),
    0 0 60px rgba(255, 107, 53, 0.4);
}

.cursor-ring.hover {
  animation: spinFast 0.5s linear infinite, pulse 0.3s ease-in-out infinite alternate;
  border-width: 3px;
  opacity: 1;
}

/* Click effect - explosion */
.custom-cursor.click {
  transform: scale(2);
  background: radial-gradient(circle, #FF6B35, #FFD700, #FFA500);
  box-shadow:
    0 0 30px rgba(255, 107, 53, 1),
    0 0 60px rgba(255, 215, 0, 0.8);
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinFast {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1.2);
  }
}

@keyframes pulse {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: scale(0) translate(var(--random-x), var(--random-y));
  }
}

/* Special effect for clickable elements */
.hover-glow:not(a) {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important;
}

.form-control:focus{
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important;
  border-color: #d08504;
}

.btn-lg{
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important;

}