/* style/register.css */
:root {
  --page-register-primary-color: #11A84E;
  --page-register-secondary-color: #22C768;
  --page-register-bg-color: #08160F;
  --page-register-card-bg: #11271B;
  --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: #0A4B2C;
  --page-register-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-register {
  background-color: var(--page-register-bg-color);
  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);
  color: var(--page-register-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

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

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--page-register-gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-register__hero-description {
  font-size: 20px;
  color: var(--page-register-text-main);
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.page-register__cta-button,
.page-register__login-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
}

.page-register__cta-button {
  background: var(--page-register-button-gradient);
  color: var(--page-register-text-main);
  border: 2px solid var(--page-register-glow-color);
  box-shadow: 0 0 15px var(--page-register-glow-color);
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--page-register-glow-color);
  filter: brightness(1.1);
}

.page-register__login-link {
  background: transparent;
  color: var(--page-register-glow-color);
  border: 2px solid var(--page-register-glow-color);
}

.page-register__login-link:hover {
  background: var(--page-register-glow-color);
  color: var(--page-register-bg-color);
  transform: translateY(-3px);
}

.page-register__cta-button--bottom {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 20px;
  margin-bottom: 20px;
}

.page-register__cta-button--secondary {
  background: var(--page-register-card-bg);
  color: var(--page-register-text-main);
  border: 2px solid var(--page-register-divider-color);
  box-shadow: none;
}

.page-register__cta-button--secondary:hover {
  background: var(--page-register-divider-color);
  border-color: var(--page-register-glow-color);
  color: var(--page-register-text-main);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

/* Why Join Section */
.page-register__why-join-section,
.page-register__steps-section,
.page-register__bonuses-section,
.page-register__security-section,
.page-register__games-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 80px 0;
  border-top: 1px solid var(--page-register-divider-color);
}

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

.page-register__feature-card,
.page-register__step-card,
.page-register__bonus-card,
.page-register__game-card {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__feature-card:hover,
.page-register__step-card:hover,
.page-register__bonus-card:hover,
.page-register__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

.page-register__feature-icon,
.page-register__bonus-image,
.page-register__game-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__feature-title,
.page-register__step-title,
.page-register__bonus-title,
.page-register__game-title {
  font-size: 24px;
  color: var(--page-register-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-description,
.page-register__step-description,
.page-register__bonus-description,
.page-register__game-description {
  font-size: 16px;
  color: var(--page-register-text-secondary);
  flex-grow: 1;
}

/* Steps Section */
.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--page-register-glow-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-register__image-promo {
  margin-top: 60px;
  text-align: center;
}

.page-register__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-register__image-caption {
  font-size: 16px;
  color: var(--page-register-text-secondary);
  margin-top: 15px;
}

/* Security Section */
.page-register__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__security-image {
  flex: 1 1 45%;
  min-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-register__security-list {
  flex: 1 1 45%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__security-item {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--page-register-text-main);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__security-item::before {
  content: '✔';
  color: var(--page-register-glow-color);
  font-weight: bold;
  font-size: 20px;
}

/* Games Section */
.page-register__game-card {
  text-decoration: none;
  color: inherit;
}

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

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

.page-register__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  color: var(--page-register-text-main);
  cursor: pointer;
  outline: none;
  list-style: none;
}

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

.page-register__faq-question {
  flex-grow: 1;
  text-align: left;
}

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

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--page-register-text-secondary);
  line-height: 1.5;
}

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

/* Final CTA Section */
.page-register__final-cta-section {
  text-align: center;
  padding-bottom: 100px;
}

.page-register__final-cta-section .page-register__cta-button {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-content {
    max-width: 700px;
  }
  .page-register__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-register__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px !important;
  }
  .page-register__hero-section {
    padding-bottom: 40px;
  }
  .page-register__hero-image-wrapper {
    max-height: 500px;
  }
  .page-register__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    margin-top: -100px; /* Adjust to pull content up over the image, if image is background */
    background: rgba(8, 22, 15, 0.8);
    border-radius: 12px;
  }
  .page-register__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-register__hero-description {
    font-size: 16px;
  }
  .page-register__cta-button,
  .page-register__login-link {
    display: block;
    width: 100% !important;
    margin: 10px 0 !important;
    max-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,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-register__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-register__section-intro {
    font-size: 16px;
  }
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__bonus-grid,
  .page-register__games-grid {
    grid-template-columns: 1fr;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image {
    min-width: unset;
  }
  .page-register__security-item {
    font-size: 15px;
    padding: 12px 15px;
  }
  .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__image-promo,
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(24px, 9vw, 32px);
  }
  .page-register__cta-button--large {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-register__feature-title,
  .page-register__step-title,
  .page-register__bonus-title,
  .page-register__game-title {
    font-size: 20px;
  }
  .page-register__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }
  .page-register__faq-toggle {
    font-size: 20px;
  }
}