/* style/register.css */

/* --- Base Styles --- */
.page-register {
  color: #ffffff; /* Light text for dark body background */
  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-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* --- 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-register__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-register__btn-secondary {
  background-color: #EA7C07; /* Login orange */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-register__btn-secondary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* --- Hero Section --- */
.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly dim image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

.page-register__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0; /* Primary brand color for H1 */
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* --- Why Join Section --- */
.page-register__why-join-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Light translucent background on dark body */
}

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

.page-register__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter translucent background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__feature-icon {
  width: 100%;
  max-width: 400px; /* Max width to maintain aspect ratio for original size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-register__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Video Section --- */
.page-register__video-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.3); /* Darker background for video section */
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for video section */
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.page-register__btn-video-cta {
  margin-top: 30px;
}

/* --- Steps Section --- */
.page-register__steps-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.08);
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__steps-image {
  display: block;
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* --- Verification Section --- */
.page-register__verification-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.page-register__verification-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-register__verification-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-register__verification-subtitle {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-register__verification-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__security-image {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* --- Bonus Section --- */
.page-register__bonus-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-register__bonus-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__bonus-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-register__bonus-title {
  font-size: 1.7em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-register__bonus-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Games Section --- */
.page-register__games-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.page-register__game-categories {
  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.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-register__game-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

.page-register__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-register__btn-explore {
  margin-top: 40px;
}

/* --- Responsible Gaming Section --- */
.page-register__responsible-gaming-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.08);
}

.page-register__responsible-list {
  list-style: disc;
  padding-left: 40px;
  margin: 40px auto;
  max-width: 900px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-register__responsible-item {
  margin-bottom: 10px;
}

/* --- FAQ Section --- */
.page-register__faq-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.3);
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  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.15);
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  margin: 0;
  color: #26A9E0; /* Primary brand color for FAQ questions */
  font-size: 1.2em;
}

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

.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: #f0f0f0;
}

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

.page-register__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* --- CTA Section --- */
.page-register__cta-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-register__section-title {
    font-size: 2em;
  }
}