body {
  font-family: "Poppins", sans-serif;
  background-color: #1a1a1a;
  color: #f8f9fa;
  line-height: 1.6;
}

.text-primary {
  color: #e91e63 !important; /* Rose vif */
}

.bg-primary {
  background-color: #e91e63 !important;
}

.userMessage {
  text-align: center;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.btn-primary {
  background-color: #e91e63;
  border-color: #e91e63;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #d81b60;
  border-color: #d81b60;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: #e91e63;
  border-color: #e91e63;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #e91e63;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg-black {
  background-color: #000000 !important;
}

.bg-dark {
  background-color: #1a1a1a !important;
}

.bg-secondary-dark {
  background-color: #2a2a2a !important;
}

.bg-dark-light {
  background-color: #222222 !important;
}

.text-secondary {
  color: #cccccc !important;
}

.navbar-brand .logo {
  height: 40px;
  width: auto;
  filter: invert(1) brightness(1.5);
}

.navbar-brand .site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e91e63;
  background: linear-gradient(45deg, #e91e63, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.navbar-nav .nav-link {
  color: #f8f9fa !important;
  font-weight: 600;
  margin-right: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #e91e63 !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #e91e63;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #e91e63;
  background: linear-gradient(45deg, #e91e63, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("graphics/uploads/ludiverse_bg_pattern_2.png") center center / cover
      no-repeat;
  background-attachment: fixed;
}

.hero-title {
  word-break: break-all;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-description {
  color: #e0e0e0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

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

.hero-img {
  max-height: 450px;
  object-fit: contain;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

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

/* Rating List */
.rating-card {
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.rating-card:hover {
  border-color: #e91e63;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.rating-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #444;
  padding: 5px;
  background-color: #000;
  transition: transform 0.3s ease;
}

.site-link-img:hover .rating-logo {
  transform: scale(1.05);
}

.bonus-info {
  color: #ff0000;
  font-weight: 600;
}

.toggle-details {
  color: #e91e63 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toggle-details:hover {
  color: #ff0000 !important;
}

.toggle-details i {
  transition: transform 0.3s ease;
}

.toggle-details[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Comparison Table */
.comparison-table {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
}

.comparison-table th,
.comparison-table td {
  border-color: #333;
  padding: 1rem;
}

.comparison-table th {
  background-color: #000;
  color: #e91e63;
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background-color: #3a3a3a !important;
}

.toggle-detail-cell {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-detail-cell:hover {
  background-color: #444 !important;
}

.toggle-detail-cell i {
  transition: transform 0.3s ease;
}

.toggle-detail-cell.expanded i {
  transform: rotate(45deg);
}

.detail-row {
  display: none;
  background-color: #222 !important;
}

.detail-row.visible {
  display: table-row;
  animation: fadeInHeight 0.3s ease-out forwards;
}

@keyframes fadeInHeight {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 100px;
  } /* Adjust max-height as needed */
}

/* User Reviews */
.review-card {
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: #ff0000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid #e91e63;
}

.review-text {
  color: #e0e0e0;
}

.developer-reply {
  border-left: 3px solid #e91e63;
}

/* Editor Rating */
.editor-card {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border: 1px solid #ff0000;
  color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.editor-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(233, 30, 99, 0.1) 0%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: transform 0.5s ease-out;
}

.editor-card:hover::before {
  transform: rotate(90deg);
}

.editor-card .display-4 {
  color: #e91e63;
}

/* Rating Criteria */
.criteria-list .list-group-item {
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.criteria-list .list-group-item:hover {
  border-color: #e91e63;
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.criteria-list .list-group-item h5 {
  color: #e91e63;
}

/* FAQ Section */
.accordion-item {
  border: 1px solid #333;
}

.accordion-button {
  font-weight: 600;
  color: #f8f9fa !important;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s ease;
}

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

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

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

.accordion-body {
  background-color: #2a2a2a;
  border-top: 1px solid #333;
}

/* Contact Form */
.contact-form-block {
  border: 1px solid #333;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.form-label {
  color: #e0e0e0;
}

.form-control {
  background-color: #333;
  border: 1px solid #555;
  color: #f8f9fa;
}

.form-control:focus {
  background-color: #3a3a3a;
  border-color: #e91e63;
  box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
  color: #f8f9fa;
}

.form-control::placeholder {
  color: #a0a0a0;
}

.invalid-feedback {
  color: #ff0000;
}

/* Disclaimer Block */
.disclaimer-block {
  background-color: #111111;
  border-top: 5px solid #ff0000;
  border-bottom: 5px solid #ff0000;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.disclaimer-content {
  background-color: #2a2a2a;
  border: 1px solid #444;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.disclaimer-title {
  color: #ff0000;
  font-weight: 700;
}

.disclaimer-block h4 {
  color: #e91e63;
  font-weight: 600;
}

.disclaimer-block ul li a {
  color: #e91e63 !important;
}

/* Footer */
footer {
  border-top: 1px solid #333;
}

footer .logo {
  height: 35px;
  width: auto;
  filter: invert(1) brightness(1.5);
}

footer .site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e91e63;
  background: linear-gradient(45deg, #e91e63, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links li a {
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #e91e63 !important;
}

.footer-logos {
  gap: 20px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2);
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: brightness(1) grayscale(0);
}

.footer-logo-18plus {
  max-width: 60px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.2);
}

/* Mobile Footer Bar */
.mobile-footer-bar {
  border-top: 1px solid #333;
  z-index: 1030;
}

.mobile-footer-bar a {
  padding: 8px 0;
  transition: color 0.3s ease;
}

.mobile-footer-bar a:hover {
  color: #e91e63 !important;
}

/* Modal Overrides */
.modal-content {
  background-color: #1a1a1a;
  border: 1px solid #333;
}

.modal-header {
  border-bottom: 1px solid #333;
}

.modal-title {
  color: #e91e63;
}

.modal-body p,
.modal-body small {
  color: #e0e0e0;
}

.form-check-label {
  color: #f8f9fa;
}

.form-check-input:checked {
  background-color: #e91e63;
  border-color: #e91e63;
}

.form-check-input:focus {
  border-color: #e91e63;
  box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
}

.btn-secondary {
  background-color: #444;
  border-color: #444;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #555;
  border-color: #555;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #1a1a1a;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 5px;
  }
  .navbar-nav .nav-link {
    margin-right: 0;
    padding: 0.5rem 0;
  }
  .navbar-nav .nav-link::after {
    display: none;
  }
  .hero-section .col-md-6 {
    text-align: center;
  }
  .hero-img {
    margin-bottom: 2rem;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  .footer-links li {
    margin-right: 0 !important;
    margin-bottom: 0.5rem !important;
  }
}
.securePolicyGrid {
  /* Top margin for spacing the grid from elements above */
  margin-top: 3rem;
  /* Horizontal padding to prevent content from touching screen edges */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  /* Optional: Max width to keep content readable on large screens and center it */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.securePolicyGrid h1 {
  /* Heading 1 font size, not overly large */
  font-size: 2rem; /* Approx. 32px if base is 16px */
  /* Line height for readability */
  line-height: 1.2;
  /* Spacing above and below the heading */
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  /* Default font weight for headings */
  font-weight: 700;
}

.securePolicyGrid h2 {
  /* Heading 2 font size */
  font-size: 1.75rem; /* Approx. 28px */
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.securePolicyGrid h3 {
  /* Heading 3 font size */
  font-size: 1.5rem; /* Approx. 24px */
  line-height: 1.3;
  margin-top: 1.75rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.securePolicyGrid h4 {
  /* Heading 4 font size */
  font-size: 1.25rem; /* Approx. 20px */
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.securePolicyGrid h5 {
  /* Heading 5 font size */
  font-size: 1.1rem; /* Approx. 17.6px */
  line-height: 1.5;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.securePolicyGrid p {
  /* Standard paragraph font size */
  font-size: 1rem; /* Base font size, e.g., 16px */
  /* Line height for optimal text readability */
  line-height: 1.6;
  /* Spacing below paragraphs */
  margin-bottom: 1rem;
}

.securePolicyGrid ul,
.securePolicyGrid ol {
  /* Top and bottom margin for lists */
  margin-top: 1rem;
  margin-bottom: 1rem;
  /* Left padding for bullet/number indentation */
  padding-left: 1.5rem;
}

.securePolicyGrid ul {
  /* Default list style for unordered lists */
  list-style-type: disc;
}

.securePolicyGrid ol {
  /* Default list style for ordered lists */
  list-style-type: decimal;
}

.securePolicyGrid li {
  /* Font size for list items, inheriting from parent or explicitly set */
  font-size: 1rem;
  /* Line height for readability within list items */
  line-height: 1.6;
  /* Spacing between individual list items */
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.8rem;
  }
}
