.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is #000 (dark), so text should be light */
  background-color: transparent; /* Rely on shared.css for body background */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 100px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-register__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffc107; /* Highlight with auxiliary color */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-register__hero-cta-button {
  display: inline-block;
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #007bff;
}

.page-register__hero-cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

/* General Section Styles */
.page-register__benefits-section,
.page-register__form-section,
.page-register__offers-section,
.page-register__games-section,
.page-register__responsible-gaming-section,
.page-register__video-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  color: #f0f0f0;
}

.page-register h2 {
  font-size: 2.8em;
  color: #ffc107; /* Auxiliary color for main headings */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-register h3 {
  font-size: 1.8em;
  color: #007bff; /* Main color for sub-headings */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register p {
  line-height: 1.7;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-register a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.page-register__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust size for content image, not icon */
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__benefit-heading {
  color: #ffc107;
}

.page-register__benefit-text {
  color: #e0e0e0;
}

/* Form Section */
.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #e0e0e0;
}

.page-register__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #007bff;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
}

.page-register__form-input::placeholder {
  color: #cccccc;
  opacity: 0.7;
}

.page-register__form-input:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

.page-register__form-checkbox-group {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.page-register__form-checkbox {
  margin-right: 10px;
  min-width: 18px;
  min-height: 18px;
  transform: translateY(2px);
  accent-color: #007bff;
}

.page-register__form-checkbox-label {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #000000; /* Dark text on auxiliary color */
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__submit-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-register__offer-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.page-register__offer-heading {
  color: #ffc107;
}

.page-register__offer-text {
  color: #e0e0e0;
}

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #007bff;
}

.page-register__cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-register__cta-button--secondary {
  background-color: transparent;
  border-color: #ffc107;
  color: #ffc107;
}

.page-register__cta-button--secondary:hover {
  background-color: #ffc107;
  color: #000000;
}

/* Games Section */
.page-register__games-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: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.page-register__game-heading {
  color: #007bff;
}

.page-register__game-text {
  color: #e0e0e0;
}

/* Responsible Gaming Section */
.page-register__responsible-gaming-section {
  background-color: rgba(0, 0, 0, 0.9);
}

.page-register__responsible-gaming-title {
  color: #ffc107;
}

/* Video Section */
.page-register__video-section {
  background-color: rgba(0, 0, 0, 0.85);
}

.page-register__video-title {
  color: #ffc107;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 0 auto 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-register__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  min-width: 200px;
  min-height: 200px;
}

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

.page-register__faq-title {
  color: #ffc107;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #007bff;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-heading {
  margin: 0;
  color: #007bff;
}

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

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px;
  padding-top: 0;
}

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

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 100px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.95);
}

.page-register__final-cta-title {
  font-size: 3em;
  color: #ffc107;
  margin-bottom: 30px;
}

.page-register__final-cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for final CTA */
  color: #000000; /* Dark text on auxiliary color */
  padding: 18px 50px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #ffc107;
}

.page-register__final-cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register h2 {
    font-size: 2.5em;
  }
  .page-register h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 80px 15px 40px;
    min-height: 500px;
  }
  .page-register__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-register__hero-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-register__benefits-section,
  .page-register__form-section,
  .page-register__offers-section,
  .page-register__games-section,
  .page-register__responsible-gaming-section,
  .page-register__video-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 60px 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register h2 {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-register h3 {
    font-size: 1.4em;
  }
  .page-register p {
    font-size: 1em;
  }
  .page-register__section-description {
    font-size: 1em;
  }

  /* Images and Videos Responsive */
  .page-register img,
  .page-register video {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-register__hero-image {
    filter: brightness(0.6) !important; /* Slightly less dark on mobile */
  }
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Remove padding for video wrapper itself */
    padding-right: 0 !important;
  }
  .page-register__video-link-overlay {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons Responsive */
  .page-register__hero-cta-button,
  .page-register__submit-button,
  .page-register__cta-button,
  .page-register__final-cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-register__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Form adjustments */
  .page-register__registration-form {
    padding: 30px 20px;
  }

  /* FAQ adjustments */
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-register__faq-answer {
    padding: 0 15px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
    padding-top: 0 !important;
  }

  /* Final CTA */
  .page-register__final-cta-title {
    font-size: 2.5em;
  }
  .page-register__final-cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register h2 {
    font-size: 1.8em;
  }
  .page-register h3 {
    font-size: 1.3em;
  }
  .page-register__hero-section {
    min-height: 400px;
  }
  .page-register__final-cta-title {
    font-size: 2em;
  }
}

/* Fixed header offset - Assuming shared.css handles body padding-top */
/* If shared.css does NOT set padding-top on body, uncomment the following */
/*
.page-register__hero-section {
  padding-top: calc(var(--header-offset, 120px) + 100px); 
}
*/