/* style/register.css */

/* Base Styles for page-register */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Consistent with shared body background */
}

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

.page-register__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero:1920x1080:qh88,register,hero,banner,gaming,platform]') no-repeat center center/cover;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.5rem;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #1A1A1A; /* Dark background for this section */
  color: #ffffff;
}

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

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__step-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__step-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #121212; /* Body background color */
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
}

.page-register__benefit-title {
  font-size: 1.4rem;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__benefit-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Game Showcase Section */
.page-register__game-showcase {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #ffffff;
}

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

.page-register__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-register__game-card:hover {
  transform: translateY(-10px);
}

.page-register__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-register__game-title {
  font-size: 1.3rem;
  color: #FFD700;
  padding: 15px;
  font-weight: bold;
}

.page-register__game-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__game-title a:hover {
  text-decoration: underline;
}

.page-register__game-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-register__cta-game {
  text-align: center;
  margin-top: 60px;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-register__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-left: 4px solid #FFD700;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.page-register__section-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__faq-item-title {
  font-size: 1.2rem;
  color: #FFD700;
  margin: 0;
  font-weight: bold;
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  color: #FFD700;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-register__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

/* Contact CTA Section */
.page-register__contact-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #121212;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3rem;
  }
  .page-register__hero-description {
    font-size: 1.1rem;
  }
  .page-register__section-title {
    font-size: 2rem;
  }
  .page-register__section-intro {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-section {
    padding: 80px 20px;
    min-height: 60vh;
  }
  .page-register__hero-title {
    font-size: 2.5rem;
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-register__steps-section, 
  .page-register__benefits-section, 
  .page-register__game-showcase, 
  .page-register__security-section, 
  .page-register__faq-section, 
  .page-register__contact-cta {
    padding: 60px 0;
  }

  .page-register__step-card, .page-register__benefit-card, .page-register__game-card {
    padding: 25px;
  }
  .page-register__step-image {
    max-width: 100%;
  }
  .page-register__game-image {
    height: 180px;
  }
  .page-register__security-list {
    margin-top: 20px;
  }
  .page-register__security-item {
    padding: 15px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-item-title {
    font-size: 1.1rem;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px 20px;
  }

  /* Mobile specific image handling */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2rem;
  }
  .page-register__hero-description {
    font-size: 0.9rem;
  }
  .page-register__section-title {
    font-size: 1.8rem;
  }
  .page-register__section-intro {
    font-size: 0.9rem;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .page-register__step-title,
  .page-register__benefit-title,
  .page-register__game-title {
    font-size: 1.2rem;
  }
  .page-register__faq-item-title {
    font-size: 1rem;
  }
  .page-register__faq-toggle {
    font-size: 1.5rem;
  }
}