:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg-color: #D32F2F;
  --background-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

.page-blog-6655-bet-beginner-guide {
  color: var(--text-main-color, #FFF5E1); /* Default light text */
  background-color: var(--background-color, #B71C1C); /* Main background color */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.page-blog-6655-bet-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-6655-bet-beginner-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-top: 10px; /* Small padding, not --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-red-color, #7A0E0E); /* Use a brand color for hero background */
  color: var(--text-main-color, #FFF5E1);
}

.page-blog-6655-bet-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure image wrapper is full width */
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-6655-bet-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog-6655-bet-beginner-guide__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px; /* Constrain content width */
}

.page-blog-6655-bet-beginner-guide__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold-color, #F4D34D); /* Gold color for title */
  line-height: 1.2;
}

.page-blog-6655-bet-beginner-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF5E1);
}

.page-blog-6655-bet-beginner-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-6655-bet-beginner-guide__btn-primary,
.page-blog-6655-bet-beginner-guide__btn-secondary,
.page-blog-6655-bet-beginner-guide__step-card-button,
.page-blog-6655-bet-beginner-guide__game-category-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-blog-6655-bet-beginner-guide__btn-primary,
.page-blog-6655-bet-beginner-guide__step-card-button,
.page-blog-6655-bet-beginner-guide__game-category-button {
  background: var(--button-gradient, linear-gradient(180deg, #FFD86A 0%, #E6B800 100%));
  color: #333333; /* Dark text for gold button for contrast */
  border: 2px solid var(--border-color, #F2B544);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-6655-bet-beginner-guide__btn-primary:hover,
.page-blog-6655-bet-beginner-guide__step-card-button:hover,
.page-blog-6655-bet-beginner-guide__game-category-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog-6655-bet-beginner-guide__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #FFF5E1);
  border: 2px solid var(--border-color, #F2B544);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-6655-bet-beginner-guide__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.page-blog-6655-bet-beginner-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-6655-bet-beginner-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--gold-color, #F4D34D); /* Gold color for section titles */
  font-weight: 700;
}

.page-blog-6655-bet-beginner-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF5E1);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Step Cards */
.page-blog-6655-bet-beginner-guide__step-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-blog-6655-bet-beginner-guide__step-card,
.page-blog-6655-bet-beginner-guide__game-category-card,
.page-blog-6655-bet-beginner-guide__safety-feature-card {
  background-color: var(--card-bg-color, #D32F2F); /* Card BG */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main-color, #FFF5E1);
  border: 1px solid var(--border-color, #F2B544);
}

.page-blog-6655-bet-beginner-guide__step-card-image,
.page-blog-6655-bet-beginner-guide__game-category-image,
.page-blog-6655-bet-beginner-guide__safety-feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-6655-bet-beginner-guide__step-card-title,
.page-blog-6655-bet-beginner-guide__game-category-title,
.page-blog-6655-bet-beginner-guide__safety-feature-title {
  font-size: 1.5em;
  color: var(--gold-color, #F4D34D);
  margin-bottom: 15px;
}

.page-blog-6655-bet-beginner-guide__step-card-description,
.page-blog-6655-bet-beginner-guide__game-category-description,
.page-blog-6655-bet-beginner-guide__safety-feature-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Make descriptions take available space */
}

.page-blog-6655-bet-beginner-guide__step-card-button,
.page-blog-6655-bet-beginner-guide__game-category-button {
  margin-top: auto; /* Push button to bottom */
  width: auto; /* Reset width for individual buttons */
  max-width: 100%; /* Ensure it doesn't overflow */
}

/* Game Categories */
.page-blog-6655-bet-beginner-guide__game-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

/* Promotions */
.page-blog-6655-bet-beginner-guide__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-blog-6655-bet-beginner-guide__promotion-item {
  background-color: var(--card-bg-color, #D32F2F);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, #F2B544);
  color: var(--text-main-color, #FFF5E1);
}

.page-blog-6655-bet-beginner-guide__promotion-item-title {
  font-size: 1.4em;
  color: var(--gold-color, #F4D34D);
  margin-bottom: 10px;
}

.page-blog-6655-bet-beginner-guide__promotion-item-description {
  font-size: 1em;
}

/* Safety Features */
.page-blog-6655-bet-beginner-guide__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

/* Support Section */
.page-blog-6655-bet-beginner-guide__support-options {
  margin-top: 30px;
}

.page-blog-6655-bet-beginner-guide__support-text {
  font-size: 1.1em;
  color: var(--text-main-color, #FFF5E1);
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-blog-6655-bet-beginner-guide__support-text a {
  color: var(--gold-color, #F4D34D);
  text-decoration: underline;
}
.page-blog-6655-bet-beginner-guide__support-text a:hover {
  color: var(--glow-color, #FFCC66);
}

/* FAQ Section */
.page-blog-6655-bet-beginner-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-blog-6655-bet-beginner-guide__faq-item {
  background-color: var(--card-bg-color, #D32F2F);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #F2B544);
  color: var(--text-main-color, #FFF5E1);
}

.page-blog-6655-bet-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--gold-color, #F4D34D);
  user-select: none;
}
.page-blog-6655-bet-beginner-guide__faq-question::-webkit-details-marker {
    display: none;
}
.page-blog-6655-bet-beginner-guide__faq-question::marker {
    display: none;
}

.page-blog-6655-bet-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--text-main-color, #FFF5E1);
}

.page-blog-6655-bet-beginner-guide__faq-item[open] .page-blog-6655-bet-beginner-guide__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X or minus */
}

.page-blog-6655-bet-beginner-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-main-color, #FFF5E1);
  line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-6655-bet-beginner-guide__main-title {
    font-size: clamp(2em, 7vw, 3em);
  }
  .page-blog-6655-bet-beginner-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-6655-bet-beginner-guide__hero-content {
    padding: 30px 15px;
  }
  .page-blog-6655-bet-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog-6655-bet-beginner-guide__btn-primary,
  .page-blog-6655-bet-beginner-guide__btn-secondary,
  .page-blog-6655-bet-beginner-guide__step-card-button,
  .page-blog-6655-bet-beginner-guide__game-category-button {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-blog-6655-bet-beginner-guide__section {
    padding: 40px 0;
  }
  .page-blog-6655-bet-beginner-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-blog-6655-bet-beginner-guide__paragraph {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-blog-6655-bet-beginner-guide__container {
    padding: 0 15px;
  }
  .page-blog-6655-bet-beginner-guide__step-card-grid,
  .page-blog-6655-bet-beginner-guide__game-category-grid,
  .page-blog-6655-bet-beginner-guide__promotion-list,
  .page-blog-6655-bet-beginner-guide__safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-blog-6655-bet-beginner-guide__step-card,
  .page-blog-6655-bet-beginner-guide__game-category-card,
  .page-blog-6655-bet-beginner-guide__promotion-item,
  .page-blog-6655-bet-beginner-guide__safety-feature-card {
    padding: 20px;
  }
  .page-blog-6655-bet-beginner-guide__step-card-title,
  .page-blog-6655-bet-beginner-guide__game-category-title,
  .page-blog-6655-bet-beginner-guide__safety-feature-title {
    font-size: 1.3em;
  }
  .page-blog-6655-bet-beginner-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-blog-6655-bet-beginner-guide__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile image and video responsiveness */
  .page-blog-6655-bet-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-6655-bet-beginner-guide video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-6655-bet-beginner-guide__hero-image-wrapper,
  .page-blog-6655-bet-beginner-guide__section,
  .page-blog-6655-bet-beginner-guide__card,
  .page-blog-6655-bet-beginner-guide__container,
  .page-blog-6655-bet-beginner-guide__video-section,
  .page-blog-6655-bet-beginner-guide__video-container,
  .page-blog-6655-bet-beginner-guide__video-wrapper,
  .page-blog-6655-bet-beginner-guide__cta-buttons,
  .page-blog-6655-bet-beginner-guide__button-group,
  .page-blog-6655-bet-beginner-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-6655-bet-beginner-guide__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-6655-bet-beginner-guide__video-section {
    padding-top: 10px !important;
  }
}