/* style/register.css */

:root {
  --page-register-bg: #08160F;
  --page-register-card-bg: #11271B;
  --page-register-text-main: #F2FFF6;
  --page-register-text-secondary: #A7D9B8;
  --page-register-border-color: #2E7A4E;
  --page-register-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-register-glow: #57E38D;
  --page-register-gold: #F2C14E;
  --page-register-divider: #1E3A2A;
  --page-register-deep-green: #0A4B2C;
}

.page-register {
  background-color: var(--page-register-bg);
  color: var(--page-register-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-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--page-register-text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--page-register-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* General card styles */
.page-register__card {
  background-color: var(--page-register-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-register-text-main);
  border: 1px solid var(--page-register-border-color);
}

.page-register__card-title {
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--page-register-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Button styles */
.page-register__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background: var(--page-register-button-gradient);
  color: var(--page-register-text-main);
  border: none;
}

.page-register__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: var(--page-register-text-main);
  border: 2px solid var(--page-register-border-color);
}

.page-register__btn-secondary:hover {
  background-color: rgba(var(--page-register-border-color), 0.2);
  transform: translateY(-2px);
}

.page-register__btn-large {
  padding: 15px 30px;
  font-size: 20px;
}

.page-register__btn-link {
  display: inline-block;
  color: var(--page-register-glow);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
}

.page-register__btn-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-register__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--page-register-text-main);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-register__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--page-register-text-secondary);
  margin-bottom: 40px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: var(--page-register-bg);
}

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

.page-register__benefit-card {
  text-align: center;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: var(--page-register-deep-green);
}

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

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

.page-register__step-icon {
  background: var(--page-register-button-gradient);
  color: var(--page-register-text-main);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px var(--page-register-glow);
}

.page-register__step-image {
  margin-top: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: var(--page-register-bg);
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
  color: var(--page-register-text-main);
}

.page-register__security-list li {
  background-color: var(--page-register-card-bg);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--page-register-glow);
  font-size: 17px;
}

.page-register__security-list li strong {
  color: var(--page-register-glow);
}

.page-register__security-section .page-register__btn-secondary {
  margin: 10px;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: var(--page-register-deep-green);
}

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

.page-register__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Explore Section */
.page-register__explore-section {
  padding: 80px 0;
  background-color: var(--page-register-bg);
}

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

.page-register__category-card {
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.page-register__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--page-register-glow), 0.3);
}

.page-register__category-card .page-register__card-title {
  margin-bottom: 10px;
}

.page-register__category-card p {
  color: var(--page-register-text-secondary);
  font-size: 15px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: var(--page-register-deep-green);
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  background-color: var(--page-register-deep-green);
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--page-register-text-main);
  transition: background-color 0.3s ease;
  border: 1px solid var(--page-register-border-color);
}

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

.page-register__faq-item summary:hover {
  background-color: rgba(var(--page-register-border-color), 0.5);
}

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

.page-register__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 15px 20px;
  background-color: rgba(var(--page-register-card-bg), 0.8);
  border-radius: 0 0 8px 8px;
  color: var(--page-register-text-secondary);
  font-size: 16px;
  border-top: 1px dashed var(--page-register-divider);
}

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

.page-register__faq-image {
  margin-top: 40px;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 80px 0;
  background-color: var(--page-register-bg);
  text-align: center;
}

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

/* Dark/Light background adjustments for text color */
.page-register__dark-section {
  background-color: var(--page-register-deep-green);
  color: var(--page-register-text-main);
}

.page-register__light-bg {
  background-color: var(--page-register-bg);
  color: var(--page-register-text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__promotions-section,
  .page-register__explore-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
  }

  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__main-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .page-register__hero-description {
    font-size: clamp(16px, 4vw, 18px);
  }

  .page-register__section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .page-register__section-description {
    font-size: clamp(15px, 3.5vw, 17px);
    margin-bottom: 30px;
  }

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

  /* Button responsiveness */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-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-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__security-list {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-register__security-section .page-register__btn-secondary {
    display: block;
    margin: 10px auto;
  }

  .page-register__game-categories {
    grid-template-columns: 1fr;
  }

  .page-register__faq-list {
    max-width: 100%;
  }

  .page-register__faq-item summary {
    font-size: 16px;
    padding: 12px 15px;
  }

  .page-register__faq-answer {
    padding: 12px 15px;
    font-size: 15px;
  }
}