/* style/gift-codes.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: var(--dark-bg-1); /* Assuming --dark-bg-1 is a dark color from shared.css */
  --card-background: #1a1a1a; /* Darker card background for dark body */
  --border-color: rgba(255, 255, 255, 0.1);
}

.page-gift-codes__main-wrapper {
  padding-top: 120px; /* For fixed header desktop */
  padding-bottom: 60px;
  background-color: var(--background-dark);
  color: var(--text-light); /* Light text for dark background */
}

@media (max-width: 768px) {
  .page-gift-codes__main-wrapper {
    padding-top: 100px; /* For fixed header mobile */
    padding-bottom: 40px;
  }
}

.page-gift-codes__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gift-codes__title {
  font-size: 42px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gift-codes__intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gift-codes__intro-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gift-codes__intro-text a:hover {
  text-decoration: underline;
}

.page-gift-codes__image-wrapper {
  margin-bottom: 40px;
  text-align: center;
}

.page-gift-codes__main-image,
.page-gift-codes__process-image,
.page-gift-codes__safety-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-gift-codes__section {
  background: var(--card-background);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-gift-codes__section-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-gift-codes__section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-gift-codes__section p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gift-codes__section p a:hover {
  text-decoration: underline;
}

.page-gift-codes__cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: #000000; /* Dark text for bright button */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  text-align: center;
  border: none;
}

.page-gift-codes__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gift-codes__cta-button--large {
  width: auto;
  min-width: 250px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.page-gift-codes__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.page-gift-codes__card {
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-gift-codes__card:hover {
  transform: translateY(-5px);
}

.page-gift-codes__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gift-codes__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-gift-codes__card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-gift-codes__card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gift-codes__card p a:hover {
  text-decoration: underline;
}

.page-gift-codes__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-gift-codes__list-item {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
}

.page-gift-codes__list-item::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  top: -2px;
}

.page-gift-codes__list-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gift-codes__list-item a:hover {
  text-decoration: underline;
}

.page-gift-codes__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gift-codes__step-item {
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-gift-codes__step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #000000; /* Dark text for bright number */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-gift-codes__step-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gift-codes__step-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-gift-codes__step-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gift-codes__step-item p a:hover {
  text-decoration: underline;
}

.page-gift-codes__call-to-action {
  text-align: center;
  padding: 50px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-gift-codes__call-to-action .page-gift-codes__section-title {
  color: var(--primary-color);
}

.page-gift-codes__call-to-action p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
.page-gift-codes__faq-section {
  background: var(--card-background);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-gift-codes__faq-list {
  margin-top: 30px;
}

.page-gift-codes__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gift-codes__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-light);
}

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

.page-gift-codes__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  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;
}

.page-gift-codes__faq-question:hover {
  background: #000066;
  border-color: #333399;
}

.page-gift-codes__faq-question:active {
  background: #00004d;
}

.page-gift-codes__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color); /* Bright text for dark question background */
}

.page-gift-codes__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Bright toggle for dark question background */
  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-gift-codes__faq-item.active .page-gift-codes__faq-toggle {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gift-codes__title {
    font-size: 38px;
  }
  .page-gift-codes__section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-gift-codes__title {
    font-size: 32px;
    margin-bottom: 25px;
  }
  .page-gift-codes__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-gift-codes__section {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  .page-gift-codes__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-gift-codes__section p,
  .page-gift-codes__list-item,
  .page-gift-codes__card p,
  .page-gift-codes__step-item p {
    font-size: 15px;
  }
  .page-gift-codes__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-gift-codes__card-title {
    font-size: 20px;
  }
  .page-gift-codes__card-grid {
    gap: 20px;
  }
  .page-gift-codes__step-number {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }
  .page-gift-codes__step-title {
    font-size: 18px;
  }
  .page-gift-codes__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-gift-codes__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-gift-codes__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-gift-codes__faq-answer {
    padding: 0 15px;
  }
  .page-gift-codes__faq-item.active .page-gift-codes__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-gift-codes__title {
    font-size: 28px;
  }
  .page-gift-codes__section-title {
    font-size: 22px;
  }
  .page-gift-codes__section {
    padding: 25px 15px;
  }
  .page-gift-codes__cta-button {
    width: 100%;
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-gift-codes__card-grid {
    grid-template-columns: 1fr;
  }
  .page-gift-codes__list-item {
    padding-left: 25px;
  }
  .page-gift-codes__list-item::before {
    font-size: 18px;
  }
  .page-gift-codes__steps-container {
    grid-template-columns: 1fr;
  }
  .page-gift-codes__call-to-action .page-gift-codes__section-title {
    font-size: 24px;
  }
  .page-gift-codes__call-to-action p {
    font-size: 16px;
  }
}