/* Fortune Wheel Custom Styling - Dark Theme (Black Background & White Text) */
:root {
  --primary-green: #72992c;
  --primary-green-dark: #4e6b1d;
  --primary-green-light: #8cb837;
  --gold-main: #ffd700;
  --gold-dark: #d4af37;
  --gold-light: #fff0a5;
  --bg-dark: #000000;
  --bg-card: #181818;
  --bg-card-border: rgba(212, 175, 55, 0.4);
  --text-light: #ffffff;
  --text-muted: #d1d5db;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Fully Visible Blurred Background Image */
body::before {
  content: '';
  position: fixed;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  z-index: -1;
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), url('../images/bg_skyline.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transform: scale(1.05);
  opacity: 1;
}

/* Header & Brand Logo Highlight */
.logo-highlight-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  border: 3px solid var(--gold-main);
  border-radius: 50px;
  padding: 10px 30px;
  box-shadow: 
    0 0 20px rgba(255, 215, 0, 0.6), 
    0 0 40px rgba(212, 175, 55, 0.35),
    inset 0 0 15px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
}

.logo-highlight-wrapper:hover {
  transform: scale(1.04);
  border-color: #ffe066;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.85), 
    0 0 55px rgba(212, 175, 55, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.9);
}

.brand-logo-img {
  max-height: 85px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
  transition: transform 0.3s ease;
}

/* Text Colors */
.text-green {
  color: var(--primary-green) !important;
}

.text-gold {
  color: var(--gold-main) !important;
}

.hero-section {
  padding: 1.5rem 0 1.5rem;
  text-align: center;
}

.hero-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.35rem;
  font-weight: 400;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  text-shadow: none !important;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
  }
}

.hero-subtitle {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 11px !important;
  font-weight: 500;
  color: #FFFFFF !important;
  opacity: 0.95;
  max-width: 680px;
  margin: 0.5rem auto 1.5rem;
  line-height: 1.6;
  text-shadow: none !important;
  letter-spacing: 0.5px;
}

/* Custom Fancy Font Utilities */
.font-cinzel-decorative {
  font-family: 'Cinzel Decorative', serif !important;
}
.font-cinzel {
  font-family: 'Cinzel', serif !important;
}
.font-playfair {
  font-family: 'Playfair Display', serif !important;
}
.font-jakarta {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.font-montserrat {
  font-family: 'Montserrat', sans-serif !important;
}

.text-white-fancy {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: none !important;
}

/* Card Styling */
.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(114, 153, 44, 0.15);
  color: #ffffff;
}

/* Wheel Container */
.wheel-wrapper {
  position: relative;
  width: 100%;
  max-width: 378px;
  margin: 0 auto;
}

.wheel-pointer {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 31px;
  height: 35px;
  z-index: 100;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.wheel-canvas-container {
  width: 100%;
  padding-bottom: 100%; /* 1:1 Aspect Ratio */
  position: relative;
  border-radius: 50%;
  box-shadow: 
    0 0 40px rgba(212, 175, 55, 0.35), 
    0 0 15px rgba(114, 153, 44, 0.3),
    inset 0 0 20px rgba(0, 0, 0, 0.8);
  border: 6px solid var(--gold-dark);
  background: #1C1C1C;
}

#wheelCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Center Spin Button */
.spin-btn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: radial-gradient(circle, #72992c 0%, #4e6b1d 60%, #1c270b 100%);
  border: 3px solid var(--gold-main);
  color: var(--gold-main);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  z-index: 90;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.spin-btn-center:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 35px rgba(255, 215, 0, 1), 0 0 15px rgba(114, 153, 44, 0.8);
  color: #ffffff;
}

.spin-btn-center:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Main Spin Trigger Button */
.btn-gold-green {
  background: linear-gradient(135deg, #8cb837 0%, #72992c 100%);
  border: 2px solid #a2d442;
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 50rem;
  box-shadow: 0 8px 25px rgba(140, 184, 55, 0.4), 0 0 15px rgba(114, 153, 44, 0.3);
  transition: all 0.3s ease;
  font-size: 0.88rem;
}

.btn-gold-green:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  border-color: #ffe066;
  color: #000000 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-gold-green:hover:not(:disabled) i {
  color: #000000 !important;
}

/* Modal Customization - Light Background & Black Text */
.modal-content.card-custom {
  border: 2px solid var(--gold-dark);
  background-color: #ffffff !important;
  color: #111111 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.modal-content .text-gold {
  color: #000000 !important;
}

.form-control-dark {
  background-color: #f8f9fa !important;
  border-color: #d1d5db !important;
  color: #111111 !important;
}

.form-control-dark::placeholder {
  color: #6b7280 !important;
}

.form-control-dark:focus {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 0.25rem rgba(114, 153, 44, 0.25) !important;
}

.input-group-text-dark {
  background-color: #e5e7eb !important;
  border-color: #d1d5db !important;
  color: var(--primary-green-dark) !important;
}

/* Coupon Voucher Card */
.voucher-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e5e7eb 100%);
  border: 2px dashed var(--gold-dark);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #111111;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.coupon-code-badge {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #000000;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin: 1rem 0;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.footer-link {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-main);
}
