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

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-login-color: #EA7C07;
}

/* Base styles for the page content */
.page-resources-w88-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  line-height: 1.6;
  background: var(--secondary-color); /* Matches body background if not overridden */
}

.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;
  text-align: center;
}

.page-resources-w88-beginner-guide__section:nth-of-type(even) {
  background-color: #f9f9f9; /* Light grey for alternating sections */
}

.page-resources-w88-beginner-guide__section-title {
  font-size: 36px;
  color: #000000; /* Use black for main titles for strong contrast */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-w88-beginner-guide__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

/* Hero Section */
.page-resources-w88-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand color gradient */
  color: var(--text-color-light); /* Light text on gradient background */
}

.page-resources-w88-beginner-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-w88-beginner-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-resources-w88-beginner-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-w88-beginner-guide__main-title {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--text-color-light); /* White text for hero title */
}

.page-resources-w88-beginner-guide__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light); /* White text for hero description */
}

/* CTA Button */
.page-resources-w88-beginner-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login-color); /* Login color for primary CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-w88-beginner-guide__cta-button:hover {
  background: #c26706; /* Darker version of #EA7C07 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Grid layout for cards */
.page-resources-w88-beginner-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-w88-beginner-guide__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card styles */
.page-resources-w88-beginner-guide__card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
}

.page-resources-w88-beginner-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-w88-beginner-guide__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-w88-beginner-guide__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-w88-beginner-guide__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-resources-w88-beginner-guide__card p {
  font-size: 16px;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to take up available space */
}

/* Buttons within cards */
.page-resources-w88-beginner-guide__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Pushes button to the bottom of the card */
}

.page-resources-w88-beginner-guide__btn-primary:hover {
  background: #1f8ec4; /* Darker version of #26A9E0 */
}

.page-resources-w88-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  margin-left: 15px; /* Spacing for multiple buttons */
}

.page-resources-w88-beginner-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-resources-w88-beginner-guide__btn-login {
  background: var(--button-login-color); /* Specific color for login button */
}

.page-resources-w88-beginner-guide__btn-login:hover {
  background: #c26706; /* Darker version of #EA7C07 */
}

.page-resources-w88-beginner-guide__btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  display: inline-block;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.page-resources-w88-beginner-guide__btn-link:hover {
  text-decoration: underline;
  color: #1f8ec4; /* Darker version of #26A9E0 */
}

/* List styles */
.page-resources-w88-beginner-guide__list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-resources-w88-beginner-guide__list li {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 15px 20px;
  font-size: 17px;
  color: var(--text-color-dark);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-w88-beginner-guide__list li strong {
  color: var(--primary-color);
  margin-right: 8px;
}

/* App Download Section */
.page-resources-w88-beginner-guide__app-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-w88-beginner-guide__app-image {
  max-width: 600px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}