/* style/register.css */

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

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

.page-register__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #F2FFF6; /* Text Main */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__card-text {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #A7D9B8; /* Text Secondary */
}

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

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text contrast */
  border-radius: 10px;
}

.page-register__main-title {
  font-size: clamp(32px, 5vw, 60px);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__intro-text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.5;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  font-size: 20px;
  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);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

/* Benefits Section */
.page-register__benefits-section {
  background-color: #08160F; /* Background */
}

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

.page-register__benefit-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

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

.page-register__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #F2C14E; /* Gold */
  color: #08160F; /* Background */
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__cta-buttons-center {
  text-align: center;
  margin-top: 40px;
}

/* Security Section */
.page-register__security-section {
  background-color: #08160F; /* Background */
}

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

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

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

.page-register__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-register__feature-title {
  font-size: clamp(18px, 2.2vw, 24px);
  color: #F2FFF6; /* Text Main */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__feature-text {
  font-size: clamp(14px, 1.7vw, 17px);
  color: #A7D9B8; /* Text Secondary */
}

/* Game Types Section */
.page-register__game-types-section {
  background-color: #0A4B2C; /* Deep Green */
}

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

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

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

.page-register__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.page-register__game-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #57E38D; /* Glow */
  color: #08160F; /* Background */
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-register__game-link:hover {
  background-color: #2AD16F; /* Lighter green */
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: #08160F; /* Background */
}

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

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

.page-register__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-register__button-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border-radius: 30px;
  background-color: #F2C14E; /* Gold */
  color: #08160F; /* Background */
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-register__button-link:hover {
  background-color: #e0b03e;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-register__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: clamp(18px, 2vw, 22px);
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  list-style: none;
}

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

.page-register__faq-toggle {
  font-size: 28px;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #A7D9B8; /* Text Secondary */
  padding-top: 15px;
  line-height: 1.7;
}

/* Final CTA Section */
.page-register__final-cta-section {
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 22px;
  margin-bottom: 20px;
}

.page-register__cta-button--secondary {
  background: none;
  border: 2px solid #F2C14E; /* Gold */
  color: #F2C14E; /* Gold */
  box-shadow: none;
  margin-left: 20px;
}

.page-register__cta-button--secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 30px 15px;
  }
  .page-register__main-title {
    font-size: clamp(28px, 4.5vw, 50px);
  }
  .page-register__intro-text {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-register__section {
    padding: 50px 15px;
  }
  .page-register__benefits-grid, .page-register__security-features, .page-register__game-categories, .page-register__promotions-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__registration-guide-section,
  .page-register__security-section,
  .page-register__game-types-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-register__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    min-height: 400px;
  }
  .page-register__hero-content {
    width: 100%;
    border-radius: 0;
    padding: 20px 10px;
  }
  .page-register__main-title {
    font-size: clamp(24px, 6vw, 40px);
    margin-bottom: 15px;
  }
  .page-register__intro-text {
    font-size: clamp(15px, 2.5vw, 18px);
    margin-bottom: 25px;
  }
  .page-register__cta-button,
  .page-register__cta-button--large,
  .page-register__cta-button--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__cta-buttons-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-register__cta-button--secondary {
    margin-left: 0;
  }
  .page-register__benefits-grid,
  .page-register__security-features,
  .page-register__game-categories,
  .page-register__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-card {
    padding: 20px;
  }
  .page-register__faq-item {
    padding: 15px;
  }
  .page-register__faq-question {
    font-size: 16px;
  }
  .page-register__faq-answer {
    font-size: 14px;
  }
}

/* Custom Colors for text and background contrast */
.page-register {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-register__card,
.page-register__faq-item,
.page-register__benefit-card,
.page-register__step-card,
.page-register__feature-item,
.page-register__game-card,
.page-register__promotion-card {
  background-color: #11271B; /* Card BG */
  border-color: #2E7A4E; /* Border */
}

.page-register__section-description,
.page-register__card-text,
.page-register__feature-text,
.page-register__faq-answer {
  color: #A7D9B8; /* Text Secondary */
}

.page-register__section-title,
.page-register__main-title,
.page-register__cta-button--secondary {
  color: #F2C14E; /* Gold */
}

.page-register__cta-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
}

.page-register__step-number {
  background-color: #F2C14E; /* Gold */
  color: #08160F; /* Background */
}

.page-register__game-link {
  background-color: #57E38D; /* Glow */
  color: #08160F; /* Background */
}

.page-register__button-link {
  background-color: #F2C14E; /* Gold */
  color: #08160F; /* Background */
}

.page-register__faq-toggle {
  color: #57E38D; /* Glow */
}

.page-register__game-link:hover {
  background-color: #2AD16F; /* Adjusted hover for Glow */
}

.page-register__button-link:hover {
  background-color: #e0b03e; /* Adjusted hover for Gold */
}