/* ========================================= */
/*       Grand Jeu Casino & Espace Joueur    */
/* ========================================= */
.game-hero-section {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  background-color: #0A0D14;
  background-image: radial-gradient(circle at 75% 50%, rgba(20, 35, 60, 0.45) 0%, rgba(10, 13, 20, 0.85) 60%, #07090D 100%), url('../images/casino-gaming-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.game-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 11, 16, 0.88) 0%, rgba(13, 19, 29, 0.82) 40%, rgba(7, 10, 15, 0.90) 100%);
  pointer-events: none;
}

.game-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFC700;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(255, 199, 0, 0.35);
}

.game-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

@media (max-width: 991px) {
  .game-title {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .game-title {
    font-size: 28px;
  }
}

.game-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  max-width: 500px;
}

.game-glass-card {
  background: rgba(30, 42, 58, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 40px 38px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .game-glass-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
}

.game-glass-card .card-prompt {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.game-glass-card .card-prompt strong {
  color: #FFFFFF;
  font-weight: 700;
}

.game-input {
  width: 100%;
  background: rgba(45, 58, 77, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.game-input::placeholder {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.game-input:focus {
  background: rgba(50, 65, 87, 0.90) !important;
  border-color: #FFC700 !important;
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.25) !important;
  color: #FFFFFF !important;
}

.game-code-input {
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 16px 20px;
}

.game-warning-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.game-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(180deg, #FFD200 0%, #FFB800 100%);
  color: #000000;
  border: none;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
  text-decoration: none;
}

.game-btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(255, 184, 0, 0.50);
  color: #000000;
}

.game-btn-gold:active {
  transform: translateY(0);
}

/* ========================================= */
/*     Lucky Spin Wheel 3D Realistique       */
/* ========================================= */
.casino-spin-wheel-stage {
  position: relative;
  width: 400px;
  max-width: 100%;
  aspect-ratio: 616 / 617;
  margin: 10px auto 25px;
  user-select: none;
}

@media (max-width: 440px) {
  .casino-spin-wheel-stage {
    width: 290px;
  }
}

.casino-wheel-disc-wrap {
  position: absolute;
  top: 17.34%;
  left: 16.72%;
  width: 66.88%;
  height: 66.77%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-wheel-disc-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  transform: rotate(0deg);
  transition: transform 4.8s cubic-bezier(0.12, 0.95, 0.35, 1);
  will-change: transform;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.casino-wheel-frame-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
}

.casino-wheel-center-click {
  position: absolute;
  top: 50.7%;
  left: 50.1%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  z-index: 3;
  cursor: pointer;
  background: transparent;
  transition: transform 0.2s ease;
}

.casino-wheel-center-click:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.casino-wheel-center-click:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.casino-spin-wheel-stage::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 0, 0.22) 0%, rgba(255, 199, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: wheelAura 2.5s ease-in-out infinite alternate;
}

@keyframes wheelAura {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* Modal and notification */
.game-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.game-modal-content {
  background: #1A2332;
  border: 1px solid rgba(255, 199, 0, 0.3);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 199, 0, 0.15);
  animation: modalScaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================= */
/*       Validation & Success States         */
/* ========================================= */
.game-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 15px;
  min-height: 340px;
}

.game-circular-spinner {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.12);
  border-top-color: #FFC700;
  animation: gameSpin 1.1s linear infinite;
  margin-bottom: 30px;
}

@keyframes gameSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.game-loader-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 12px;
}

@media (max-width: 576px) {
  .game-loader-title {
    font-size: 22px;
  }
}

.game-loader-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

/* Success State */
.game-success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px 15px;
  min-height: 340px;
  animation: fadeInState 0.4s ease forwards;
}

@keyframes fadeInState {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-success-emoji {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
}

.game-success-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.25;
  color: #FFD200;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

@media (max-width: 576px) {
  .game-success-title {
    font-size: 26px;
  }
}

.game-success-text-1 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.5;
}

.game-success-text-2 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 440px;
}

.game-success-text-3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

/* ========================================= */
/*      Gaming Pages Footer Dark Styling     */
/* ========================================= */
footer.game-footer,
footer.footer {
  background-color: #0b0f19 !important;
  background-image: linear-gradient(180deg, #070a10 0%, #0d131f 100%) !important;
  position: relative;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.game-footer .footer-info-inner p,
footer.footer .footer-info-inner p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14.5px;
  line-height: 1.7;
}

footer.game-footer .footer-links a,
footer.footer .footer-links a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 14.5px;
  transition: all 0.25s ease;
  display: inline-block;
}

footer.game-footer .footer-links a:hover,
footer.footer .footer-links a:hover {
  color: #FF6D12 !important;
  transform: translateX(4px);
}

footer.game-footer .footer-contact ul li,
footer.footer .footer-contact ul li {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14.5px;
  line-height: 1.8;
}

footer.game-footer .footer-newsletter input,
footer.footer .footer-newsletter input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  padding: 11px 16px;
  border-radius: 6px;
  width: 100%;
}

footer.game-footer .footer-newsletter input::placeholder,
footer.footer .footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

footer.game-footer .footer-newsletter input:focus,
footer.footer .footer-newsletter input:focus {
  border-color: #FF6D12 !important;
  background: rgba(255, 255, 255, 0.12) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 109, 18, 0.3) !important;
}

footer.game-footer .footer-newsletter button,
footer.footer .footer-newsletter button {
  background-color: #FF6D12 !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

footer.game-footer .footer-newsletter button:hover,
footer.footer .footer-newsletter button:hover {
  background-color: #e55c07 !important;
  box-shadow: 0 4px 14px rgba(255, 109, 18, 0.4);
}

footer.game-footer .footer-copyright p,
footer.footer .footer-copyright p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13.5px;
}


