body {
  font-family: "Poppins", sans-serif;
  background-color: #1a1a2e;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.fixed-age-disclaimer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060;
  background-color: #e94560; /* Accent Red */
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

/* General Styles */
.container {
  max-width: 1200px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e94560; /* Accent Red */
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #e94560;
  border-radius: 2px;
}

.bg-dark-alt {
  background-color: #121220;
}

.bg-dark-card {
  background-color: #2a2a4a;
}

.bg-dark-input {
  background-color: #2a2a4a !important;
}

.text-primary {
  color: #e94560 !important;
}

.btn-primary {
  background-color: #e94560;
  border-color: #e94560;
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #d4324c;
  border-color: #d4324c;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
  background-color: #0f3460;
  border-color: #0f3460;
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #0a274d;
  border-color: #0a274d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.4);
}

.btn-success {
  background-color: #53a653;
  border-color: #53a653;
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-success:hover {
  background-color: #428542;
  border-color: #428542;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(83, 166, 83, 0.4);
}

.btn-outline-secondary {
  color: #e0e0e0;
  border-color: #0f3460;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-secondary:hover {
  background-color: #0f3460;
  color: #fff;
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.4);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Header */
.main-header {
  background-color: #0f3460; /* Dark Blue */
  position: sticky;
  top: 38px; /* Below the fixed 18+ disclaimer */
  width: 100%;
  z-index: 1050;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .logo {
  height: 40px;
}

.main-header .site-name {
  color: #e0e0e0;
  font-weight: 700;
}

.main-nav .nav-link {
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #e94560 !important; /* Accent Red */
}

/* Hero Section */
.hero-section {
  background-image: url("media/pics/hero-background-cards.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  min-height: 80vh;
  position: relative;
  overflow: hidden;
  padding-top: 60px; /* Adjust for fixed header */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFadeIn 0.8s forwards ease-out 0.3s;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFadeIn 0.8s forwards ease-out 0.6s;
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* How to Play Section */
.how-to-play-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.how-to-play-video-wrapper iframe,
.how-to-play-video-wrapper .how-to-play-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
  border-radius: 0.5rem;
}

.play-button-overlay:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.play-button-overlay i {
  color: #e94560;
  transition: transform 0.3s ease;
}

.play-button-overlay:hover i {
  transform: scale(1.1);
}

/* Game Selection */
.game-card {
  background-color: #2a2a4a;
  border: 1px solid #0f3460;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.game-card .game-img {
  height: 320px;
  object-fit: contain;
  padding: 10px;
  background-color: #0a274d;
  width: 100%;
  border-bottom: 1px solid #0f3460;
}

.game-card .card-title {
  color: #e94560;
  font-weight: 600;
}

.game-card .card-text {
  color: #a0a0a0;
}

/* Game Modal */
.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* Darkened background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1070;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-modal.show {
  visibility: visible;
  opacity: 1;
}

.game-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.game-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-game-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1071;
  transition: transform 0.3s ease, color 0.3s ease;
}

.close-game-modal-btn:hover {
  transform: rotate(90deg);
  color: #e94560;
}

/* Achievements */
.achievement-card {
  background-color: #2a2a4a;
  border: 1px solid #0f3460;
  transition: all 0.5s ease;
}

.achievement-card i {
  font-size: 3.5rem;
}

.achievement-card.locked {
  filter: grayscale(100%);
  opacity: 0.6;
}

.achievement-card.locked i {
  color: #a0a0a0;
}

.achievement-card.unlocked {
  filter: grayscale(0%);
  opacity: 1;
}

.achievement-card.unlocked i {
  color: #53a653; /* Accent Green */
}

/* Daily Challenges */
.daily-challenges-list .list-group-item {
  border-color: #0f3460;
  border-left: none;
  border-right: none;
}

.daily-challenges-list .list-group-item:first-child {
  border-top: none;
}

.daily-challenges-list .list-group-item:last-child {
  border-bottom: none;
}

.challenge-status i {
  font-size: 1.2rem;
}

.progress {
  height: 25px;
  background-color: #0f3460;
  border-radius: 0.5rem;
  overflow: hidden;
}

.progress-bar {
  background-color: #53a653;
  transition: width 0.6s ease-in-out;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#claimRewardBtn.pulsate {
  animation: pulsate 1.5s infinite;
}

@keyframes pulsate {
  0% {
    box-shadow: 0 0 0 0 rgba(83, 166, 83, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(83, 166, 83, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(83, 166, 83, 0);
  }
}

/* FAQ Social */
.accordion-item {
  border: 1px solid #0f3460;
}

.accordion-button {
  color: #e0e0e0 !important;
  background-color: #2a2a4a !important;
  font-weight: 600;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  color: #e94560 !important;
  background-color: #1a1a2e !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #e94560;
}

.accordion-body {
  background-color: #1a1a2e;
  border-top: 1px solid #0f3460;
  color: #a0a0a0;
}

/* Testimonials Social */
.testimonial-card {
  background-color: #2a2a4a;
  border: 1px solid #0f3460;
  padding: 2rem;
  margin-bottom: 2rem;
}

.testimonial-card .avatar-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 3px solid #e94560;
}

.testimonial-card .lead {
  font-style: italic;
  color: #e0e0e0;
}

.testimonial-card .blockquote-footer {
  color: #a0a0a0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #e94560;
  border-radius: 50%;
  padding: 1.2rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* Review Form Modal */
.modal-content {
  background-color: #2a2a4a;
  border: 1px solid #0f3460;
}

.modal-header {
  border-bottom: none;
}

.modal-title {
  color: #e94560;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.form-control.bg-dark-input {
  background-color: #1a1a2e !important;
  border-color: #0f3460 !important;
  color: #e0e0e0 !important;
}

.form-control.bg-dark-input::placeholder {
  color: #a0a0a0;
  opacity: 0.7;
}

.form-control:focus {
  border-color: #e94560 !important;
  box-shadow: 0 0 0 0.25rem rgba(233, 69, 96, 0.25) !important;
}

.invalid-feedback {
  color: #e94560;
}

/* Disclaimer Block */
.disclaimer-block {
  background-color: #0f3460; /* Dark Blue */
  border-top: 5px solid #e94560;
  border-bottom: 5px solid #e94560;
  padding: 3rem 0;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.disclaimer-content {
  background-color: #1a1a2e;
  border: 1px solid #e94560;
  padding: 2.5rem;
  color: #e0e0e0;
}

.disclaimer-content h3 {
  color: #e94560; /* Accent Red */
  font-weight: 700;
}

.disclaimer-content i {
  color: #e94560;
}

/* Footer */
.main-footer {
  background-color: #0f3460; /* Dark Blue */
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #a0a0a0;
  font-size: 0.9rem;
}

.main-footer .logo-footer {
  height: 35px;
}

.main-footer .site-name {
  color: #e0e0e0;
  font-weight: 600;
}

.main-footer .footer-links a {
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.main-footer .footer-links a:hover {
  color: #e94560;
}

.responsible-gaming-logos {
  gap: 1.5rem;
}

.responsible-gaming-logos .footer-logo {
  max-width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

.responsible-gaming-logos .footer-18-plus {
  max-width: 50px;
  height: auto;
  filter: invert(10%) sepia(90%) saturate(6000%) hue-rotate(340deg)
    brightness(90%) contrast(100%); /* Red filter */
}

/* Age Verification Modal */
.age-verification-modal,
.cookie-consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1080;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-verification-modal.show,
.cookie-consent-modal.show {
  visibility: visible;
  opacity: 1;
}

.age-verification-content,
.cookie-consent-content {
  background-color: #2a2a4a;
  color: #e0e0e0;
  padding: 2rem;
  border-radius: 0.75rem;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.age-verification-content h3,
.cookie-consent-content h4 {
  color: #e94560;
  font-weight: 600;
}

.cookie-categories .form-check-label {
  color: #e0e0e0;
}

.cookie-categories .form-check-input:checked {
  background-color: #53a653;
  border-color: #53a653;
}

.cookie-categories .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(83, 166, 83, 0.25);
}

/* Scroll Lock */
body.modal-open {
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .main-header .container {
    flex-direction: row;
  }

  .main-nav {
    margin-top: 1rem;
  }

  .main-nav .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav .nav-item {
    margin: 0 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .how-to-play-video-wrapper {
    margin-bottom: 2rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-links a {
    margin: 0.5rem 0 !important;
  }

  .main-footer .row {
    flex-direction: column;
  }

  .main-footer .col-md-4 {
    text-align: center !important;
  }

  .main-footer
    .d-flex.align-items-center.justify-content-center.justify-content-md-start {
    justify-content: center !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .game-card .game-img {
    height: 150px;
  }

  .responsible-gaming-logos .footer-logo {
    max-width: 100px;
  }

  .fixed-age-disclaimer {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }

  .main-header {
    top: 32px;
  }

  .age-verification-content,
  .cookie-consent-content {
    padding: 1.5rem;
  }

  .close-game-modal-btn {
    font-size: 2rem;
    top: 10px;
    right: 10px;
  }
}
/* Parent container for the trust pillar unit */
.trustPillarUnit {
  padding-top: 2.5rem; /* Top padding for the section */
  padding-bottom: 2.5rem; /* Bottom padding for the section */
  padding-left: 1.5rem; /* Left padding for content */
  padding-right: 1.5rem; /* Right padding for content */
  max-width: 760px; /* Max width for content readability */
  margin-left: auto; /* Center the block horizontally */
  margin-right: auto; /* Center the block horizontally */
}

/* Headings within the trust pillar unit */
.trustPillarUnit h1 {
  font-size: 2.25rem; /* Moderate size for main heading */
  line-height: 1.2; /* Tighter line height for headings */
  margin-top: 2.5rem; /* Space above heading */
  margin-bottom: 1.25rem; /* Space below heading */
  font-weight: 700; /* Bold font weight */
}

.trustPillarUnit h2 {
  font-size: 1.875rem; /* Slightly smaller than h1 */
  line-height: 1.25;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.trustPillarUnit h3 {
  font-size: 1.5rem; /* Standard body heading size */
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600; /* Slightly less bold than h1/h2 */
}

.trustPillarUnit h4 {
  font-size: 1.25rem; /* Sub-heading size */
  line-height: 1.4;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.trustPillarUnit h5 {
  font-size: 1.125rem; /* Smallest heading, often for minor sections */
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-weight: 500; /* Medium font weight */
}

/* Paragraphs within the trust pillar unit */
.trustPillarUnit p {
  font-size: 1.125rem; /* Comfortable reading size */
  line-height: 1.7; /* Generous line height for readability */
  margin-bottom: 1.5rem; /* Space between paragraphs */
}

/* Unordered lists within the trust pillar unit */
.trustPillarUnit ul {
  list-style-type: disc; /* Standard bullet points */
  margin-top: 1.5rem; /* Space above the list */
  margin-bottom: 1.5rem; /* Space below the list */
  padding-left: 1.75rem; /* Indent for bullet points */
}

/* List items within the trust pillar unit */
.trustPillarUnit li {
  font-size: 1.125rem; /* Same font size as paragraphs for consistency */
  line-height: 1.7rgb(255, 255, 255)nsistent line height */
  margin-bottom: 0.75rem; /* Space between list items */
}

#cookieConsentModal {
  .d-flex.justify-content-between {
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center !important;
  }

  .cookie-consent-content {
    max-height: 90vh;
    overflow: auto;
  }

    .btn-outline-secondary {
    color: #e0e0e0;
    border-color: #e6e6e6;
    padding: 12px 32px;
    }
}


#daily-challenges h4{
    color: #fff !important;
}

.accordion-button::after{
    filter: invert(1);
}

@media (max-width: 767px){
    .fixed-age-disclaimer{
        position: relative !important;
    }

    .main-header{
        position:  relative !important;
        top: 0 !important;
    }
}

.navbar-toggler {
    font-size: 1.25rem;
  }

  /* Иконка бургера белая */
  .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* Стили для моб меню */
  @media (max-width: 991.98px) {
    #mainNav {
      background-color: #111;
      padding: 1rem 0;
      border-radius: 10px;
    }

    .nav-link {
      padding: 0.75rem 1rem;
      font-size: 1.1rem;
    }

    .nav-link:hover {
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 5px;
    }
  }

  .navbar-collapse{
    position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  }

  @media (max-width: 992px){
    .desctop{
        display: none;
    }
  }

  .desctop{
    .navbar-nav{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        gap: 25px;
    }
  }

  .wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .main{
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  @media (max-width: 768px){
    .carousel-control-next,
    .carousel-control-prev{
        display: none;
    }
  }