/* style/index-registration-guide.css */

:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFCC00; /* Gold/Amber */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #002244;
  --border-color: #e0e0e0;
}

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

.page-index-registration-guide .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Global Elements for this Page --- */
.page-index-registration-guide h1,
.page-index-registration-guide h2,
.page-index-registration-guide h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-registration-guide h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light); /* White for hero section */
}

.page-index-registration-guide h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-index-registration-guide h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-registration-guide p {
  margin-bottom: 1em;
  text-align: justify;
}

.page-index-registration-guide a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.page-index-registration-guide a:hover {
  color: var(--secondary-color);
}

.page-index-registration-guide .cta-button,
.page-index-registration-guide .cta-button-secondary,
.page-index-registration-guide .btn-game,
.page-index-registration-guide .btn-promo {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-index-registration-guide .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on gold */
  font-size: 1.2em;
  border: 2px solid var(--secondary-color);
}

.page-index-registration-guide .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-registration-guide .cta-button-secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-index-registration-guide .cta-button-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-registration-guide section {
  padding: 60px 0;
}

.page-index-registration-guide section:nth-of-type(even) {
  background-color: #e9ecef; /* Slightly darker background for contrast */
}

/* --- HERO Section --- */
.page-index-registration-guide .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--primary-color); /* Fallback background */
}

.page-index-registration-guide .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-registration-guide .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-registration-guide .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-registration-guide .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-registration-guide .hero-content h1 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-index-registration-guide .hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: center;
}

/* --- Module 1: Homepage Introduction --- */
.page-index-registration-guide .section-intro {
  background-color: var(--bg-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-registration-guide .section-intro h2 {
  color: var(--primary-color);
}

.page-index-registration-guide .intro-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-index-registration-guide .feature-item {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-registration-guide .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-registration-guide .feature-item .feature-icon {
  width: 100px; /* Display size, actual image will be 200x200 */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-registration-guide .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-index-registration-guide .feature-item p {
  font-size: 0.95em;
  color: var(--text-dark);
  text-align: center;
}

/* --- Module 2: Quick Access Links --- */
.page-index-registration-guide .section-quick-access {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-registration-guide .section-quick-access h2 {
  color: var(--secondary-color);
}

.page-index-registration-guide .section-quick-access p {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.page-index-registration-guide .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-index-registration-guide .quick-link-item {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-index-registration-guide .quick-link-item:hover {
  transform: translateY(-5px);
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-registration-guide .quick-link-item:hover span {
  color: var(--primary-color);
}

.page-index-registration-guide .quick-link-item .quick-link-icon {
  width: 80px; /* Display size, actual image will be 200x200 */
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index-registration-guide .quick-link-item span {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-light);
}

/* --- Module 3: Core Games/Services Introduction --- */
.page-index-registration-guide .section-games {
  background-color: var(--bg-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-registration-guide .section-games h2 {
  color: var(--primary-color);
}

.page-index-registration-guide .section-games > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-index-registration-guide .game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-registration-guide .game-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-registration-guide .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-registration-guide .game-card .game-image {
  width: 100%;
  height: 200px; /* Minimum size 200x200 */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index-registration-guide .game-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-size: 1.4em;
  text-align: left;
}

.page-index-registration-guide .game-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: var(--text-dark);
  flex-grow: 1; /* Make paragraphs take available space */
  text-align: justify;
}

.page-index-registration-guide .game-card .btn-game {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 20px;
  margin: 0 20px 20px;
  border-radius: 5px;
  align-self: flex-start; /* Align button to start */
}

.page-index-registration-guide .game-card .btn-game:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* --- Module 4: Promotions --- */
.page-index-registration-guide .section-promotions {
  background-color: #e9ecef;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-registration-guide .section-promotions h2 {
  color: var(--primary-color);
}

.page-index-registration-guide .section-promotions > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-index-registration-guide .promo-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-registration-guide .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}