/* style/register.css */

/* Base styles for page-register */
.page-register {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Custom Gold for titles */
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Custom Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(8, 22, 15, 0.7); /* Deep Green background with transparency */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Custom Gold */
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-register__description {
  font-size: 1.2em;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #ffffff; /* White text for contrast */
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-register__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3em;
}

.page-register__cta-button--small {
  padding: 12px 25px;
  font-size: 1em;
}

/* Why Join Section */
.page-register__why-join-section {
  background-color: #0A4B2C; /* Custom Deep Green */
}

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

.page-register__feature-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-register__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__feature-title {
  font-size: 1.6em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
}

.page-register__feature-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__step-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-title {
  font-size: 1.5em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-register__cta-container {
  margin-top: 60px;
}

/* Games Section */
.page-register__games-section {
  background-color: #0A4B2C; /* Custom Deep Green */
}

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

.page-register__game-card {
  background-color: #11271B; /* Custom Card BG */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-register__game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__game-title {
  font-size: 1.4em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 10px;
}

.page-register__game-title a {
  color: #F2C14E; /* Custom Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__game-title a:hover {
  color: #57E38D; /* Custom Glow */
}

.page-register__game-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Custom Text Secondary */
}

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

.page-register__promo-card {
  background-color: #11271B; /* Custom Card BG */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-register__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__promo-title {
  font-size: 1.5em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 10px;
}

.page-register__promo-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Security Section */
.page-register__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__security-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-register__security-title {
  font-size: 1.4em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 10px;
}

.page-register__security-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Payment Section */
.page-register__payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__payment-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-register__payment-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-register__payment-name {
  font-size: 1.1em;
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
}

/* Support Section */
.page-register__support-channels {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-register__support-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: #2E7A4E; /* Custom Border */
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-register__support-link:hover {
  background-color: #13994A; /* Darker green from button gradient */
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  background-color: #1E3A2A; /* Custom Divider */
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-question:hover {
  background-color: #2E7A4E; /* Custom Border */
}

.page-register__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Custom Glow */
}

.page-register__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: left;
}

.page-register__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Final CTA Section */
.page-register__final-cta-section {
  background-color: #0A4B2C; /* Custom Deep Green */
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-content {
    padding: 30px 15px;
  }
  .page-register__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-register__section {
    padding: 40px 0;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-register__hero-content {
    margin-top: 20px;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile container responsiveness */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__feature-item,
  .page-register__step-item,
  .page-register__game-card,
  .page-register__promo-card,
  .page-register__security-item,
  .page-register__payment-item,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness (if any) */
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register__video-section {
    padding-top: 10px !important;
  }

  /* Mobile button responsiveness */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"],
  .page-register__support-link {
    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;
    margin-bottom: 10px; /* Add some spacing for stacked buttons */
  }
  .page-register__cta-container,
  .page-register__button-group,
  .page-register__btn-container,
  .page-register__support-channels {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__game-categories,
  .page-register__promo-grid,
  .page-register__security-features,
  .page-register__payment-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__faq-question {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    font-size: 0.95em;
  }
}