/* style/resources-mega-casino-bonuses-explained.css */
.page-resources-mega-casino-bonuses-explained {
  --primary-color: #1A1A2E;
  --secondary-color: #E94560;
  --text-light: #E0E0E0;
  --text-dark: #1A1A2E;
  --white: #FFFFFF;
  --spacing-sm: 15px;
  --spacing-md: 30px;
  --spacing-lg: 60px;
  --border-radius: 8px;
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  line-height: 1.6;
}

.page-resources-mega-casino-bonuses-explained a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources-mega-casino-bonuses-explained a:hover {
  text-decoration: underline;
}

.page-resources-mega-casino-bonuses-explained__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.page-resources-mega-casino-bonuses-explained__section {
  padding: var(--spacing-lg) 0;
}

.page-resources-mega-casino-bonuses-explained__section--dark {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-mega-casino-bonuses-explained__section--light {
  background-color: #2e2e4a; /* Slightly lighter than primary for contrast */
  color: var(--text-light);
}

.page-resources-mega-casino-bonuses-explained h1,
.page-resources-mega-casino-bonuses-explained h2,
.page-resources-mega-casino-bonuses-explained h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.page-resources-mega-casino-bonuses-explained h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-resources-mega-casino-bonuses-explained h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.page-resources-mega-casino-bonuses-explained h3 {
  font-size: 1.8em;
  margin-bottom: var(--spacing-sm);
}

.page-resources-mega-casino-bonuses-explained p {
  margin-bottom: var(--spacing-sm);
}

.page-resources-mega-casino-bonuses-explained ul {
  list-style-type: disc;
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.page-resources-mega-casino-bonuses-explained ul li {
  margin-bottom: 5px;
}

/* Hero Section */
.page-resources-mega-casino-bonuses-explained__hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a1f3a 100%); /* Darker gradient for depth */
  padding: var(--spacing-lg) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-resources-mega-casino-bonuses-explained__hero-content {
  max-width: 800px;
  z-index: 1;
  padding: var(--spacing-md);
}

.page-resources-mega-casino-bonuses-explained__hero-content p {
  font-size: 1.1em;
  margin-bottom: var(--spacing-md);
}

.page-resources-mega-casino-bonuses-explained__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  overflow: hidden;
}

.page-resources-mega-casino-bonuses-explained__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transform: scale(1.1);
}

/* Buttons */
.page-resources-mega-casino-bonuses-explained__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  border: none;
  cursor: pointer;
}

.page-resources-mega-casino-bonuses-explained__btn--primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.page-resources-mega-casino-bonuses-explained__btn--primary:hover {
  background-color: #d43d54; /* Slightly darker red */
  transform: translateY(-2px);
}

.page-resources-mega-casino-bonuses-explained__btn--secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-mega-casino-bonuses-explained__btn--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Grid Layout */
.page-resources-mega-casino-bonuses-explained__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.page-resources-mega-casino-bonuses-explained__grid-item {
  background-color: #2e2e4a; /* Slightly lighter than primary for card background */
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-mega-casino-bonuses-explained__grid-item h3 {
  color: var(--secondary-color);
  margin-top: 0;
}

.page-resources-mega-casino-bonuses-explained__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
}

/* Content Blocks */
.page-resources-mega-casino-bonuses-explained__content-block {
  background-color: var(--primary-color);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-resources-mega-casino-bonuses-explained__content-block h3 {
  color: var(--secondary-color);
  margin-top: 0;
}

.page-resources-mega-casino-bonuses-explained__inline-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.page-resources-mega-casino-bonuses-explained__inline-image--right {
  float: right;
  margin-left: var(--spacing-sm);
  max-width: 300px;
}

/* Game Grid */
.page-resources-mega-casino-bonuses-explained__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.page-resources-mega-casino-bonuses-explained__game-item {
  background-color: var(--primary-color);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-mega-casino-bonuses-explained__game-item h3 {
  color: var(--white);
  margin-top: 0;
  text-align: center;
}

.page-resources-mega-casino-bonuses-explained__full-width-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-top: var(--spacing-lg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.page-resources-mega-casino-bonuses-explained__cta {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: var(--spacing-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-mega-casino-bonuses-explained__cta-content {
  z-index: 1;
  position: relative;
}

.page-resources-mega-casino-bonuses-explained__cta h2 {
  color: var(--white);
  font-size: 2.5em;
}

.page-resources-mega-casino-bonuses-explained__cta p {
  font-size: 1.2em;
  margin-bottom: var(--spacing-lg);
}

.page-resources-mega-casino-bonuses-explained__cta-buttons {
  margin-top: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
}

.page-resources-mega-casino-bonuses-explained__cta-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.15;
  height: 100%;
  width: auto;
  object-fit: cover;
  transform: translateX(20%) scale(1.2);
  filter: blur(3px);
  z-index: 0;
}

.page-resources-mega-casino-bonuses-explained__final-note {
  text-align: center;
  font-style: italic;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-mega-casino-bonuses-explained h1 {
    font-size: 2.2em;
  }

  .page-resources-mega-casino-bonuses-explained h2 {
    font-size: 1.8em;
  }

  .page-resources-mega-casino-bonuses-explained h3 {
    font-size: 1.5em;
  }

  .page-resources-mega-casino-bonuses-explained__inline-image--right {
    float: none;
    margin: var(--spacing-sm) auto;
    max-width: 100%;
  }

  .page-resources-mega-casino-bonuses-explained__grid,
  .page-resources-mega-casino-bonuses-explained__game-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-mega-casino-bonuses-explained__cta h2 {
    font-size: 2em;
  }

  .page-resources-mega-casino-bonuses-explained__hero {
    min-height: 400px;
    padding: var(--spacing-md) 0;
  }
}

@media (max-width: 480px) {
  .page-resources-mega-casino-bonuses-explained h1 {
    font-size: 1.8em;
  }

  .page-resources-mega-casino-bonuses-explained h2 {
    font-size: 1.6em;
  }

  .page-resources-mega-casino-bonuses-explained__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-resources-mega-casino-bonuses-explained__cta h2 {
    font-size: 1.5em;
  }

  .page-resources-mega-casino-bonuses-explained__cta p {
    font-size: 1em;
  }
}