:root {
  --royal-purple: #640f52;
  --gold: #ffc400;
  --dark-purple: #380a30;
  --light-blue: #ffffff; /* Brighter for better contrast */
  --white: #FFFFFF;
  --accent-purple: #a370cc;
}

body {
  background: linear-gradient(to bottom, var(--dark-purple), #57254a);
  color: var(--light-blue);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  margin: 0;
}



  
.banner-section,
.about-section,
.game-section,
.why-section,
.how-section,
.faq-section,
.top-section,
.testimonial-section {
  /* margin-bottom: 10px; */
  padding: 70px 0px;
}

.footer-section {
  margin-bottom: 0;
}

.container {
  padding: 0 15px;
}

/* Header and Navbar Styles */
.header {
  background: rgba(62, 30, 63, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);

}

.header-bottom-area {
  padding: 18px 0;
}

.logo-img {
  max-height: 50px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
}

.navbar-nav {
  gap: 25px;
}

.nav-link {
  color: var(--light-blue);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 10px 15px;
}

.nav-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-link .badge {
  background: var(--gold);
  color: var(--dark-purple);
  font-size: 0.7rem;
  padding: 4px 8px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-link:hover .badge {
  transform: scale(1.1);
}

.navbar-toggler {
  border: none;
  padding: 10px;
}

.navbar-toggler-icon {
  color: var(--gold);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
  transform: rotate(90deg);
}

.auth-section {
  gap: 15px;
}

/* Button Wrapper - for alignment and spacing */
.button-wrapper {
  display: inline-block;
  margin: 1rem 0;
}

/* Base Button Styles */
.cmn--btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Large Button Variant */
.cmn--btn.btn--lg {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Active/Default State (Gold Gradient) */
.cmn--btn {
  background: linear-gradient(45deg, var(--gold), #FFEB3B);
  color: var(--dark-purple);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

/* Hover Effects */
.cmn--btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Active/Focus States */
.cmn--btn:active {
  transform: translateY(1px);
}

.cmn--btn:focus {
  outline: 2px solid rgba(255, 215, 0, 0.5);
  outline-offset: 2px;
}

/* Optional Ripple Effect */
.cmn--btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.cmn--btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}
.how-to-play-section {
  padding: 80px 0;
  color: white;
  position: relative;
}

.how-to-play-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.how-to-play-section .container {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #f8d56b;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.how-cards-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.how-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  text-align: center;
  border: 1px solid rgba(248, 213, 107, 0.3);
  transition: transform 0.3s ease;
}

.how-card:hover {
  transform: translateY(-10px);
}

.icon-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.icon-wrapper i {
  font-size: 40px;
  color: #f8d56b;
}

.step-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #8b0000;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #f8d56b;
}

.card-description {
  color: #ddd;
  font-size: 1rem;
}

.btn-royal {
  background: linear-gradient(to right, #8b0000, #c21807);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-royal:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(248, 213, 107, 0.5);
}
  /* Royal Banner Styles */
  .royal-banner-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  }

  .royal-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
      radial-gradient(circle at 80% 70%, rgba(165, 55, 253, 0.05) 0%, transparent 20%);
  }

  .royal-banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .royal-banner-content {
    flex: 1;
    padding-right: 2rem;
    animation: fadeInLeft 0.8s ease-out;
  }

  .royal-banner-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
  }

  .royal-crown-icon {
    margin-right: 10px;
    font-size: 2.8rem;
    vertical-align: middle;
  }

  .royal-accent {
    color: #FFD700;
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 2.2rem;
    margin-top: 0.5rem;
  }

  .royal-banner-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .royal-button-wrapper {
    position: relative;
    display: inline-block;
  }

  .royal-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 35px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    color: #FFD700;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
    z-index: 1;
    border: 1px solid rgba(255, 215, 0, 0.3);
  }

  .royal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
    color: #FFF;
  }

  .royal-btn-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }

  .royal-btn:hover .royal-btn-icon {
    transform: translateX(5px);
  }

  .royal-sparkle {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 60px;
  }

  .royal-btn:hover ~ .royal-sparkle {
    opacity: 1;
  }

  .royal-banner-image {
    flex: 1;
    position: relative;
    animation: fadeInRight 0.8s ease-out;
  }

  .royal-thumbnail {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transform: perspective(800px) rotateY(-10deg);
    transition: transform 0.5s ease;
  }

  .royal-banner-image:hover .royal-thumbnail {
    transform: perspective(800px) rotateY(0deg);
  }

  .royal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 3s infinite alternate;
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes pulse {
    0% {
      opacity: 0.3;
      transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
      opacity: 0.5;
      transform: translate(-50%, -50%) scale(1.05);
    }
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .royal-banner-wrapper {
      flex-direction: column;
      text-align: center;
    }
    
    .royal-banner-content {
      padding-right: 0;
      margin-bottom: 3rem;
    }
    
    .royal-banner-subtitle {
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    
    .royal-accent {
      display: inline;
      font-size: 1.8rem;
    }
  }

  @media (max-width: 768px) {
    .royal-banner-title {
      font-size: 2.5rem;
    }
    
    .royal-accent {
      font-size: 1.5rem;
    }
    
    .royal-banner-subtitle {
      font-size: 1rem;
    }
    
    .royal-btn {
      padding: 12px 25px;
      font-size: 1rem;
    }
  }
         
    
  /* Royal About Section Styles */
  .royal-about-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    color: #fff;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }

  .royal-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><path fill="rgba(255,215,0,0.03)" d="M30,10L50,30L70,10L90,30L70,50L90,70L70,90L50,70L30,90L10,70L30,50L10,30L30,10Z"/></svg>');
    opacity: 0.1;
    z-index: 0;
  }

  .royal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
  }

  .royal-about-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
  }

  .royal-about-content {
    flex: 1;
    animation: fadeInLeft 0.8s ease-out;
  }

  .royal-section-header {
    margin-bottom: 2rem;
  }

  .royal-section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
  }

  .royal-crown-decoration {
    color: #FFD700;
    margin: 0 10px;
    font-size: 1.8rem;
    vertical-align: middle;
  }

  .royal-section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
  }

  .royal-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
  }

  .royal-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
  }

  .royal-feature-icon {
    background: rgba(255, 215, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
  }

  .royal-button-wrapper {
    position: relative;
    display: inline-block;
  }

  .royal-about-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    color: #FFD700;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
    z-index: 1;
    border: 1px solid rgba(255, 215, 0, 0.3);
  }

  .royal-about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
    color: #FFF;
  }

  .royal-btn-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }

  .royal-about-btn:hover .royal-btn-arrow {
    transform: translateX(5px);
  }

  .royal-btn-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 12px;
  }

  .royal-about-btn:hover ~ .royal-btn-glow {
    opacity: 1;
  }

  .royal-about-image {
    flex: 1;
    position: relative;
    animation: fadeInRight 0.8s ease-out;
  }

  .royal-image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
  }

  .royal-about-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
  }

  .royal-image-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 2;
  }

  .royal-image-corners {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
  }

  .royal-image-corners .corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #FFD700;
    border-style: solid;
    border-width: 0;
  }

  .corner.top-left {
    top: 10px;
    left: 10px;
    border-top-width: 3px;
    border-left-width: 3px;
  }

  .corner.top-right {
    top: 10px;
    right: 10px;
    border-top-width: 3px;
    border-right-width: 3px;
  }

  .corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-bottom-width: 3px;
    border-left-width: 3px;
  }

  .corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-bottom-width: 3px;
    border-right-width: 3px;
  }

  .royal-about-image:hover .royal-image-frame {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .royal-about-wrapper {
      flex-direction: column;
      text-align: center;
      gap: 3rem;
    }
    
    .royal-section-description {
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    
    .royal-features {
      align-items: center;
    }
  }

  @media (max-width: 768px) {
    .royal-section-title {
      font-size: 2.2rem;
    }
    
    .royal-section-description {
      font-size: 1rem;
    }
    
    .royal-about-btn {
      padding: 12px 25px;
      font-size: 1rem;
    }
    
    .royal-feature-item {
      font-size: 0.9rem;
    }
  }


/* Game Section */
.game-section .row.gy-5 {
  gap: 40px;
}

.game-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.game-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5);
}

