/* ================================
   GLOBAL STYLES
================================ */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #0b0718;
  color: #ffffff;
}

/* Offset for fixed navbar */
body {
  padding-top: 90px;
}

/* Remove container padding for full-width */
.container, .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

/* ================================
   CASINO NAVBAR – ROYAL PURPLE
================================ */
.casino-navbar {
  background: linear-gradient(90deg, #0b0b0b, #151515);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

/* Logo */
.casino-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
  display: flex;
  align-items: center;
}


/* Menu Links */
.casino-menu .nav-link {
  color: #e5e5e5 !important;
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover Effect */
.casino-menu .nav-link:hover {
  color: #8b5cf6 !important; /* Royal Purple */
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.9);
}

/* Underline Animation */
.casino-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #8b5cf6;
  transition: width 0.3s ease;
}

.casino-menu .nav-link:hover::after {
  width: 100%;
}

/* Play Now Button */
.casino-btn {
  background: linear-gradient(45deg, #8b5cf6, #a78bfa);
  color: #ffffff;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.7);
  transition: all 0.3s ease;
}

.casino-btn:hover {
  background: #ffffff;
  color: #000;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

/* Mobile Toggle */
.navbar-toggler {
  border-color: #8b5cf6;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* ================================
   HERO SECTION FULL WIDTH
================================ */
.casino-hero {
  width: 100vw;
  min-height: 100vh;
  background: url("images/homebackground.avif") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 50px; /* top & bottom spacing */
  box-sizing: border-box;
}

.hero-overlay {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(110deg, rgba(10,5,30,0.9), rgba(20,10,45,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================
   HERO LEFT CONTENT
================================ */
.hero-left {
  animation: fadeSlideLeft 1.2s ease forwards;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.18);
  color: #a78bfa;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 0 0 8px rgba(167,139,250,0.6);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-title span {
  color: #a78bfa;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.9);
  transition: text-shadow 0.4s ease;
}

.hero-title:hover span {
  text-shadow: 0 0 35px rgba(167, 139, 250, 1);
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #e0def5;
  margin-bottom: 30px;
}

/* Hero Buttons */
.hero-buttons .btn {
  transition: all 0.35s ease;
  margin-bottom: 10px;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.6);
}

.casino-btn-outline {
  border: 2px solid #a78bfa;
  color: #a78bfa;
  background: transparent;
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.35s ease;
}

.casino-btn-outline:hover {
  background: #a78bfa;
  color: #000;
  box-shadow: 0 0 25px rgba(167,139,250,0.6);
}

/* ================================
   HERO CARDS BELOW
================================ */
.hero-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px; /* space from main content */
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid #a78bfa;
  padding: 18px 22px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  color: #e0def5;
  transition: all 0.35s ease;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
  cursor: pointer;
  width: 300px; /* fixed width for cards */
  margin-bottom: 20px;
}

.hero-card h4 {
  color: #a78bfa;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero-card p {
  font-size: 0.95rem;
  color: #d6d3f0;
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 25px rgba(167,139,250,0.6), 0 0 50px rgba(167,139,250,0.25);
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(30px); }
  to { opacity:1; transform: translateY(0); }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .hero-left {
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-card {
    width: 80%; /* responsive width */
  }
}


/* ================================
   WELCOME + ABOUT SECTION
================================ */
.welcome-section {
  background: url("images/casino-welcome.jpg") center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.welcome-overlay {
  width: 100%;
  background: rgba(10,5,30,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 15px;
}

/* Main Welcome Title & Desc */
.welcome-title {
  font-size: 3rem;
  color: #a78bfa;
  text-shadow: 0 0 25px rgba(167,139,250,0.9);
  margin-bottom: 20px;
  animation: fadeUp 1s ease forwards;
}

.welcome-desc {
  font-size: 1.2rem;
  color: #e0def5;
  max-width: 700px;
  margin: 0 auto 30px;
  animation: fadeUp 1.2s ease forwards;
}

.welcome-section .btn {
  transition: all 0.35s ease;
}

.welcome-section .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(167,139,250,0.6);
}

/* ABOUT PART */
.about-section {
  margin-top: 60px;
}

.about-heading {
  font-size: 2.5rem;
  color: #a78bfa;
  text-shadow: 0 0 20px rgba(167,139,250,0.8);
  margin-bottom: 15px;
}

.about-text {
  font-size: 1.1rem;
  color: #d6d3f0;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* About Cards in Welcome Section */
.about-cards {
  margin-top: 30px;
}

.about-card {
  background: rgba(255,255,255,0.08);
  border-left: 4px solid #a78bfa;
  padding: 25px 20px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  cursor: pointer;
  color: #e0def5;
}

.about-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 25px rgba(167,139,250,0.6), 0 0 50px rgba(167,139,250,0.25);
}

.about-card h4 {
  margin-top: 10px;
  font-weight: 700;
  color: #a78bfa;
}

.about-card p {
  color: #d1cff0;
  font-size: 1rem;
  line-height: 1.5;
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(30px);}
  to { opacity:1; transform: translateY(0);}
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .welcome-title, .about-heading {
    font-size: 2rem;
  }

  .welcome-desc, .about-text {
    font-size: 1rem;
  }

  .about-cards .col-md-3 { max-width: 80%; margin:auto; }
}


/* ================================
   GAMES SECTION
================================ */
.games-section {
  background: url("images/casino-games-bg.jpg") center/cover no-repeat;
  padding: 80px 0;
  color: #ffffff;
}

.games-overlay {
  background: rgba(10,5,30,0.85);
  padding: 60px 15px;
  width: 100%;
}

.games-title {
  font-size: 2.8rem;
  color: #a78bfa;
  text-shadow: 0 0 25px rgba(167,139,250,0.8);
  margin-bottom: 15px;
}

.games-desc {
  font-size: 1.2rem;
  color: #d6d3f0;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Game Cards */
.game-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  text-align: center;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 25px rgba(167,139,250,0.6), 0 0 50px rgba(167,139,250,0.25);
}

.game-card img.game-img {
  border-radius: 12px;
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.game-card h4 {
  color: #a78bfa;
  margin-bottom: 10px;
}

.game-card p {
  font-size: 1rem;
  color: #d1cff0;
  margin-bottom: 15px;
}

.game-card .btn {
  transition: all 0.35s ease;
}

.game-card .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(167,139,250,0.6);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .game-card img.game-img {
    height: 150px;
  }

  .games-title {
    font-size: 2rem;
  }

  .games-desc {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .game-card img.game-img {
    height: 120px;
  }
}

/* ================================
   LIVE WINNING FEED (FULL STRUCTURE)
================================ */
.live-feed-section {
  background: linear-gradient(180deg, #0b0b0b 0%, #151515 100%);
  padding: 60px 0;
  color: #ffffff;
}

/* Heading */
.feed-heading {
  color: #a78bfa;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(167,139,250,0.7);
}

/* Description below heading */
.feed-desc {
  font-size: 1.1rem;
  color: #d1cff0;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Card wrapper */
.live-feed-card {
  background: rgba(10,5,30,0.9);
  border-radius: 15px;
  padding: 25px;
  max-width: 500px; /* Center the card */
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(167,139,250,0.5);
  border: 1px solid rgba(167,139,250,0.3);
}

/* Vertical Feed Wrapper */
.live-feed-vertical-wrapper {
  overflow: hidden;
  height: 180px; /* show 3-4 items at a time */
  position: relative;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  box-shadow: inset 0 0 15px rgba(167,139,250,0.2);
}

/* Vertical Track */
.live-feed-vertical-track {
  display: flex;
  flex-direction: column;
  animation: scrollVertical 12s linear infinite;
}

.feed-item {
  padding: 12px 20px;
  font-weight: 500;
  color: #e0def5;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Hover pause */
.live-feed-vertical-wrapper:hover .live-feed-vertical-track {
  animation-play-state: paused;
}

/* Animation */
@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .feed-item { font-size: 0.9rem; }
  .live-feed-vertical-wrapper { height: 150px; }
  .live-feed-card { max-width: 90%; }
}


/* ================================
   STAY UPDATED SECTION
================================ */
.newsletter-section {
  background: linear-gradient(180deg, #0b0b0b 0%, #151515 100%);
  color: #ffffff;
}

/* Heading */
.newsletter-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #a78bfa;
  text-shadow: 0 0 20px rgba(167,139,250,0.7);
}

/* Description */
.newsletter-desc {
  font-size: 1.1rem;
  color: #d1cff0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Newsletter Card */
.newsletter-card {
  background: rgba(10,5,30,0.9);
  border-radius: 15px;
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(167,139,250,0.5);
  border: 1px solid rgba(167,139,250,0.3);
}

/* Form Controls */
.newsletter-form .form-control {
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid #8b5cf6;
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: 0 0 15px rgba(167,139,250,0.5);
  border-color: #a78bfa;
}

/* Buttons */
.newsletter-form .btn {
  padding: 10px 25px;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(167,139,250,0.7);
}

/* Modals */
.modal-content.bg-dark {
  background: #0b0b0b;
  border-radius: 12px;
  border: 2px solid #8b5cf6;
}

.border-purple {
  border-color: #8b5cf6 !important;
}

.border-bottom-purple {
  border-bottom: 2px solid #8b5cf6 !important;
}

.border-top-purple {
  border-top: 2px solid #8b5cf6 !important;
}

.btn-close-white {
  filter: invert(1);
}


/* ================================
   TESTIMONIALS SECTION
================================ */
.testimonials-section {
  background: linear-gradient(180deg, #0b0b0b 0%, #1a0d34 100%);
  color: #fff;
}

/* Heading */
.testimonials-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #a78bfa;
  text-shadow: 0 0 25px rgba(167,139,250,0.7);
}

.testimonials-desc {
  font-size: 1.1rem;
  color: #d1cff0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #a78bfa;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(167,139,250,0.2);
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 35px rgba(167,139,250,0.5);
  border-left-color: #f0f;
}

/* Icon */
.testimonial-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #8b5cf6;
  transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-icon {
  transform: rotate(15deg) scale(1.2);
  color: #a78bfa;
}

/* Text */
.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0def5;
}

/* Name */
.testimonial-name {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonial-card {
    padding: 20px;
  }
}


/* ================================
   CONTACT SECTION
================================ */
.contact-section {
  background: linear-gradient(180deg, #0b0b0b 0%, #1c0e3a 100%);
  color: #fff;
}

.contact-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #a78bfa;
  text-shadow: 0 0 25px rgba(167,139,250,0.7);
}

.contact-desc {
  font-size: 1.1rem;
  color: #d1cff0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Card */
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #a78bfa;
  border-radius: 15px;
  padding: 40px 30px;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 25px rgba(167,139,250,0.2);
}

.contact-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 35px rgba(167,139,250,0.5);
  border-left-color: #f0f;
}

/* Form Controls */
.contact-form .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid #8b5cf6;
  color: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 12px rgba(167,139,250,0.5);
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Submit Button */
.contact-form .btn.casino-btn {
  background: linear-gradient(45deg, #8b5cf6, #a78bfa);
  color: #fff;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 0 18px rgba(139,92,246,0.7);
  transition: all 0.3s ease;
}

.contact-form .btn.casino-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 0 30px rgba(167,139,250,0.9);
  background: #ffffff;
  color: #000;
}

/* Modal Styling */
.modal-content {
  border-radius: 15px;
  border: 2px solid #8b5cf6;
}

.modal-header, .modal-footer {
  border-color: #a78bfa !important;
}

.modal-title {
  color: #a78bfa;
  text-shadow: 0 0 15px rgba(167,139,250,0.7);
}


/* ================================
   CASINO FOOTER
================================ */
.casino-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #1c0e3a 100%);
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #a78bfa;
  text-shadow: 0 0 15px rgba(167,139,250,0.7);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.95rem;
  color: #d1cff0;
  line-height: 1.5;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 10px;
}

.footer-link {
  color: #d1cff0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #f0f;
  text-shadow: 0 0 10px rgba(167,139,250,0.7);
}

.footer-divider {
  border-color: rgba(167,139,250,0.4);
  margin: 20px 0;
}

/* Social Icons */
.social-icon i {
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon:hover i {
  color: #a78bfa;
  transform: scale(1.2);
}

/* Newsletter Form */
.casino-footer .form-control {
  border-radius: 30px;
  padding: 8px 15px;
  border: 1px solid #8b5cf6;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.casino-footer .form-control:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 12px rgba(167,139,250,0.5);
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.casino-footer .btn.casino-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
}

/* MODAL CASINO STYLE */
.modal-content {
  background: #0a0a0a;
  border-radius: 15px;
  border: 2px solid #8b5cf6;
}

.modal-header, .modal-footer {
  border-color: #a78bfa !important;
}

.modal-title {
  color: #a78bfa;
  text-shadow: 0 0 15px rgba(167,139,250,0.7);
}

.accordion-button {
  background: #0a0a0a;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: rgba(167,139,250,0.1);
  color: #a78bfa;
  text-shadow: 0 0 10px rgba(167,139,250,0.6);
}

.accordion-button:hover {
  background: rgba(167,139,250,0.15);
  transform: scale(1.02);
}

.accordion-body {
  background: #1c0e3a;
  color: #d1cff0;
}
