/* style/index-how-to-register.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #0a0a2a; /* Slightly lighter than secondary for contrast */
  --border-color: #e0e0e0;
}

.page-index-how-to-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

/* Hero Section */
.page-index-how-to-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a4a 100%); /* Darker gradient for hero */
  color: var(--text-light);
}

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

.page-index-how-to-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Adjust max width for hero image */
}

.page-index-how-to-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-how-to-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-how-to-register__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-how-to-register__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-how-to-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-how-to-register__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-index-how-to-register__cta-button--large {
  padding: 18px 50px;
  font-size: 1.3em;
}

/* Intro Section */
.page-index-how-to-register__intro-section {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

.page-index-how-to-register__intro-section h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-index-how-to-register__intro-section p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-index-how-to-register__intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-index-how-to-register__feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-how-to-register__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-how-to-register__feature-item img {
  width: 150px; /* Increased size for feature images */
  height: 150px; /* Increased size for feature images */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-how-to-register__feature-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index-how-to-register__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Guide Section */
.page-index-how-to-register__guide-section {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 60px 0;
}

.page-index-how-to-register__guide-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-index-how-to-register__guide-section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-index-how-to-register__step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 30px;
}

.page-index-how-to-register__step:nth-child(even) {
  flex-direction: row-reverse; /* Alternate layout */
}

.page-index-how-to-register__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--primary-color);
  background: var(--secondary-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-index-how-to-register__step-content {
  flex: 1;
  background: #1a1a4a; /* Darker background for step content */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-how-to-register__step-content h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-how-to-register__step-content p {
  font-size: 1em;
  margin-bottom: 15px;
  text-align: left;
}

.page-index-how-to-register__step-content ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-index-how-to-register__step-content li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-index-how-to-register__step-content img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Limit image width within step */
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-how-to-register__link-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-index-how-to-register__link-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Important Notes Section */
.page-index-how-to-register__important-notes-section {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

.page-index-how-to-register__important-notes-section h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-index-how-to-register__important-notes-section p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-index-how-to-register__important-notes-section ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-index-how-to-register__important-notes-section li {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1em;
}

.page-index-how-to-register__important-notes-section li strong {
  color: var(--secondary-color);
}

.page-index-how-to-register__important-notes-section img {
  width: 100%;
  height: auto;
  max-width: 700px; /* Limit image width */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* After Registration Section */
.page-index-how-to-register__after-registration-section {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.page-index-how-to-register__after-registration-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.page-index-how-to-register__after-registration-section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-index-how-to-register__after-registration-section p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-index-how-to-register__after-registration-section ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-index-how-to-register__after-registration-section ul li {
  background: #1a1a4a;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1em;
}

.page-index-how-to-register__game-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-index-how-to-register__game-card {
  background: #1a1a4a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-how-to-register__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index-how-to-register__game-card img {
  width: 250px; /* Increased size for game cards */
  height: 180px; /* Increased size for game cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-how-to-register__game-card h4 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-how-to-register__game-card p {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 0;
}

/* Promotions Section */
.page-index-how-to-register__promotions-section {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

.page-index-how-to-register__promotions-section h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-index-how-to-register__promotions-section p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-index-how-to-register__promotions-section ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-index-how-to-register__promotions-section li {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1em;
}

.page-index-how-to-register__promotions-section li strong {
  color: var(--secondary-color);
}

.page-index-how-to-register__promotions-section img {
  width: 100%;
  height: auto;
  max-width: 700px; /* Limit image width */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-index-how-to-register__faq-section {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 60px 0;
}

.page-index-how-to-register__faq-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-index-how-to-register__faq-section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a1a4a;
  border: 1px solid #2a2a5a;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #2a2a5a;
  border-color: var(--primary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2a2a5a;
  color: #cccccc;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #3a3a6a;
}

.faq-answer p {
  margin: 0;
  text-align: left;
  font-size: 1em;
}

/* Conclusion Section */
.page-index-how-to-register__conclusion-section {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.page-index-how-to-register__conclusion-section h2 {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-index-how-to-register__conclusion-section p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-how-to-register__hero-content h1 {
    font-size: 2.8em;
  }
  .page-index-how-to-register__intro-features {
    justify-content: center;
  }
  .page-index-how-to-register__step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-index-how-to-register__step:nth-child(even) {
    flex-direction: column;
  }
  .page-index-how-to-register__step-content p, .page-index-how-to-register__step-content ul, .page-index-how-to-register__step-content li {
    text-align: center;
  }
  .page-index-how-to-register__game-categories {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index-how-to-register__hero-section {
    padding: 40px 15px;
  }
  .page-index-how-to-register__hero-content h1 {
    font-size: 2.2em;
  }
  .page-index-how-to-register__hero-content p {
    font-size: 1em;
  }
  .page-index-how-to-register__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index-how-to-register__cta-button--large {
    padding: 15px 40px;
    font-size: 1.1em;
  }
  .page-index-how-to-register__intro-section h2,
  .page-index-how-to-register__guide-section h2,
  .page-index-how-to-register__important-notes-section h2,
  .page-index-how-to-register__after-registration-section h2,
  .page-index-how-to-register__promotions-section h2,
  .page-index-how-to-register__faq-section h2,
  .page-index-how-to-register__conclusion-section h2 {
    font-size: 2em;
  }
  .page-index-how-to-register__step-number {
    width: 60px;
    height: 60px;
    font-size: 2.2em;
    margin-bottom: 20px;
  }
  .page-index-how-to-register__step-content {
    padding: 20px;
  }
  .page-index-how-to-register__step-content h3 {
    font-size: 1.5em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-how-to-register__hero-content h1 {
    font-size: 1.8em;
  }
  .page-index-how-to-register__intro-section h2,
  .page-index-how-to-register__guide-section h2,
  .page-index-how-to-register__important-notes-section h2,
  .page-index-how-to-register__after-registration-section h2,
  .page-index-how-to-register__promotions-section h2,
  .page-index-how-to-register__faq-section h2,
  .page-index-how-to-register__conclusion-section h2 {
    font-size: 1.8em;
  }
  .page-index-how-to-register__feature-item {
    min-width: 100%;
  }
  .page-index-how-to-register__game-card {
    width: 100%;
  }
  .page-index-how-to-register__step-content p, .page-index-how-to-register__step-content ul, .page-index-how-to-register__step-content li {
    text-align: left;
  }
  .page-index-how-to-register__step-number {
    margin-left: auto;
    margin-right: auto;
  }
  .page-index-how-to-register__step-content {
    width: 100%;
  }
  .page-index-how-to-register__step-content ul {
    margin-left: 15px;
  }
}