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

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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-login__main-title {
  color: var(--text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-login__form-container {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.page-login__form-group {
  margin-bottom: 20px;
  text-align: left;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--deep-green);
  color: var(--text-main);
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.page-login__form-submit-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background: var(--button-gradient);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__form-submit-btn:hover {
  opacity: 0.9;
}

.page-login__form-links {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}

.page-login__forgot-password,
.page-login__register-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
  color: var(--glow-color);
}

.page-login__section-title {
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-login__section-description {
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-login__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-login__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  width: 100%; /* Ensure width: 100% for desktop */
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-login__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-login__features-section,
.page-login__guide-section,
.page-login__troubleshoot-section,
.page-login__security-section,
.page-login__games-section,
.page-login__promotions-section,
.page-login__faq-section,
.page-login__cta-final-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-login__feature-card,
.page-login__troubleshoot-card,
.page-login__game-card,
.page-login__promotion-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__feature-title,
.page-login__troubleshoot-title,
.page-login__game-title,
.page-login__promotion-title {
  color: var(--text-main);
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-login__feature-title a,
.page-login__game-title a,
.page-login__promotion-title a {
  color: inherit;
  text-decoration: none;
}

.page-login__feature-title a:hover,
.page-login__game-title a:hover,
.page-login__promotion-title a:hover {
  color: var(--glow-color);
}

.page-login__feature-text,
.page-login__troubleshoot-text,
.page-login__game-text,
.page-login__promotion-text {
  color: var(--text-secondary);
  font-size: 0.95em;
  flex-grow: 1;
}

.page-login__troubleshoot-link {
  color: var(--glow-color);
  text-decoration: none;
  margin-top: 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-login__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-login__step-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
  max-width: 350px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--button-gradient);
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-login__step-title {
  color: var(--text-main);
  font-weight: bold;
  margin-bottom: 10px;
}

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

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

.page-login__cta-bottom p {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  transition: all 0.3s ease;
}

.page-login__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--deep-green);
}

.page-login__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-login__security-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-login__security-text-block {
  flex: 2 1 500px;
  color: var(--text-secondary);
}

.page-login__security-text-block h3 {
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__security-text-block p {
  margin-bottom: 15px;
}

.page-login__game-image,
.page-login__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-login__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background: var(--button-gradient);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__btn-primary:hover {
  opacity: 0.9;
}

.page-login__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-item summary {
  list-style: none;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: var(--main-color);
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow-color);
}

.page-login__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  font-size: 1em;
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider-color);
}

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

.page-login__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-login__cta-final-btn {
  margin: 10px;
  min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__hero-content {
    margin-top: 20px;
  }
  .page-login__features-grid,
  .page-login__troubleshoot-grid,
  .page-login__games-grid,
  .page-login__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-login__security-content {
    flex-direction: column;
  }
  .page-login__security-image {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-login__main-title {
    font-size: 2em !important;
  }
  .page-login__description {
    font-size: 1em;
  }
  .page-login__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }
  .page-login__form-container {
    padding: 20px;
  }
  .page-login__video-section,
  .page-login__features-section,
  .page-login__guide-section,
  .page-login__troubleshoot-section,
  .page-login__security-section,
  .page-login__games-section,
  .page-login__promotions-section,
  .page-login__faq-section,
  .page-login__cta-final-section {
    padding: 40px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-login__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-login__video-link,
  .page-login__video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__feature-card,
  .page-login__troubleshoot-card,
  .page-login__game-card,
  .page-login__promotion-card,
  .page-login__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login 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-login__cta-final-btn {
    margin: 10px 0;
  }
  .page-login__form-links {
    flex-direction: column;
    gap: 10px;
  }
  .page-login__forgot-password,
  .page-login__register-link {
    text-align: center;
    width: 100%;
  }
  .page-login__features-grid,
  .page-login__troubleshoot-grid,
  .page-login__games-grid,
  .page-login__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-login__security-image {
    height: auto;
  }
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-login__faq-answer {
    padding: 15px 20px;
  }
}