:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #1a1a1a;
}

.page-resources-game-strategies-tips {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Hero Section */
.page-resources-game-strategies-tips__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 80px;
  background-color: var(--bg-light);
  color: var(--text-color-dark);
  text-align: center;
  overflow: hidden;
}

.page-resources-game-strategies-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-game-strategies-tips__hero-content {
  max-width: 800px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 2;
}

.page-resources-game-strategies-tips__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-resources-game-strategies-tips__hero-description {
  font-size: 18px;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-game-strategies-tips__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-resources-game-strategies-tips__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.page-resources-game-strategies-tips__cta-button--large {
    padding: 20px 50px;
    font-size: 20px;
}

.page-resources-game-strategies-tips__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  overflow: hidden;
}

.page-resources-game-strategies-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* General Sections */
.page-resources-game-strategies-tips__intro-section,
.page-resources-game-strategies-tips__principles-section,
.page-resources-game-strategies-tips__game-strategies-section,
.page-resources-game-strategies-tips__advanced-tips-section,
.page-resources-game-strategies-tips__conclusion-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-resources-game-strategies-tips__intro-section {
  background-color: var(--bg-light);
}

.page-resources-game-strategies-tips__section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-resources-game-strategies-tips__content-subtitle {
  font-size: 28px;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources-game-strategies-tips__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-resources-game-strategies-tips ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-color-dark);
}

.page-resources-game-strategies-tips ul li {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-resources-game-strategies-tips strong {
    color: var(--secondary-color);
}

/* Principles Section - Grid Layout */
.page-resources-game-strategies-tips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-game-strategies-tips__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-game-strategies-tips__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-resources-game-strategies-tips__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-resources-game-strategies-tips__card-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding: 0 20px;
  font-weight: 600;
}

.page-resources-game-strategies-tips__card-description {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 20px;
  flex-grow: 1;
}

/* Game Strategies Section - Tabs */
.page-resources-game-strategies-tips__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.page-resources-game-strategies-tips__tab-button {
  background-color: #f0f0f0;
  color: var(--text-color-dark);
  border: 1px solid #ddd;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-resources-game-strategies-tips__tab-button:hover {
  background-color: #e0e0e0;
}

.page-resources-game-strategies-tips__tab-button.active {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-resources-game-strategies-tips__tab-button.active:hover {
  background-color: #e6c200;
}

.page-resources-game-strategies-tips__tab-content {
  display: none;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-top: 20px;
}

.page-resources-game-strategies-tips__tab-content.active {
  display: block;
}

.page-resources-game-strategies-tips__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Advanced Tips Section */
.page-resources-game-strategies-tips__advanced-tips-section {
  background-color: var(--bg-light);
}

.page-resources-game-strategies-tips__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-resources-game-strategies-tips__text-column {
  flex: 1;
}

.page-resources-game-strategies-tips__image-column {
  flex: 0 0 40%;
  max-width: 500px;
}

.page-resources-game-strategies-tips__image-column .page-resources-game-strategies-tips__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-resources-game-strategies-tips__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.page-resources-game-strategies-tips__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-color-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Conclusion Section */
.page-resources-game-strategies-tips__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-strategies-tips__main-title {
    font-size: 40px;
  }

  .page-resources-game-strategies-tips__section-title {
    font-size: 32px;
  }

  .page-resources-game-strategies-tips__content-subtitle {
    font-size: 24px;
  }

  .page-resources-game-strategies-tips__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategies-tips__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-game-strategies-tips__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources-game-strategies-tips__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-resources-game-strategies-tips__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-game-strategies-tips__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-resources-game-strategies-tips__hero-image-wrapper {
    opacity: 0.1;
  }

  .page-resources-game-strategies-tips__intro-section,
  .page-resources-game-strategies-tips__principles-section,
  .page-resources-game-strategies-tips__game-strategies-section,
  .page-resources-game-strategies-tips__advanced-tips-section,
  .page-resources-game-strategies-tips__conclusion-section {
    padding: 40px 0;
  }

  .page-resources-game-strategies-tips__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-game-strategies-tips__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources-game-strategies-tips__content-subtitle {
    font-size: 22px;
  }

  .page-resources-game-strategies-tips__text-block,
  .page-resources-game-strategies-tips ul li {
    font-size: 15px;
  }

  .page-resources-game-strategies-tips__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-game-strategies-tips__card-image {
    height: 200px;
  }

  .page-resources-game-strategies-tips__card-title {
    font-size: 20px;
  }

  .page-resources-game-strategies-tips__card-description {
    font-size: 15px;
  }

  .page-resources-game-strategies-tips__tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .page-resources-game-strategies-tips__tab-button {
    padding: 10px 15px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-game-strategies-tips__tab-content {
    padding: 20px;
  }

  .page-resources-game-strategies-tips__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-game-strategies-tips__image-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .page-resources-game-strategies-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-strategies-tips__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

/* Ensure content area images are not too small on desktop */
.page-resources-game-strategies-tips__principles-section .page-resources-game-strategies-tips__card-image,
.page-resources-game-strategies-tips__game-strategies-section .page-resources-game-strategies-tips__content-image,
.page-resources-game-strategies-tips__advanced-tips-section .page-resources-game-strategies-tips__content-image {
  min-width: 200px;
  min-height: 200px;
  display: block;
}