/* ================= GENERAL ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #fff;
  line-height: 1.6;
  /* Updated padding to account for both fixed navbar and announcement */
  padding-top: 110px;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(90deg, #0f0f0f, #1c1c1c);
  border-bottom: 2px solid #ffcc00;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  flex-wrap: wrap;
  gap: 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 20px;
  font-weight: bold;
  color: #ffcc00;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.navbar .logo img {
  height: 35px;
  width: auto;
  display: block;
}

.navbar .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.navbar .nav-links button,
.navbar .nav-links .refer {
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 90px;
  height: 36px;
  line-height: 20px;
}

.navbar .nav-links .refer {
  background: #ffcc00;
  color: #000;
}

.navbar .nav-links .signin {
  background: #2ecc71;
  color: #fff;
}

.navbar .nav-links .register {
  background: #e74c3c;
  color: #fff;
}

.navbar .nav-links button:hover,
.navbar .nav-links .refer:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ================= ANNOUNCEMENT ================= */
.announcement {
  /* Made announcement fixed and positioned below navbar */
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(45deg, #ffcc00, #ff6b35, #ffcc00, #ff6b35);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
  color: #000;
  font-weight: 700;
  padding: 8px 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(255, 204, 0, 0.3);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.announcement p {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite, textGlow 2s ease-in-out infinite alternate;
  margin: 0;
  padding-left: 100%;
  font-size: 14px;
  font-weight: 800;
}

/* Added gradient animation for announcement background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Added text glow animation */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 204, 0, 0.8);
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ================= SLIDER ================= */
.slider {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* ================= GOLD DIVIDER ================= */
.gold-divider {
  border: none;
  height: 3px;
  width: 80%;
  margin: 30px auto;
  background: linear-gradient(to right, transparent, #ffcc00, transparent);
  border-radius: 50px;
}

/* ================= FEATURES SECTION ================= */
.our-features {
  background: radial-gradient(circle at top, #1a1a1a, #000);
  color: #fff;
  padding: 30px 15px;
  text-align: center;
}

.our-features h2 {
  font-size: 24px;
  color: #ffcc00;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #1c1c1c;
  border: 2px solid #ffcc00;
  border-radius: 12px;
  padding: 20px 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
}

.feature-card i {
  font-size: 32px;
  color: #ffcc00;
  margin-bottom: 12px;
}

.feature-card h3 {
  color: #2ecc71;
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #ddd;
}

/* ================= MULTI SITE SECTION ================= */
.multi-site {
  padding: 40px 15px;
  background: linear-gradient(145deg, #111, #1c1c1c);
  text-align: center;
  color: white;
}

.multi-site h2 {
  font-size: 24px;
  color: #ffcc00;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.multi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.multi-card {
  background: #222;
  padding: 25px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.multi-card i {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 12px;
}

.multi-card h3 {
  font-size: 1.1rem;
  color: #ffcc00;
  margin-bottom: 8px;
}

.multi-card p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
}

.multi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(255, 204, 0, 0.4);
}

/* ================= PAYMENT METHODS ================= */
.payment-methods {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #fff;
  text-align: center;
  padding: 40px 15px;
}

.payment-methods h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #ffcc00;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.payment-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.payment-icons i {
  font-size: 2.5rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
  min-width: 50px;
}

.payment-icons i:hover {
  color: #ffcc00;
  transform: scale(1.2);
}

.payment-note {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: #111;
  color: #ddd;
  font-family: "Poppins", sans-serif;
  padding: 40px 20px 25px;
  text-align: left;
  border-top: 4px solid #ffcc00;
}

.social-icons {
  text-align: center;
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-block;
  margin: 0 10px;
  font-size: 24px;
  color: #ffcc00;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
  transform: scale(1.2);
}

.disclaimer-text {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
}

.disclaimer-text strong {
  color: #ffcc00;
}

.disclaimer-text ul {
  margin: 15px 0;
  padding-left: 15px;
  list-style: none;
}

.disclaimer-text ul li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #bbb;
  position: relative;
  padding-left: 20px;
}

.disclaimer-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffcc00;
  font-weight: bold;
}

.disclaimer-warning {
  margin-top: 12px;
  font-size: 13px;
  font-style: italic;
  color: #f55;
  border-left: 3px solid #f55;
  padding-left: 10px;
}

.footer-note {
  margin-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #333;
  padding-top: 12px;
}

/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  /* Added unique multi-layered animation combining pulse, float, and rotate */
  animation: whatsapp-unique 4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.2) rotate(15deg);
  background: linear-gradient(45deg, #25d366, #1ebe5d, #25d366);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.8), 0 0 50px rgba(37, 211, 102, 0.4);
  animation: whatsapp-hover 0.6s ease-in-out infinite alternate;
}

/* Created unique WhatsApp animation with floating, pulsing, and subtle rotation */
@keyframes whatsapp-unique {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
  }
  25% {
    transform: translateY(-8px) scale(1.05) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  50% {
    transform: translateY(-12px) scale(1.1) rotate(0deg);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6), 0 0 0 20px rgba(37, 211, 102, 0.05);
  }
  75% {
    transform: translateY(-8px) scale(1.05) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Added hover animation with pulsing glow effect */
@keyframes whatsapp-hover {
  0% {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6), 0 0 40px rgba(37, 211, 102, 0.3);
  }
  100% {
    box-shadow: 0 0 40px rgba(37, 211, 102, 1), 0 0 80px rgba(37, 211, 102, 0.6);
  }
}