.game-item__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-item__content {
  padding: 20px;
  text-align: center;
}

.game-item__content .title {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.invest-info {
  color: var(--light-blue);
  font-size: 0.9rem;
}

/* Why Choose Us Section */
.why-section {
  background: #120913;
  border-radius: 15px;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/images/texture-parchment.jpg') center/cover no-repeat, radial-gradient(circle at top left, rgba(255, 215, 0, 0.2), transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-section .row.gy-5 {
  gap: 40px;
}

.why-section .section-header {
  text-align: left;
}

.why-section .section-header__title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.why-section .section-header p {
  font-size: 1.2rem;
  color: var(--light-blue);
  line-height: 1.7;
}

.why-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.why-item:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}

.why-item__thumb {
  background: linear-gradient(45deg, var(--gold), #FFEB3B);
  color: var(--dark-purple);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.why-item:hover .why-item__thumb {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.why-item__thumb i {
  font-size: 2.5rem;
}

.why-item__content {
  text-align: center;
}

.why-item__content .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.why-item__content p {
  font-size: 1rem;
  color: var(--light-blue);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  background: #120913;
  border-radius: 15px;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(255, 215, 0, 0.2), transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

.faq-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.faq-item__title {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-item__title:hover {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
}

.faq-item__title h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--light-blue);
  margin: 0;
}

.faq-item__title .faq-toggle {
  font-size: 1rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle i::before {
  content: '\f068'; /* Font Awesome minus icon */
}

.faq-item__content {
  display: none;
  padding: 15px 20px;
  color: var(--light-blue);
  font-size: 1rem;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-item__content {
  display: block;
}


/* ✅ Tablet Screens (≤ 991px) */
@media (max-width: 991px) {
  .faq-wrapper {
    grid-template-columns: 1fr; /* single column layout */
    gap: 20px;
  }

  .faq-item__title h5 {
    font-size: 1.05rem;
  }

  .faq-item__content {
    font-size: 0.95rem;
  }
}

/* ✅ Mobile Screens (≤ 576px) */
@media (max-width: 576px) {
  .faq-section {
    
    padding: 40px 15px; /* reduce padding */
    border-radius: 10px;
  }
  .faq-item{
     width: 300px;
  }

  .faq-item__title {
    padding: 10px; /* smaller tap area */
  }

  .faq-item__title h5 {
    font-weight: 400;
    font-size: 0.65rem;
  }

  .faq-item__content {
    padding: 12px 15px;
    font-size: 0.6rem;
  }

  .faq-wrapper {
    gap: 15px;
  }
}

/* ✅ Extra Small Screens (≤ 400px) */
@media (max-width: 400px) {
  .faq-item__title h5 {
    font-size: 0.95rem;
  }
  .faq-item__content {
    font-size: 0.85rem;
  }
}

/* How Section */
.how-section .row.gy-5 {
  gap: 40px;
}

.how-item {
  margin-bottom: 20px;
}

/* Top Players Section */
.top-section .row.gy-5 {
  gap: 40px;
}

.top-investor-slider .investor-item {
  margin: 0 15px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;

}

.testimonial-card {
  background: linear-gradient(135deg, #3b0a45, #1e0420);
  border-radius: 14px;
  padding: 25px;
  color: #fff;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 15px;
  color: #ffd966;
}

.testimonial-card .user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-card img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #ffd966;
}

.quote-icon {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

     /* Footer */
        footer {
            background: linear-gradient(to top, rgba(27, 17, 27, 0.95), rgba(41, 19, 37, 0.9));
            border-top: 1px solid rgba(0, 242, 255, 0.1);
            padding: 3rem 0 2rem;
            text-align: center;
        }

        footer p {
            color: rgba(224, 224, 224, 0.6);
            margin-bottom: 1.5rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-links a {
            color: var(--neon-blue);
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
        }

        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--electric-pink);
            transition: width 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--electric-pink);
        }

        .footer-links a:hover::after {
            width: 100%;
        }
        .partners {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
}
.partners a {
  color: #ffd966; /* warm gold accent */
  text-decoration: none;
  font-weight: 600;
  margin: 0 2px;
}
.partners a:hover { text-decoration: underline; }
.age { margin-left: 6px; color: #f1f1f1; font-weight:700; }
.small { font-size: 0.85rem; line-height:1.2; }
@media (max-width:520px){
  .footer-inner { gap:10px; padding:6px 8px; }
  .sorteroyal-logo { height:38px; }
  .partners { font-size:0.78rem; }
}
.top-players-section {
  padding: 170px 0;
    margin-bottom: -10px;
  background: url(/assets/images/banner/r.avif) center/cover no-repeat;
  color: #fff;
}
/* Shadow overlay on the background image */
.testimonial-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
}
.testimonial-carousel-section .container {
  position: relative; /* Make content above the overlay */
  z-index: 1;
}

.top-players-section .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffcc00;
}

.players-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.players-carousel::-webkit-scrollbar {
  height: 6px;
}

.players-carousel::-webkit-scrollbar-thumb {
  background: #ffcc00;
  border-radius: 3px;
}

.player-card {
  flex: 0 0 auto;
  min-width: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  transition: 0.3s;
}

.player-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.player-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.player-info h6 {
  font-weight: 700;
  font-size: 16px;
  color: #ffcc00;
}

.player-info .coins {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.testimonial-carousel-section {
  margin-top: -100px;
  margin-bottom: -10px;
  padding: 170px 0;
  color: #fff;
}

.testimonial-carousel-section .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffcc00;
}

.testimonial-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.testimonial-carousel::-webkit-scrollbar {
  height: 6px;
}

.testimonial-carousel::-webkit-scrollbar-thumb {
  background: #ffcc00;
  border-radius: 3px;
}

.testimonial-card {
  flex: 0 0 auto;
  min-width: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 20px;
  scroll-snap-align: start;
}

.testimonial-card .quote {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.testimonial-card .user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card .user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .user h6 {
  font-weight: 700;
  color: #ffcc00;
  margin: 0;
}

.testimonial-card .user span {
  font-size: 14px;
  color: #fff;
}
.how-to-play-section {
  padding: 80px 0;
  color: #fff;
}

.how-to-play-section .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffcc00;
}

.how-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.how-card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  min-width: 200px;
  transition: 0.3s;
}

.how-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.how-card .icon-wrapper {
  position: relative;
  font-size: 40px;
  margin-bottom: 15px;
}

.step-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ffcc00;
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-card .card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffcc00;
}

/* Modals */
.custom--modal, .alert-modal, .game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.modal-content, .alert-modal-content, .game-modal-content {
  background: linear-gradient(180deg, var(--royal-purple), var(--dark-purple));
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 500px;
  padding: 25px;
  position: relative;
}
  /* Mobile responsive styles */
  @media (max-width: 991.98px) {
    .header-bottom-area {
      flex-wrap: wrap;
      padding: 10px 0;
    }
    
    .logo {
      order: 1;
    }
    
    .auth-section {
      order: 2;
      margin-left: auto;
    }
    
    .navbar-toggler {
      order: 3;
      padding: 0.25rem 0.5rem;
      font-size: 1.25rem;
      border: none;
      background: transparent;
    }
    
    .mobile-menu {
      flex-direction: column;
      padding: 15px 0;
      background: rgba(0,0,0,0.05);
      margin-top: 10px;
      border-radius: 5px;
    }
    
    .mobile-menu .nav-item {
      padding: 8px 15px;
    }
    
    .user-circle {
      position: relative;
    }
    
    .user-dropdown {
      display: none;
      position: absolute;
      right: 0;
      top: 100%;
      background: white;
      min-width: 160px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      z-index: 1;
      padding: 10px;
      border-radius: 4px;
    }
    
    .user-circle:hover .user-dropdown {
      display: block;
    }
  }
  

  
/* MOBILE (up to 991.98px) */
@media (max-width: 991.98px) {
  .header-bottom-area {
    flex-wrap: nowrap;
    padding: 10px 0;
  }
  
  

  /* Menu items vertically */
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }
  .navbar-toggler {
    margin-left: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    border: none;
    background: transparent;
    
  }
  
  /* Collapse menu styling */
  .mobile-menu {
    flex-direction: column;
    padding: 15px 0;
    background: rgba(0,0,0,0.05);
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .mobile-menu .nav-item {
    padding: 8px 15px;
    text-align: center;
  }

  /* Auth section in mobile */
  .auth-section {
    flex-direction: column;
    align-items: center;
    margin: 10px 0 0;
  }
  
  .auth-section #auth-btn {
    width: 80%;
    text-align: center;
  }
  
  /* User circle in mobile */
  .user-circle {
    position: relative;
    margin-top: 10px;
  }
  
  .user-dropdown {
    display: none;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 100%;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 10px;
    border-radius: 4px;
  }
  
  .user-circle:hover .user-dropdown {
    display: block;
  }
}

