/* style/register-process.css */

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

.page-register-process {
  background-color: var(--r86-bg-color);
  color: var(--r86-text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register-process__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--r86-bg-color);
  overflow: hidden;
  text-align: center;
}

.page-register-process__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-register-process__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability */
}

.page-register-process__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: var(--r86-text-main-color);
}

.page-register-process__hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--r86-text-main-color);
  margin-bottom: 20px;
}

.page-register-process__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--r86-text-secondary-color);
}

.page-register-process__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register-process__cta-buttons--center {
  margin-top: 40px;
}

.page-register-process__cta-buttons--margin-top {
  margin-top: 50px;
}

.page-register-process__btn-primary,
.page-register-process__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-register-process__btn-primary {
  background: var(--r86-button-gradient);
  color: var(--r86-text-main-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register-process__btn-secondary {
  background: transparent;
  color: var(--r86-primary-color);
  border: 2px solid var(--r86-primary-color);
}

.page-register-process__btn-secondary:hover {
  background: var(--r86-primary-color);
  color: var(--r86-text-main-color);
  transform: translateY(-2px);
}

.page-register-process__section {
  padding: 80px 20px;
  background-color: var(--r86-bg-color);
  color: var(--r86-text-main-color);
}

.page-register-process__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-register-process__section-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: var(--r86-text-main-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register-process__section-description {
  font-size: 1.1em;
  color: var(--r86-text-secondary-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

.page-register-process__feature-card {
  background-color: var(--r86-card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--r86-border-color);
}

.page-register-process__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register-process__feature-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register-process__feature-title {
  font-size: 1.4em;
  color: var(--r86-text-main-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register-process__feature-text {
  font-size: 0.95em;
  color: var(--r86-text-secondary-color);
}

.page-register-process__step-card {
  background-color: var(--r86-card-bg-color);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--r86-border-color);
}

.page-register-process__step-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.page-register-process__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--r86-button-gradient);
  color: var(--r86-text-main-color);
  font-weight: 700;
  font-size: 1.3em;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-register-process__step-title {
  font-size: 1.8em;
  color: var(--r86-text-main-color);
  font-weight: 600;
  margin: 0;
}

.page-register-process__step-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-register-process__step-text {
  font-size: 1.05em;
  color: var(--r86-text-secondary-color);
  margin-bottom: 15px;
}

.page-register-process__step-list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 20px;
  color: var(--r86-text-secondary-color);
}

.page-register-process__step-list li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-register-process__step-list li strong {
  color: var(--r86-text-main-color);
}

.page-register-process__card {
  background-color: var(--r86-card-bg-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--r86-border-color);
  color: var(--r86-text-secondary-color);
}

.page-register-process__card-title {
  font-size: 1.6em;
  color: var(--r86-text-main-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-register-process__card-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-register-process__list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 20px;
}

.page-register-process__list li {
  margin-bottom: 8px;
}

.page-register-process__main-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 50px;
  object-fit: cover;
}

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

.page-register-process__category-card {
  background-color: var(--r86-deep-green-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--r86-divider-color);
  transition: background-color 0.3s ease;
}

.page-register-process__category-card:hover {
  background-color: var(--r86-primary-color);
}

.page-register-process__category-title {
  font-size: 1.3em;
  color: var(--r86-gold-color);
  margin-bottom: 10px;
}

.page-register-process__category-title a {
  color: var(--r86-gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register-process__category-title a:hover {
  color: var(--r86-text-main-color);
}

.page-register-process__category-card p {
  font-size: 0.95em;
  color: var(--r86-text-secondary-color);
}

.page-register-process__faq-section {
  background-color: var(--r86-bg-color);
}

.page-register-process__faq-list {
  margin-top: 40px;
}

.page-register-process__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--r86-border-color);
  border-radius: 8px;
  background-color: var(--r86-card-bg-color);
  color: var(--r86-text-main-color);
}

.page-register-process__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--r86-text-main-color);
  list-style: none; /* Remove default marker for summary */
}

.page-register-process__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-register-process__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--r86-glow-color);
}

.page-register-process__faq-item[open] .page-register-process__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-register-process__faq-answer {
  padding: 0 20px 15px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--r86-text-secondary-color);
}

.page-register-process__faq-answer p {
  margin: 0;
}

.page-register-process__conclusion .page-register-process__btn-primary {
  width: auto;
}

/* General image responsiveness */
.page-register-process img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register-process__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-register-process__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
  }
  .page-register-process__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-register-process__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register-process {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register-process__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-register-process__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-register-process__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-register-process__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-register-process__btn-primary,
  .page-register-process__btn-secondary,
  .page-register-process a[class*="button"],
  .page-register-process a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register-process__cta-buttons,
  .page-register-process__button-group,
  .page-register-process__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;
    flex-direction: column;
  }

  .page-register-process__section {
    padding: 50px 15px;
  }

  .page-register-process__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-register-process__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register-process__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register-process__step-card {
    padding: 25px;
    margin-bottom: 30px;
  }

  .page-register-process__step-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .page-register-process__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-register-process__step-title {
    font-size: 1.4em;
  }

  .page-register-process__step-image {
    margin-bottom: 20px;
  }

  .page-register-process__card {
    padding: 25px;
    margin-bottom: 25px;
  }

  .page-register-process__card-title {
    font-size: 1.4em;
  }

  .page-register-process__main-image {
    margin-bottom: 30px;
  }

  .page-register-process__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register-process__category-title {
    font-size: 1.2em;
  }

  .page-register-process__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-register-process__faq-answer {
    padding: 0 15px 12px;
  }

  /* Mobile specific overrides for images and videos */
  .page-register-process img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register-process video,
  .page-register-process__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register-process__video-section,
  .page-register-process__video-container,
  .page-register-process__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-process__section,
  .page-register-process__card,
  .page-register-process__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}