/* ================= MODALS ================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: linear-gradient(145deg, #1c1c1c, #0f0f0f);
  border: 3px solid #ffcc00;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.6), inset 0 0 20px rgba(255, 204, 0, 0.1);
  padding: 25px 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
  animation: fadeIn 0.4s ease;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h2 {
  color: #ffcc00;
  margin-bottom: 20px;
  font-size: 20px;
}

.close,
.close-login {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #ffcc00;
  cursor: pointer;
}

.register-form,
.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-form label,
.login-form label {
  text-align: left;
  font-size: 13px;
  color: #ddd;
}

.register-form input,
.register-form select,
.login-form input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  font-size: 14px;
}

.phone-input {
  display: flex;
  gap: 8px;
}

.phone-input select {
  flex: 0.6;
}

.phone-input input {
  flex: 1.4;
}

.register-btn,
.login-btn {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.register-btn {
  background: linear-gradient(145deg, #e74c3c, #c0392b);
  /* Added white text color to match other buttons */
  color: #fff;
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.register-btn:hover::before {
  left: 100%;
}

.register-btn:hover {
  background: linear-gradient(145deg, #c0392b, #a93226);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
  transform: translateY(-2px);
}

.login-btn {
  background: #2ecc71;
  color: #fff;
}

.login-btn:hover {
  background: #27ae60;
}

.login-link,
.register-link {
  margin-top: 12px;
  font-size: 13px;
}

.login-link a,
.register-link a {
  color: #ffcc00;
  text-decoration: none;
}

.login-link a:hover,
.register-link a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= LOADING ANIMATIONS ================= */
.casino-loading {
  text-align: center;
  color: #ffd700;
  font-weight: bold;
}

.spinning-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.chip {
  font-size: 20px;
  animation: spin 1s linear infinite;
}

.chip1 {
  animation-delay: 0s;
}
.chip2 {
  animation-delay: 0.3s;
}
.chip3 {
  animation-delay: 0.6s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.loading-text {
  color: #ffd700;
  font-size: 13px;
  margin: 4px 0;
}

.sparkles {
  font-size: 11px;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.casino-success {
  text-align: center;
  color: #00ff00;
}

.success-icon {
  font-size: 28px;
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%,
  20%,
  60%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  80% {
    transform: translateY(-4px);
  }
}

.success-text {
  font-size: 13px;
  font-weight: bold;
  margin-top: 8px;
}

/* ================= CASINO-STYLE ID SELECTION ================= */
.id-selection {
  margin: 15px 0;
  animation: slideInFromBottom 0.6s ease-out;
}

.selection-label {
  display: block;
  text-align: center;
  color: #ffcc00;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
  animation: neonGlow 2s ease-in-out infinite alternate;
}

.platform-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-option {
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 140px;
  max-width: 180px;
}

.platform-card {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border: 2px solid #555;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 204, 0, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.platform-option:hover .platform-card::before {
  animation: shimmer 1.5s ease-in-out infinite;
  opacity: 1;
}

.platform-option:hover .platform-card {
  transform: translateY(-5px) scale(1.05);
  border-color: #ffcc00;
  box-shadow: 0 10px 25px rgba(255, 204, 0, 0.3), 0 0 20px rgba(255, 204, 0, 0.2);
}

.platform-option.selected .platform-card {
  border-color: #00ff00;
  background: linear-gradient(145deg, #1a4a1a, #0f2f0f);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.4), inset 0 0 20px rgba(0, 255, 0, 0.1);
  transform: scale(1.1);
}

.platform-icon {
  font-size: 32px;
  margin-bottom: 8px;
  animation: bounce 2s ease-in-out infinite;
}

.platform-name {
  color: #ffcc00;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.platform-tagline {
  color: #ccc;
  font-size: 11px;
  font-style: italic;
}

.platform-option.selected .platform-name {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.platform-option.selected .platform-tagline {
  color: #90ff90;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  body {
    /* Updated mobile padding for fixed announcement */
    padding-top: 120px;
  }

  .navbar {
    padding: 10px 15px;
  }

  /* Adjusted announcement position for mobile */
  .announcement {
    top: 80px;
  }

  .slider {
    height: 250px;
  }

  .our-features h2,
  .multi-site h2 {
    font-size: 20px;
  }

  .features-container,
  .multi-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
  }

  .feature-card,
  .multi-card {
    padding: 15px 12px;
  }

  .payment-icons i {
    font-size: 2rem;
  }

  .modal-content {
    margin: 10px;
    padding: 20px 15px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }

  .platform-options {
    flex-direction: column;
    gap: 10px;
  }

  .platform-option {
    max-width: 100%;
  }

  .platform-card {
    padding: 15px 10px;
  }

  .platform-icon {
    font-size: 28px;
  }

  .platform-name {
    font-size: 14px;
  }

  .platform-tagline {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  body {
    /* Updated small mobile padding for fixed announcement */
    padding-top: 140px;
  }

  .navbar {
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px;
  }

  /* Adjusted announcement position for small mobile */
  .announcement {
    top: 100px;
  }

  .slider {
    height: 200px;
  }

  .features-container,
  .multi-container {
    grid-template-columns: 1fr;
  }

  .payment-icons {
    gap: 15px;
  }

  .payment-icons i {
    font-size: 1.8rem;
  }

  .disclaimer-text {
    font-size: 12px;
  }

  .modal-content {
    max-width: 95%;
  }
}

/* ================= DESKTOP SPECIFIC STYLES ================= */
@media (min-width: 1200px) {
  .slider {
    height: 500px;
  }

  .navbar .nav-links button,
  .navbar .nav-links .refer {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (min-width: 1600px) {
  .slider {
    height: 600px;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neonGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5), 0 0 10px rgba(255, 204, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8), 0 0 20px rgba(255, 204, 0, 0.5), 0 0 30px rgba(255, 204, 0, 0.3);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}
