.page-index-safety-security {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
}

.page-index-safety-security__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  text-align: center;
  overflow: hidden;
}

.page-index-safety-security__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-index-safety-security__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-index-safety-security__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #F3F8FF;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-index-safety-security__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #F3F8FF;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-index-safety-security__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-index-safety-security__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-index-safety-security__btn-primary,
.page-index-safety-security__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-index-safety-security__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-safety-security__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-safety-security__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF;
  border: 2px solid #244D84; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-safety-security__btn-secondary:hover {
  background: #1B3357; /* Divider */
  border-color: #4FA8FF; /* Glow */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-safety-security__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #AFC4E8; /* Text Secondary for general text */
  line-height: 1.7;
}

.page-index-safety-security__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-index-safety-security__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2B73F6 0%, #F2C14E 100%); /* Blue Gold gradient */
  border-radius: 2px;
}

.page-index-safety-security__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: justify;
}

.page-index-safety-security__text-block strong {
  color: #F3F8FF;
}

.page-index-safety-security__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-index-safety-security__card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #AFC4E8; /* Text Secondary */
}

.page-index-safety-security__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-safety-security__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-safety-security__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-index-safety-security__card-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-index-safety-security__features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.page-index-safety-security__feature-item {
  background-color: #08162B; /* Deep Navy */
  border-left: 5px solid #F2C14E; /* Gold */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-safety-security__feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-index-safety-security__feature-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

.page-index-safety-security__responsible-gaming-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-index-safety-security__contact-info {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-safety-security__contact-info p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-index-safety-security__contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-safety-security__contact-info li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #AFC4E8; /* Text Secondary */
}

.page-index-safety-security__contact-info li::before {
  content: '•';
  color: #F2C14E; /* Gold */
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-index-safety-security__text-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-safety-security__text-link:hover {
  color: #2B73F6;
  text-decoration: underline;
}

.page-index-safety-security__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-index-safety-security__license-info {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #1B3357; /* Divider */
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-safety-security__license-info p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-index-safety-security__license-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-safety-security__license-info li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #AFC4E8; /* Text Secondary */
}

.page-index-safety-security__license-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-safety-security__video-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  background-color: #000;
  box-sizing: border-box; /* Ensure padding is included in width */
}

.page-index-safety-security__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-index-safety-security__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-index-safety-security__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 60px;
}

.page-index-safety-security__faq-list {
  margin-top: 40px;
}

.page-index-safety-security__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-index-safety-security__faq-item[open] {
  background-color: #08162B; /* Deep Navy */
  border-color: #4FA8FF; /* Glow */
}

.page-index-safety-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  list-style: none; /* For details/summary */
}

.page-index-safety-security__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-safety-security__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-index-safety-security__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #F2C14E; /* Gold */
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-index-safety-security__faq-item[open] .page-index-safety-security__faq-toggle {
  transform: rotate(45deg);
}

.page-index-safety-security__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-index-safety-security {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-safety-security__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-index-safety-security__hero-description {
    font-size: 1rem;
  }

  .page-index-safety-security__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-safety-security__btn-primary,
  .page-index-safety-security__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-safety-security__cta-buttons,
  .page-index-safety-security__button-group,
  .page-index-safety-security__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-safety-security__section-title {
    font-size: 2rem;
  }

  .page-index-safety-security__text-block {
    font-size: 1rem;
  }

  .page-index-safety-security__card,
  .page-index-safety-security__feature-item,
  .page-index-safety-security__contact-info,
  .page-index-safety-security__license-info {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-index-safety-security__card-title {
    font-size: 1.3rem;
  }

  .page-index-safety-security__feature-title {
    font-size: 1.5rem;
  }

  .page-index-safety-security__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-index-safety-security__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
  }

  /* Image and video responsive styles */
  .page-index-safety-security img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-safety-security__section,
  .page-index-safety-security__card,
  .page-index-safety-security__container,
  .page-index-safety-security__video-wrapper,
  .page-index-safety-security__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-index-safety-security__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-safety-security__content-area {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-safety-security video,
  .page-index-safety-security__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-safety-security__video-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-safety-security__video-container,
  .page-index-safety-security__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-index-safety-security__video-link {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

/* Desktop specific video wrapper width */
.page-index-safety-security__video-wrapper {
  width: 100%; /* Ensure this is present for desktop */
}

/* Ensure images within content sections are not small */
.page-index-safety-security .page-index-safety-security__content-area img {
  min-width: 200px;
  min-height: 200px;
}