/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main on dark background */
  background-color: #0A0A0A; /* Background color */
  box-sizing: border-box;
}

.page-register *,
.page-register *::before,
.page-register *::after {
  box-sizing: inherit;
}

/* Container for content sections */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Card styles */
.page-register__card {
  background: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow effect */
}

.page-register__card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-top: 15px;
  margin-bottom: 15px;
}

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

/* Button styles */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none; /* Reset border for buttons */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-register__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
  transform: translateY(-2px);
}

/* CTA Buttons Group */
.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0A0A0A;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Max height for hero image */
  overflow: hidden;
  position: relative;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-register__hero-content {
  max-width: 900px;
  padding: 40px 20px 0;
  text-align: center;
  margin-top: 20px; /* Space between image and content */
}

.page-register__main-title {
  color: #F2C14E; /* Main color for H1 */
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-register__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Dark Section styling */
.page-register__dark-section {
  background-color: #0A0A0A;
  padding: 80px 0;
}

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
}

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

/* Registration Guide Section */
.page-register__registration-guide-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-register__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.page-register__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  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(0, 0, 0, 0.2);
}

/* Bonuses Section */
.page-register__bonuses-section {
  padding: 80px 0;
}

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

.page-register__bonus-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-register__bonus-card .page-register__card-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Games Await Section */
.page-register__games-await-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-register__game-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FFF6D6;
  padding: 20px;
}

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

.page-register__category-icon {
  width: 60px; /* Adjust size for actual icon */
  height: 60px; /* Adjust size for actual icon */
  margin-bottom: 15px;
  object-fit: contain;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
}

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

.page-register__security-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
}

.page-register__security-item .page-register__card-title {
  color: #FFD36B;
  text-align: left;
}

.page-register__security-item .page-register__card-text {
  color: #FFF6D6;
  text-align: left;
}

/* App Section */
.page-register__app-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-register__app-section--bottom {
  padding-top: 40px; /* Slightly less padding if it's the second app section */
}

.page-register__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap; /* Allow wrapping */
}

.page-register__app-text {
  flex: 1;
  min-width: 300px;
}

.page-register__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__app-features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-register__app-features-list li {
  color: #FFF6D6;
  font-size: 1.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-register__list-icon {
  color: #FFD36B; /* Auxiliary color for icons */
  font-size: 1.2em;
  margin-right: 10px;
  font-weight: bold;
}


/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
}

.page-register__faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

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

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

.page-register__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-register__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Ensure h3 inside is not too large */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
}

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

.page-register__faq-answer p {
  margin: 0;
  padding-top: 10px; /* Space from question */
}