/* style/88neo-game-guides.css */

/* Variables and Base Styles */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f8f9fa; /* Light background for contrast sections */
  --border-color: #e0e0e0;
}

.page-88neo-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--primary-color); /* Body background from shared.css */
}

.page-88neo-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-88neo-game-guides__container--center {
  text-align: center;
}

.page-88neo-game-guides__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-light); /* Default for dark sections */
}

.page-88neo-game-guides__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light); /* Default for dark sections */
}

/* Hero Section */
.page-88neo-game-guides__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-top: 120px; /* Desktop: Account for fixed header */
}

.page-88neo-game-guides__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* Highlight with accent color */
}

.page-88neo-game-guides__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-88neo-game-guides__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-88neo-game-guides__btn-primary,
.page-88neo-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-88neo-game-guides__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-88neo-game-guides__btn-primary:hover {
  background-color: #e6c200; /* A slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-88neo-game-guides__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-88neo-game-guides__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Content Sections - Alternating Backgrounds and Text Colors */
.page-88neo-game-guides__overview-section,
.page-88neo-game-guides__strategy-section,
.page-88neo-game-guides__cta-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 80px 0;
}

.page-88neo-game-guides__overview-section .page-88neo-game-guides__section-title,
.page-88neo-game-guides__overview-section .page-88neo-game-guides__section-description,
.page-88neo-game-guides__strategy-section .page-88neo-game-guides__section-title,
.page-88neo-game-guides__strategy-section .page-88neo-game-guides__section-description,
.page-88neo-game-guides__cta-section .page-88neo-game-guides__section-title,
.page-88neo-game-guides__cta-section .page-88neo-game-guides__section-description {
  color: var(--text-dark);
}

.page-88neo-game-guides__game-types-section,
.page-88neo-game-guides__responsibility-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-88neo-game-guides__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-88neo-game-guides__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-88neo-game-guides__image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  max-width: 100%; /* Base responsive for images */
  height: auto; /* Base responsive for images */
  display: block; /* Base responsive for images */
}

.page-88neo-game-guides__text-block {
  flex: 1;
  max-width: 50%;
}

.page-88neo-game-guides__text-block h3 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-88neo-game-guides__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-88neo-game-guides__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-88neo-game-guides__text-block a:hover {
  color: var(--text-light);
}

.page-88neo-game-guides__text-block ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-88neo-game-guides__text-block ul li {
  margin-bottom: 8px;
}

/* Game Cards Grid */
.page-88neo-game-guides__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-88neo-game-guides__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-88neo-game-guides__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-88neo-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%; /* Base responsive for images */
  display: block; /* Base responsive for images */
}

.page-88neo-game-guides__card-title {
  font-size: 22px;
  font-weight: bold;
  padding: 20px 20px 10px;
  color: var(--secondary-color);
  flex-grow: 0;
  flex-shrink: 0;
}

.page-88neo-game-guides__card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-88neo-game-guides__card-title a:hover {
  color: var(--text-light);
}

.page-88neo-game-guides__card-content {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 15px;
  flex-grow: 1;
}

.page-88neo-game-guides__card-content p {
  margin-bottom: 10px;
}

.page-88neo-game-guides__card-content ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-88neo-game-guides__card-content ul li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
}

.page-88neo-game-guides__card-content ul li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.page-88neo-game-guides__card-content a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-88neo-game-guides__card-content a:hover {
  text-decoration: underline;
}

/* Links color contrast fix for light background sections */
.page-88neo-game-guides__overview-section a,
.page-88neo-game-guides__strategy-section a,
.page-88neo-game-guides__cta-section a {
  color: var(--primary-color); /* Dark blue links on light background */
}

.page-88neo-game-guides__overview-section a:hover,
.page-88neo-game-guides__strategy-section a:hover,
.page-88neo-game-guides__cta-section a:hover {
  color: var(--secondary-color); /* Gold on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-88neo-game-guides__main-title {
    font-size: 40px;
  }
  .page-88neo-game-guides__section-title {
    font-size: 30px;
  }
  .page-88neo-game-guides__subtitle {
    font-size: 18px;
  }
  .page-88neo-game-guides__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-88neo-game-guides__image,
  .page-88neo-game-guides__text-block {
    max-width: 100%;
  }
  .page-88neo-game-guides__text-block {
    padding: 0 15px;
  }
  .page-88neo-game-guides__text-block h3 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-88neo-game-guides__hero-section {
    padding-top: 100px !important; /* Mobile: Account for fixed header */
    padding-bottom: 60px;
  }
  .page-88neo-game-guides__main-title {
    font-size: 32px;
  }
  .page-88neo-game-guides__subtitle {
    font-size: 16px;
  }
  .page-88neo-game-guides__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-88neo-game-guides__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-88neo-game-guides__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-88neo-game-guides__btn-primary,
  .page-88neo-game-guides__btn-secondary {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-88neo-game-guides__overview-section,
  .page-88neo-game-guides__strategy-section,
  .page-88neo-game-guides__cta-section,
  .page-88neo-game-guides__game-types-section,
  .page-88neo-game-guides__responsibility-section {
    padding: 60px 0;
  }
  
  .page-88neo-game-guides__container {
    padding: 0 15px; /* Mobile padding for containers */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive rules */
  .page-88neo-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-88neo-game-guides__image {
    margin-bottom: 30px;
  }

  .page-88neo-game-guides__content-wrapper {
    gap: 30px;
    margin-top: 30px;
  }
  
  .page-88neo-game-guides__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-88neo-game-guides__card-title {
    font-size: 20px;
    padding: 15px 15px 8px;
  }
  
  .page-88neo-game-guides__card-content {
    padding: 0 15px 15px;
    font-size: 14px;
  }
}

/* Ensure all images and containers handle overflow for mobile */
.page-88neo-game-guides__section,
.page-88neo-game-guides__card,
.page-88neo-game-guides__container,
.page-88neo-game-guides__content-wrapper,
.page-88neo-game-guides__text-block,
.page-88neo-game-guides__game-card-grid,
.page-88neo-game-guides__game-card {
  overflow: hidden;
}

/* Ensure all containers and elements are properly sized for mobile */
.page-88neo-game-guides__hero-section,
.page-88neo-game-guides__overview-section,
.page-88neo-game-guides__game-types-section,
.page-88neo-game-guides__strategy-section,
.page-88neo-game-guides__responsibility-section,
.page-88neo-game-guides__cta-section {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.page-88neo-game-guides__content-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 15px; /* Add horizontal padding to content wrapper for mobile */
}

.page-88neo-game-guides__text-block,
.page-88neo-game-guides__image {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.page-88neo-game-guides__game-card-grid {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 15px;
}

.page-88neo-game-guides__game-card {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}