/* DESKTOP (992px and above) */
@media (min-width: 992px) {
  /* Auth section horizontal layout in desktop */
  .auth-section {
    flex-direction: row;
    align-items: center;
  }
  
  .mobile-menu .nav-item.d-lg-none {
    display: none !important;
  }
  
  .user-circle {
    position: relative;
  }
  
  .user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 10px;
    border-radius: 4px;
  }
  
  .user-circle:hover .user-dropdown {
    display: block;
  }
}

.game-modal-content {
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header, .alert-modal-header, .game-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 15px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 20px;
}

.modal-header h5, .alert-modal-header h5, .game-modal-header h5 {
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0;
  font-weight: 700;
}

.modal-header .btn-close, .alert-modal-header .btn-close, .game-modal-header .btn-close {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFD700'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707A1 1 0 01.293.293z'/%3e%3c/svg%3e") no-repeat center;
  background-size: 18px;
  background-color: var(--dark-purple);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-header .btn-close:hover, .alert-modal-header .btn-close:hover, .game-modal-header .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-body {
  padding: 20px 0;
}

.auth-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  gap: 10px;
}

.tab-link {
  background: var(--dark-purple);
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  font-weight: 600;
}

.tab-link.active {
  background: linear-gradient(45deg, var(--gold), #FFEB3B);
  color: var(--dark-purple);
}

.tab-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.tab-content {
  display: none;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.tab-content.active {
  display: block;
}

.tab-content input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--white);
  background: var(--dark-purple);
}

