/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%); /* Dark gradient background */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-register__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("[GALLERY:bg:1920x1080:jljl1,abstract,gaming,background,dark,gold,philippines]") no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-register__hero-content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column; /* Default for mobile */
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-register__hero-image-block, .page-register__hero-text-block {
  width: 100%;
  text-align: center;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-register__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,211,107,0.5);
}

.page-register__hero-description {
  font-size: 1.15em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default to auto, will be 100% on mobile */
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff; /* White text on dark/gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(242,193,78,0.4);
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #FFE89A 0%, #F0B12D 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,193,78,0.6);
}

.page-register__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color text */
  border: 2px solid #F2C14E; /* Primary color border */
}

.page-register__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text on primary color background */
  transform: translateY(-2px);
}

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 250px;
}

/* Cards & Grids */
.page-register__why-join-section, .page-register__how-to-section, .page-register__benefits-section, .page-register__faq-section, .page-register__final-cta-section {
  padding: 60px 0;
}

.page-register__features-grid,
.page-register__steps-grid,
.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__feature-card,
.page-register__benefit-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-register__feature-card:hover,
.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.page-register__feature-icon,
.page-register__benefit-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 250px; /* Max width for consistency */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #3A2A12;
}

.page-register__feature-title,
.page-register__benefit-title {
  font-size: 1.6em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-text,
.page-register__benefit-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 10px;
}

/* How to Register Steps */
.page-register__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(242,193,78,0.5);
}

.page-register__step-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #F2C14E; /* Primary color for question */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #1a1a1a;
}

.page-register__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.page-register__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #FFD36B; /* Glow color */
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px;
}

.page-register__faq-answer p {
  margin: 0 0 10px 0;
  color: inherit;
  font-size: 1em;
}

/* Final CTA Section */
.page-register__final-cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a, #0A0A0A);
}

.page-register__final-cta-section .page-register__section-title {
  color: #FFD36B;
  text-shadow: 0 0 10px rgba(255,211,107,0.5);
}

.page-register__small-text {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-top: 20px;
}

.page-register__link-text {
  color: #F2C14E; /* Primary color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-register__link-text:hover {
  color: #FFD36B; /* Glow color on hover */
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-register__hero-content-wrapper {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-register__hero-image-block {
    flex: 1;
    order: 1;
  }
  .page-register__hero-text-block {
    flex: 1;
    order: 2;
    text-align: left;
  }
  .page-register__hero-title,
  .page-register__hero-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .page-register__hero-cta-group {
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding */
    min-height: auto;
    padding-bottom: 40px;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__section-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-image-block, .page-register__feature-icon, .page-register__benefit-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-register__hero-cta-group,
  .page-register__cta-block,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }

  .page-register__container,
  .page-register__why-join-section,
  .page-register__how-to-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-register__faq-question,
  .page-register__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 15px 25px;
  }
}