/* style/register.css */

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

.page-register {
  font-family: 'Arial', sans-serif;
  color: var(--page-register-text-main); /* Ensure light text on dark body background */
  background-color: var(--page-register-background);
  line-height: 1.6;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  background-color: var(--page-register-background);
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

.page-register__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-register__hero-title {
  color: var(--page-register-gold-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.15rem;
  color: var(--page-register-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-register-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-register__section-description {
  font-size: 1rem;
  color: var(--page-register-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background: var(--page-register-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: var(--page-register-primary-color);
  border: 2px solid var(--page-register-primary-color);
  margin-left: 20px;
}

.page-register__btn-secondary:hover {
  background-color: var(--page-register-primary-color);
  color: #ffffff;
}

.page-register__btn-text-link {
  color: var(--page-register-gold-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-register__btn-text-link:hover {
  color: var(--page-register-glow-color);
  text-decoration: underline;
}

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

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

.page-register__benefit-card {
  background-color: var(--page-register-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-register-border-color);
}

.page-register__benefit-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-register__benefit-title {
  font-size: 1.5rem;
  color: var(--page-register-gold-color);
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 0.95rem;
  color: var(--page-register-text-secondary);
}

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

.page-register__steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--page-register-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--page-register-border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-register-gold-color);
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-title {
  font-size: 1.4rem;
  color: var(--page-register-text-main);
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 0.95rem;
  color: var(--page-register-text-secondary);
}

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

/* Games Section */
.page-register__games-section {
  background-color: var(--page-register-card-bg);
  padding: 60px 0;
}

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

.page-register__game-card {
  display: block;
  background-color: var(--page-register-background);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--page-register-text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-register-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-register__game-title {
  font-size: 1.3rem;
  padding: 15px 20px 5px;
  color: var(--page-register-gold-color);
}

.page-register__game-text {
  font-size: 0.9rem;
  color: var(--page-register-text-secondary);
  padding: 0 20px 20px;
}

.page-register__cta-game-list {
  text-align: center;
}

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

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

.page-register__promo-card {
  background-color: var(--page-register-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-register-border-color);
  text-align: center;
}

.page-register__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-register__promo-title {
  font-size: 1.4rem;
  color: var(--page-register-gold-color);
  margin-bottom: 10px;
}

.page-register__promo-text {
  font-size: 0.95rem;
  color: var(--page-register-text-secondary);
  margin-bottom: 20px;
}

.page-register__cta-promo-all {
  text-align: center;
}

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

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

.page-register__security-item {
  background-color: var(--page-register-background);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 5px solid var(--page-register-gold-color);
  color: var(--page-register-text-main);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-register__security-item a {
  color: var(--page-register-glow-color);
  text-decoration: none;
}

.page-register__security-item a:hover {
  text-decoration: underline;
}

.page-register__cta-security {
  text-align: center;
}

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

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

.page-register__faq-item {
  background-color: var(--page-register-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--page-register-border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-item summary {
  list-style: none;
  /* Remove default marker */
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-register-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-register-gold-color);
}

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-register-text-secondary);
}

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

/* Final CTA Section */
.page-register__cta-final {
  background-color: var(--page-register-deep-green-color);
  padding: 60px 0;
  text-align: center;
}

.page-register__cta-final .page-register__btn-primary,
.page-register__cta-final .page-register__btn-secondary {
  margin: 0 10px 20px;
}

/* Footer Placeholder */
.page-register__footer-placeholder {
  height: 100px; /* Adjust as needed */
  background-color: #333;
  color: #fff;
  text-align: center;
  line-height: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-register__benefits-grid,
  .page-register__games-grid,
  .page-register__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-section {
    padding: 10px 15px 40px;
  }
  .page-register__hero-content {
    padding: 0 15px;
  }
  .page-register__container {
    padding: 30px 15px;
  }
  .page-register__hero-image,
  .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-image-wrapper,
  .page-register__game-card,
  .page-register__promo-card,
  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__faq-item,
  .page-register__cta-bottom,
  .page-register__cta-game-list,
  .page-register__cta-promo-all,
  .page-register__cta-security,
  .page-register__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__games-section,
  .page-register__promotions-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-final {
    padding-left: 0;
    padding-right: 0;
  }
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
  .page-register__cta-final .page-register__btn-primary,
  .page-register__cta-final .page-register__btn-secondary {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__cta-final .page-register__btn-secondary {
    margin-bottom: 0;
  }
  .page-register__hero-content .page-register__btn-primary {
    margin-bottom: 0;
  }
  .page-register__cta-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__cta-final .page-register__section-title,
  .page-register__cta-final .page-register__section-description {
    padding-left: 0;
    padding-right: 0;
  }
  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-register__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-register__benefits-grid,
  .page-register__games-grid,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__benefit-title,
  .page-register__game-title,
  .page-register__promo-title,
  .page-register__step-title {
    font-size: 1.2rem;
  }
  .page-register__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-register__faq-toggle {
    font-size: 1.2rem;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px;
  }
}