.tab-content input:focus {
  outline: none;
  border-color: #FFEB3B;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.tab-content input::placeholder {
  color: #aaa;
}

.form-link a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

.form-link a:hover {
  color: #FFEB3B;
  text-decoration: underline;
}

.user-circle {
  position: relative;
  cursor: pointer;
}

.user-circle span {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: transparent;
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 600;
}
.user-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background: var(--dark-purple);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  min-width: 200px;
}

.user-circle.show .user-dropdown {
  display: block !important;
}

.user-dropdown div,
.user-dropdown a {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.user-dropdown a:hover {
  color: #FFEB3B;
  text-decoration: underline;
}
/* Overlay (dark background) */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

/* Cookie popup fixed at bottom */
/* Cookie popup fixed at bottom */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  width: 90%;
  max-width: 450px;
  background: linear-gradient(180deg, var(--royal-purple), var(--dark-purple));
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  padding: 20px;
  animation-duration: 0.5s;

  /* Text Styling */
  color: var(--light-blue);
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}



.cookie-popup button:hover {
  background: var(--accent-purple);
  color: var(--white);
}


/* Content */
.cookie-content {
  max-width: 600px;
  margin: 0 auto;
  /* text-align: center; */
}

.cookie-content h5 {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.cookie-content p {
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 15px;
  line-height: 1.5;
}
/* Row: text + buttons inline */
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* Text */
.cookie-row p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--white);
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

