/* Homepage Trial Game CSS boilerplate - Required to be included literally */
@media (max-width: 1023px) {
  .page-responsible-gaming__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-responsible-gaming__hero-brand,
  .page-responsible-gaming__hero-jackpot {
    display: none !important;
  }
  .page-responsible-gaming__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-responsible-gaming__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-responsible-gaming__game-trial-topbar,
  .page-responsible-gaming__game-trial-bottombar {
    display: none !important;
  }
  .page-responsible-gaming__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-responsible-gaming__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-responsible-gaming__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-responsible-gaming__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-responsible-gaming__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-responsible-gaming__hero-brand,
  .page-responsible-gaming__hero-jackpot,
  .page-responsible-gaming__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-responsible-gaming__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-responsible-gaming__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-responsible-gaming__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-responsible-gaming__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-responsible-gaming__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}
/* End of Homepage Trial Game CSS boilerplate */

/* General page styles for responsible-gaming */
.page-responsible-gaming {
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some bottom padding to main content */
}

/* Hero Section */
.page-responsible-gaming__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for first section */
  margin-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
}

.page-responsible-gaming__hero-image-container {
  width: 100%;
  max-width: 1280px; /* Constrain image width */
  margin-bottom: 20px;
  overflow: hidden;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-responsible-gaming__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-responsible-gaming__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 700;
  color: #F2C14E; /* Main color for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-responsible-gaming__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Buttons */
.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-responsible-gaming__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
  margin-right: 15px;
}

.page-responsible-gaming__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-responsible-gaming__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color for secondary button text */
  border: 1px solid #F2C14E; /* Main color for border */
}

.page-responsible-gaming__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}