/* style/resources-w88-beginner-guide.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-w88-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Assuming body is dark from shared.css */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-w88-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-w88-beginner-guide__section {
  padding: 60px 0;
}

.page-resources-w88-beginner-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-w88-beginner-guide__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-resources-w88-beginner-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-w88-beginner-guide__paragraph--center {
  text-align: center;
}

.page-resources-w88-beginner-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-w88-beginner-guide__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-w88-beginner-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-w88-beginner-guide__text-highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-w88-beginner-guide a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-w88-beginner-guide a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-resources-w88-beginner-guide__btn-primary,
.page-resources-w88-beginner-guide__btn-secondary,
.page-resources-w88-beginner-guide__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-w88-beginner-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-w88-beginner-guide__btn-primary:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
}

.page-resources-w88-beginner-guide__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-w88-beginner-guide__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7bb0;
}

.page-resources-w88-beginner-guide__btn-tertiary {
  background-color: #EA7C07; /* Login color for action buttons */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-w88-beginner-guide__btn-tertiary:hover {
  background-color: #c46405;
  border-color: #c46405;
}

.page-resources-w88-beginner-guide__btn-center {
  display: block;
  margin: 30px auto 0;
  max-width: 250px;
}

.page-resources-w88-beginner-guide__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
  max-width: 300px;
}

.page-resources-w88-beginner-guide__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-resources-w88-beginner-guide__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 40px;
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  flex-wrap: wrap;
}

.page-resources-w88-beginner-guide__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-resources-w88-beginner-guide__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-w88-beginner-guide__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-w88-beginner-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-w88-beginner-guide__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  text-align: center;
}

.page-resources-w88-beginner-guide__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Content Rows with Image & Text */
.page-resources-w88-beginner-guide__content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-resources-w88-beginner-guide__content-row--reverse {
  flex-direction: row-reverse;
}

.page-resources-w88-beginner-guide__text-block {
  flex: 1;
  min-width: 300px;
}

.page-resources-w88-beginner-guide__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-resources-w88-beginner-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Overview Section */
.page-resources-w88-beginner-guide__overview-section {
  background-color: #000000;
}

/* Access Link Section */
.page-resources-w88-beginner-guide__access-link-section {
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

/* Registration Section */
.page-resources-w88-beginner-guide__registration-section {
  background-color: #000000;
}

/* Transaction Section */
.page-resources-w88-beginner-guide__transaction-section {
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

.page-resources-w88-beginner-guide__transaction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Card Styles */
.page-resources-w88-beginner-guide__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px; /* Ensure cards have a consistent minimum height */
}

.page-resources-w88-beginner-guide__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-w88-beginner-guide__card .page-resources-w88-beginner-guide__paragraph {
  color: #f0f0f0;
}

/* Games Section */
.page-resources-w88-beginner-guide__games-section {
  background-color: #0d0d0d;
}

.page-resources-w88-beginner-guide__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-w88-beginner-guide__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly darker card for games */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px; /* Ensure game cards have consistent height */
}

.page-resources-w88-beginner-guide__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}