/* Buttons */
.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons .cmn--btn {
  padding: 8px 18px;
  font-size: 0.9rem;
  white-space: nowrap; /* prevent wrapping */
}

/* ✅ Mobile: stack text above buttons */
@media (max-width: 576px) {
  .cookie-row {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .cookie-buttons .cmn--btn {
    width: 100%;
  }
}



.alert-modal-content p {
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 20px;
  text-align: center;
  line-height: 1.5;
}

.alert-modal-buttons {
  display: flex;
  justify-content: center;
}

.alert-modal-buttons .cmn--btn {
  padding: 10px 25px;
  font-size: 0.95rem;
}

.hub88_game_frame {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
  .banner-content__title {
    font-size: 2.5rem;
  }
  .banner-content__subtitle {
    font-size: 1rem;
  }
  .banner-img {
    max-width: 80%;
  }
  .section-header__title {
    font-size: 1.8rem;
  }
  .modal-content, .alert-modal-content, .game-modal-content {
    max-width: 95%;
    padding: 20px;
  }
 
  .modal-header h5, .alert-modal-header h5, .game-modal-header h5 {
    font-size: 1.4rem;
  }
  .tab-link {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .cmn--btn.active {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .game-item, .why-item, .how-item, .faq-item {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .why-item__thumb {
    width: 80px;
    height: 80px;
  }
  .why-item__thumb i {
    font-size: 2rem;
  }
  .why-item__content .title {
    font-size: 1.3rem;
  }
  .why-item__content p {
    font-size: 0.95rem;
  }
  .faq-item__title h5 {
    font-size: 1.1rem;
  }
  .faq-item__content {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .banner-content__title {
    font-size: 2rem;
  }
  .banner-content__subtitle {
    font-size: 0.9rem;
  }
  .hub88_game_frame {
    height: 50vh;
  }
  .cookie-content h5 {
    font-size: 1.2rem;
  }
  .cookie-content p {
    font-size: 0.85rem;
  }
  .cookie-buttons .cmn--btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .why-section .section-header__title {
    font-size: 2.2rem;
  }
  .why-section .section-header p {
    font-size: 1rem;
  }
  .faq-section .section-header__title {
    font-size: 2.2rem;
  }
}

/* MOBILE (up to 991.98px) */
@media (max-width: 991.98px) {
  .header-bottom-area {
    flex-wrap: nowrap;
    padding: 10px 0;
  }
  
  .logo {
    flex: 1;
  }
  
  .navbar-collapse {
    position: fixed;
    top: 0; /* Full-screen from the top */
    right: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background: var(--dark-purple); /* Consistent background */
    padding: 20px;
    border-radius: 0; /* No border-radius for full-screen */
    margin-top: 0; /* Align with top */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
  }
  
  /* When the menu is open */
  .navbar-collapse.show {
    transform: translateX(0);
  }

 .navbar-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--dark-purple);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 1051; /* above menu */
}

.navbar-close-btn:hover {
  background: #FFEB3B;
  transform: scale(1.1);
}

  
  .close-icon {
    font-weight: bold;
  }
  
  /* Menu items vertically */
  .navbar-nav {
    flex-direction: column;
    gap: 20px; /* Increased gap for spacing */
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.2rem; /* Larger font for readability */
    padding: 15px;
  }
  
  .nav-link::after {
    display: none; /* Remove underline effect */
  }
  
  .navbar-toggler {
    margin-left: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    border: none;
    background: transparent;
  }
  
  /* Collapse menu styling */
  .mobile-menu {
    flex-direction: column;
    padding: 15px 0;
    background: rgba(0,0,0,0.05);
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .mobile-menu .nav-item {
    padding: 8px 15px;
    text-align: center;
  }

  /* Auth section in mobile */
  .auth-section {
    flex-direction: column;
    align-items: center;
    margin: 20px 0; /* Adjusted margin */
  }
  
  .auth-section #auth-btn {
    width: 80%;
    text-align: center;
  }
  
  /* User circle in mobile */
  .user-circle {
    position: relative;
    margin-top: 10px;
  }
  
  .user-dropdown {
    display: none;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 100%;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 10px;
    border-radius: 4px;
  }
  
  .user-circle:hover .user-dropdown {
    display: block;
  }
}