/* style/redeemable-card-games.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-dark: #000000;
    --background-light: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-redeemable-card-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-light);
}

/* Fixed header padding */
.page-redeemable-card-games__intro-section {
    padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

.page-redeemable-card-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-redeemable-card-games__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-on-dark);
}

.page-redeemable-card-games__light-bg {
    background-color: var(--background-light);
    color: var(--text-on-light);
}

/* Section Styling */
.page-redeemable-card-games__intro-section,
.page-redeemable-card-games__types-section,
.page-redeemable-card-games__criteria-section,
.page-redeemable-card-games__guide-section,
.page-redeemable-card-games__promotions-section,
.page-redeemable-card-games__reviews-section,
.page-redeemable-card-games__faq-section,
.page-redeemable-card-games__conclusion-section {
    padding: 60px 0;
}

.page-redeemable-card-games__main-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-redeemable-card-games__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.page-redeemable-card-games__intro-text,
.page-redeemable-card-games__section-description,
.page-redeemable-card-games__conclusion-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-redeemable-card-games__intro-text strong {
  color: var(--primary-color);
}

.page-redeemable-card-games__sub-heading {
    font-size: 24px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.page-redeemable-card-games__cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-redeemable-card-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.page-redeemable-card-games__btn-primary:hover {
    background-color: #e0b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-redeemable-card-games__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
}

.page-redeemable-card-games__btn-secondary:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-redeemable-card-games__image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.page-redeemable-card-games__intro-image,
.page-redeemable-card-games__criteria-image,
.page-redeemable-card-games__guide-image {
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Game Types Section */
.page-redeemable-card-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-redeemable-card-games__game-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
}

.page-redeemable-card-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-redeemable-card-games__game-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-redeemable-card-games__game-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-redeemable-card-games__game-desc {
    font-size: 15px;
    color: #555;
}

.page-redeemable-card-games__more-info {
  text-align: center;
  margin-top: 30px;
  font-size: 17px;
  color: var(--text-on-light);
}

/* Criteria Section */
.page-redeemable-card-games__criteria-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-redeemable-card-games__criteria-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-redeemable-card-games__criteria-item:hover {
    transform: translateY(-5px);
}

.page-redeemable-card-games__criteria-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-redeemable-card-games__criteria-text {
    font-size: 16px;
    color: var(--text-on-dark);
    text-align: left;
}

/* Guide Section */
.page-redeemable-card-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-redeemable-card-games__step-item {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    position: relative;
    color: var(--text-on-light);
}

.page-redeemable-card-games__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    border: 3px solid var(--card-background);
}

.page-redeemable-card-games__step-heading {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-redeemable-card-games__step-text {
    font-size: 16px;
    color: #555;
    text-align: left;
}

.page-redeemable-card-games__tips-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-redeemable-card-games__tips-list li {
    background-color: var(--card-background);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    color: var(--text-on-light);
    border-left: 5px solid var(--primary-color);
}

.page-redeemable-card-games__tips-list li strong {
  color: var(--secondary-color);
}

/* Promotions Section */
.page-redeemable-card-games__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-redeemable-card-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-dark);
}

.page-redeemable-card-games__promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-redeemable-card-games__promotion-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-redeemable-card-games__promotion-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-redeemable-card-games__promotion-text {
    font-size: 15px;
    color: var(--text-on-dark);
}

/* Reviews Section */
.page-redeemable-card-games__review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-redeemable-card-games__review-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
}

.page-redeemable-card-games__review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-redeemable-card-games__review-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-redeemable-card-games__review-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-redeemable-card-games__review-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.page-redeemable-card-games__review-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-redeemable-card-games__review-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-redeemable-card-games__more-reviews-text {
  text-align: center;
  margin-top: 30px;
  font-size: 17px;
  color: var(--text-on-light);
}

.page-redeemable-card-games__more-reviews-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-redeemable-card-games__more-reviews-text a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-redeemable-card-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-redeemable-card-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-redeemable-card-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-on-light);
}

.page-redeemable-card-games__faq-item.active .page-redeemable-card-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background);
  border-radius: 0 0 5px 5px;
}

.page-redeemable-card-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-on-light);
}

.page-redeemable-card-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-redeemable-card-games__faq-question:active {
  background: #eeeeee;
}

.page-redeemable-card-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-on-light);
}

.page-redeemable-card-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-redeemable-card-games__faq-item.active .page-redeemable-card-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-redeemable-card-games__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Conclusion Section */
.page-redeemable-card-games__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-redeemable-card-games__main-title {
        font-size: 38px;
    }
    .page-redeemable-card-games__section-title {
        font-size: 32px;
    }
    .page-redeemable-card-games__intro-text,
    .page-redeemable-card-games__section-description,
    .page-redeemable-card-games__conclusion-text {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-redeemable-card-games__intro-section {
        padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    }
    .page-redeemable-card-games__intro-section,
    .page-redeemable-card-games__types-section,
    .page-redeemable-card-games__criteria-section,
    .page-redeemable-card-games__guide-section,
    .page-redeemable-card-games__promotions-section,
    .page-redeemable-card-games__reviews-section,
    .page-redeemable-card-games__faq-section,
    .page-redeemable-card-games__conclusion-section {
        padding: 40px 0;
    }
    .page-redeemable-card-games__container {
        padding: 0 15px;
    }
    .page-redeemable-card-games__main-title {
        font-size: 32px;
    }
    .page-redeemable-card-games__section-title {
        font-size: 28px;
    }
    .page-redeemable-card-games__intro-text,
    .page-redeemable-card-games__section-description,
    .page-redeemable-card-games__conclusion-text {
        font-size: 16px;
    }
    .page-redeemable-card-games__sub-heading {
        font-size: 20px;
    }
    .page-redeemable-card-games__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-redeemable-card-games__game-grid,
    .page-redeemable-card-games__criteria-list,
    .page-redeemable-card-games__guide-steps,
    .page-redeemable-card-games__promotion-grid,
    .page-redeemable-card-games__review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-redeemable-card-games__game-card,
    .page-redeemable-card-games__criteria-item,
    .page-redeemable-card-games__step-item,
    .page-redeemable-card-games__promotion-card,
    .page-redeemable-card-games__review-card {
        padding: 20px;
    }
    .page-redeemable-card-games__game-name,
    .page-redeemable-card-games__criteria-heading,
    .page-redeemable-card-games__step-heading,
    .page-redeemable-card-games__promotion-heading,
    .page-redeemable-card-games__review-heading {
        font-size: 20px;
    }
    .page-redeemable-card-games__game-desc,
    .page-redeemable-card-games__criteria-text,
    .page-redeemable-card-games__step-text,
    .page-redeemable-card-games__promotion-text,
    .page-redeemable-card-games__review-text,
    .page-redeemable-card-games__tips-list li {
        font-size: 15px;
    }
    .page-redeemable-card-games__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-redeemable-card-games__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-redeemable-card-games__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-redeemable-card-games__faq-answer {
      padding: 0 15px;
    }
    
    .page-redeemable-card-games__faq-item.active .page-redeemable-card-games__faq-answer {
      padding: 15px !important;
    }
    /* Mobile image adaptation */
    .page-redeemable-card-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-redeemable-card-games__section,
    .page-redeemable-card-games__card,
    .page-redeemable-card-games__container,
    .page-redeemable-card-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}