.page-register {
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent;
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button--primary {
  background: #FFD700; /* Gold */
  color: #0a0a0a; /* Dark text for contrast */
}

.page-register__cta-button--primary:hover {
  background: #e6c200; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
  background: #8B0000; /* Dark Red */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-register__cta-button--secondary:hover {
  background: #a30000; /* Lighter red */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Video Section Styles */
.page-register__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 120px; /* Adjusted for fixed header on desktop */
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.page-register__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-register__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-register__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-register__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-register__video-link:hover .page-register__video-overlay {
  opacity: 1;
}

.page-register__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-register__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-register__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary brand color */
  color: #0a0a0a; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-register__play-now-button:hover {
  background: #e6c200; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-register__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(0deg, #0a0a0a, #1a1a1a);
}

.page-register__main-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Form Section */
.page-register__form-section {
  padding: 80px 20px;
  background: #1a1a1a;
}

.page-register__form-intro {
  color: #f0f0f0;
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__form {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  flex: 1;
  min-width: 350px;
  max-width: 550px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

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

.page-register__form-input:focus {
  outline: none;
  border-color: #8B0000;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.page-register__form-group--captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-register__form-input--captcha {
  flex: 1;
}

.page-register__captcha-image {
  border-radius: 5px;
  border: 1px solid #FFD700;
  height: 50px;
  width: 150px;
  object-fit: cover;
}

.page-register__refresh-captcha-button {
  padding: 10px 15px;
  background: #8B0000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 15px;
  white-space: nowrap;
}

.page-register__refresh-captcha-button:hover {
  background: #a30000;
}

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

.page-register__form-checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #FFD700;
}

.page-register__terms-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-register__terms-link:hover {
  text-decoration: underline;
  color: #e6c200;
}

.page-register__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #FFD700;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__submit-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-register__form-image-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.page-register__form-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-register__form-image-caption {
  margin-top: 20px;
  font-size: 17px;
  color: #f0f0f0;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 20px;
  background: #0a0a0a;
}

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

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

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__benefit-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #cccccc;
}

/* Responsible Gaming Section */
.page-register__responsible-gaming-section {
  padding: 80px 20px;
  background: #1a1a1a;
}

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

.page-register__responsible-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 0, 0, 0.3);
}

.page-register__responsible-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__responsible-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__responsible-text {
  font-size: 16px;
  color: #cccccc;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 20px;
  background: #0a0a0a;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Change to X or just a minus */
  color: #8B0000;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Brand Section */
.page-register__brand-section {
  padding: 80px 20px;
  background: #1a1a1a;
}

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

.page-register__brand-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-register__brand-subtitle {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__brand-text {
  font-size: 16px;
  color: #cccccc;
}

/* Blog Section */
.page-register__blog-section {
  padding: 80px 20px;
  background: #0a0a0a;
}

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

.page-register__blog-item {
  text-align: left;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-register__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-register__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-register__blog-content {
  padding: 20px;
}

.page-register__blog-item-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-register__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-register__blog-item-date {
  font-size: 14px;
  color: #8B0000;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 42px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-register__video-section {
    padding-top: 100px !important; /* Adjusted for mobile fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-register__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-register__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain; /* Use contain to ensure video is fully visible */
  }
  
  .page-register__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-register__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-register__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-register__hero-section,
  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__responsible-gaming-section,
  .page-register__faq-section,
  .page-register__brand-section,
  .page-register__blog-section {
    padding: 40px 15px;
  }

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

  .page-register__main-title {
    font-size: 32px;
  }

  .page-register__section-title {
    font-size: 28px;
  }

  .page-register__hero-description,
  .page-register__section-description {
    font-size: 16px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-register__form-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__form {
    padding: 25px;
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }

  .page-register__form-group--captcha {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-register__form-input--captcha {
    width: 100%;
    flex: none;
    margin-bottom: 10px;
  }

  .page-register__captcha-image {
    width: 120px;
    height: 40px;
  }

  .page-register__refresh-captcha-button {
    padding: 8px 12px;
    font-size: 14px;
  }

  .page-register__form-image-block {
    width: 100%;
    max-width: 100%;
  }

  .page-register__benefit-title,
  .page-register__responsible-title,
  .page-register__brand-subtitle,
  .page-register__blog-item-title {
    font-size: 20px;
  }

  .page-register__benefit-text,
  .page-register__responsible-text,
  .page-register__brand-text,
  .page-register__blog-item-excerpt,
  .page-register p,
  .page-register li {
    font-size: 15px;
  }

  .page-register__faq-question {
    padding: 15px;
  }

  .page-register__faq-question h3 {
    font-size: 16px;
  }

  .page-register__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }

  .page-register img,
  .page-register__blog-image,
  .page-register__benefit-icon,
  .page-register__responsible-icon,
  .page-register__brand-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-register__blog-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}