/* CSS Reset & Base Styles */


:root{
  --background: 14 100% 3%;
  --foreground: 0 0% 100%;
  --card: 14 100% 5%;
  --card-foreground: 0 0% 100%;
  --popover: 14 100% 5%;
  --popover-foreground: 0 0% 100%;
  --primary: 45 100% 70%;
  --primary-foreground: 14 100% 3%;
  --secondary: 14 50% 10%;
  --secondary-foreground: 0 0% 100%;
  --muted: 14 20% 15%;
  --muted-foreground: 0 0% 70%;
  --accent: 45 100% 50%;
  --accent-foreground: 14 100% 3%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 14 20% 20%;
  --input: 14 20% 15%;
  --ring: 45 100% 70%;
  --radius: .75rem;
  --casino-gold: 45 100% 70%;
  --casino-gold-bright: 45 100% 80%;
  --casino-dark: 14 100% 3%;
  --casino-dark-lighter: 14 50% 8%;
  --casino-accent: 14 30% 12%;
  --gradient-gold: linear-gradient(135deg, hsl(45 100% 60%), hsl(45 100% 80%));
  --gradient-dark: linear-gradient(180deg, hsl(14 100% 3%), hsl(14 50% 8%));
  --gradient-casino-bg: radial-gradient(ellipse at center, hsl(14 50% 8%) 0%, hsl(14 100% 3%) 70%);
  --shadow-gold: 0 10px 30px -10px hsl(45 100% 50% / .4);
  --shadow-luxury: 0 20px 60px -20px hsl(0 0% 0% / .8);
  --transition-luxury: all .4s cubic-bezier(.4, 0, .2, 1);
  --sidebar-background: 14 50% 8%;
  --sidebar-foreground: 0 0% 100%;
  --sidebar-primary: 45 100% 70%;
  --sidebar-primary-foreground: 14 100% 3%;
  --sidebar-accent: 14 30% 12%;
  --sidebar-accent-foreground: 0 0% 100%;
  --sidebar-border: 14 20% 20%;
  --sidebar-ring: 45 100% 70%;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: #ffffff;
  background: #0a0301;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Casino Background */
.main-container {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url("/assets/img/casino-interior-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Hero Section */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-header {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #4ade80;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: bold;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(var(--casino-gold-bright));
  margin-top: 1rem;
  font-weight: 500;
}

/* Spin Wheel Section */
.spin-wheel-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 4rem;
}

/* Golden Arrow Pointer */
.wheel-pointer {
  position: absolute;
  top: 0.5rem;
  z-index: 10;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid hsl(var(--casino-gold));;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Roulette Wheel Container */
.wheel-container {
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wheel-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  box-shadow: var(--shadow-luxury);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 4500ms cubic-bezier(0.15, 0.85, 0.25, 1);
}

.wheel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Spin Button */
.spin-button {
  position: relative;
  z-index: 20;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: bold;
  color: hsl(var(--casino-dark));
  background: var(--gradient-gold);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  border: 2px solid hsl(var(--casino-gold));;
}

.spin-button:hover:not(:disabled) {
  transform: scale(1.05);
  
}

.spin-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* VIP Section */
.vip-section {
  width: 100%;
background-color: hsl(var(--casino-accent) / .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  margin-top: 5rem;
}

.vip-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.vip-heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffffff;
}

.vip-description {
  font-size: 1.125rem;
  color: #b3b3b3;
  margin-bottom: 0.5rem;
}

.vip-badge {
  font-size: 0.875rem;
  color: hsl(var(--casino-gold));
  font-weight: 600;
  margin-bottom: 3rem;
}

.vip-form {
  max-width: 500px;
  margin: 0 auto 3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  height: 3rem;
  padding: 0.5rem .75rem;
  background-color: hsl(var(--casino-dark));
  border: 1px solid hsl(var(--casino-gold) / .3);
  border-radius: calc(var(--radius) - 2px);
  color: white;
  font-size: .875rem;
    line-height: 1.25rem;
}

.form-input::placeholder {
  color: #666;
}

.form-input:focus {
  outline: none;
  border-color: #ffd700;
}

.vip-button {
  height: 3rem;
  padding: 0 2rem;
  background: transparent;
  border: 2px solid hsl(var(--casino-gold));;
  border-radius: calc(var(--radius) - 2px);
  color: hsl(var(--casino-gold));
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.vip-button:hover {
background-color: hsl(var(--casino-gold));
  color: hsl(var(--casino-dark));
}

.vip-terms {
  font-size: 0.875rem;
  color: #b3b3b3;
  margin-bottom: 3rem;
}

.vip-terms a {
  color: #ffd700;
  text-decoration: none;
}

.vip-terms a:hover {
  text-decoration: underline;
}

.vip-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #b3b3b3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  background-color: hsl(var(--casino-dark) / .9);
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;

}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #b3b3b3;
  margin-bottom: 1rem;
}

.footer-link {
  color: #b3b3b3;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffd700;
}

.footer-separator {
  display: none;
}

.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(179, 179, 179, 0.5);
}

/* Modal/Dialog */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0a0301;
  border: 2px solid #ffd700;
  border-radius: 0.5rem;
  max-width: 90vw;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
}

.modal-content.small {
  max-width: 384px;
}

.modal-content.medium {
  max-width: 448px;
}

.modal-body {
  padding: 1rem 1.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffffff;
}

.modal-title.gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-logo {
  width: 6rem;
  height: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.bonus-label {
  color: hsl(var(--casino-gold));
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.bonus-code {
  background-color: hsl(var(--casino-gold));
  color: hsl(var(--casino-dark));
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}

.bonus-title {
  color: hsl(var(--casino-gold));
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.bonus-subtitle {
  color: hsl(var(--casino-gold-bright));
  font-size: 1rem;
  margin-bottom: 1rem;
}

.bonus-description {
  color: #b3b3b3;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.modal-button {
  width: 100%;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 9999px;
  border: 2px solid hsl(var(--casino-gold));
  color: hsl(var(--casino-dark)) ;
  letter-spacing: .05em;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button.primary {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #0a0301;
}

.modal-button.success {
  background: linear-gradient(to right, #22c55e, #16a34a);
  
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.bonus-timer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #b3b3b3;
}

.bonus-timer .highlight {
  color: #fb923c;
}

.bonus-stock {
  font-size: 0.75rem;
  color: #b3b3b3;
}

.bonus-stock .highlight {
  color: #ef4444;
}

/* Canvas for confetti */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Responsive Design */
@media (min-width: 640px) {
  .form-group {
    flex-direction: row;
  }

  .form-input {
    flex: 1;
  }

  .wheel-wrapper {
    width: 450px;
    height: 450px;
  }

  .wheel-pointer {
    top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title,
  .hero-subtitle {
    font-size: 3.75rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .wheel-wrapper {
    width: 550px;
    height: 550px;
  }

  .spin-wheel-section {
    padding: 1rem 1rem 4rem;
  }

  .vip-heading {
    font-size: 1.875rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-logo {
    width: 8rem;
  }

  .bonus-description {
    font-size: 0.875rem;
  }

  .footer-links {
    flex-direction: row;
  }

  .footer-separator {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .hero-title,
  .hero-subtitle {
    font-size: 4.5rem;
  }
}
