/* style/-g.css */

:root {
  --primary-color: #FFD700; /* Luxury Gold */
  --secondary-color: #B22222; /* Deep Red */
  --dark-background: #1A1A1A; /* Dark Grey/Black */
  --text-light: #F0F0F0;
  --text-dark: #333333;
  --border-color: #333333;
  --card-bg: #222222;
  --button-hover-color: #FFC107;
}

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

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

/* Hero Section */
.page--g__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(--dark-background) 0%, #333333 100%); /* Subtle gradient for depth */
  overflow: hidden;
}

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

.page--g__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page--g__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.page--g__hero-image img:hover {
  transform: scale(1.03);
}

.page--g__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page--g__hero-content h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.page--g__hero-content p {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page--g__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page--g__cta-button:hover {
  background: var(--primary-color);
  color: var(--dark-background);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page--g__cta-button--large {
  padding: 18px 50px;
  font-size: 1.4em;
}

/* General Section Styling */
.page--g__section {
  padding: 80px 0;
  background-color: var(--dark-background);
  border-bottom: 1px solid var(--border-color);
}

.page--g__section:last-of-type {
  border-bottom: none;
}

.page--g__section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page--g__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page--g__section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-light);
}

/* About Us Section */
.page--g__about-us .page--g__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g__about-us .page--g__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.page--g__about-us .page--g__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page--g__about-us .page--g__feature-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page--g__about-us .page--g__feature-item h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g__about-us .page--g__feature-item h3 a:hover {
  color: var(--secondary-color);
}

.page--g__about-us .page--g__feature-item p {
  font-size: 1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0;
}

/* Game Types Section */
.page--g__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page--g__game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page--g__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page--g__game-card:hover img {
  transform: scale(1.05);
}

.page--g__game-card h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  text-align: center;
}

.page--g__game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g__game-card h3 a:hover {
  color: var(--secondary-color);
}

.page--g__game-card p {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 20px 20px;
  text-align: center;
  flex-grow: 1;
  margin-bottom: 0;
}

.page--g__card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g__card-button:hover {
  background-color: var(--primary-color);
  color: var(--dark-background);
  transform: translateY(-2px);
}

/* How To Play Section */
.page--g__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page--g__step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid var(--border-color);
}

.page--g__step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: -60px auto 20px;
  border: 4px solid var(--dark-background);
  box-shadow: 0 0 0 5px var(--primary-color);
}

.page--g__step-item h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page--g__step-item p {
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
}

.page--g__step-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--dark-background);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g__step-button:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page--g__how-to-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Promotions Section */
.page--g__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page--g__promo-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page--g__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page--g__promo-card h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  text-align: center;
}

.page--g__promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g__promo-card h3 a:hover {
  color: var(--secondary-color);
}

.page--g__promo-card p {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 20px 20px;
  text-align: center;
  flex-grow: 1;
  margin-bottom: 0;
}

.page--g__promo-cta {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 20px;
  text-align: center;
}

/* FAQ Section */
.page--g__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page--g__faq-list .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page--g__faq-list .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page--g__faq-list .faq-question:hover {
  background: #2A2A2A;
  border-color: var(--primary-color);
}

.page--g__faq-list .faq-question h3 {
  font-size: 1.15em;
  color: var(--primary-color);
  margin: 0;
}

.page--g__faq-list .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page--g__faq-list .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page--g__faq-list .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #2A2A2A;
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

.page--g__faq-list .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

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

/* Conclusion Section */
.page--g__conclusion h2 {
  margin-bottom: 30px;
}

.page--g__conclusion p {
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g__hero-content h1 {
    font-size: 2.5em;
  }
  .page--g__hero-content p {
    font-size: 1.1em;
  }
  .page--g__section h2 {
    font-size: 2em;
  }
  .page--g__about-us .page--g__features,
  .page--g__game-grid,
  .page--g__steps,
  .page--g__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page--g__hero-section {
    padding: 40px 15px;
  }
  .page--g__hero-content h1 {
    font-size: 2em;
  }
  .page--g__hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page--g__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page--g__cta-button--large {
    padding: 15px 40px;
    font-size: 1.1em;
  }
  .page--g__section {
    padding: 60px 0;
  }
  .page--g__section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page--g__section p {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page--g__about-us .page--g__feature-item,
  .page--g__game-card,
  .page--g__step-item,
  .page--g__promo-card {
    padding: 20px;
  }
  .page--g__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin: -50px auto 15px;
  }
  .page--g__faq-list .faq-question {
    padding: 15px 20px;
  }
  .page--g__faq-list .faq-question h3 {
    font-size: 1em;
  }
  .page--g__faq-list .faq-toggle {
    font-size: 1.5em;
  }
  .page--g__faq-list .faq-answer {
    padding: 0 20px;
  }
  .page--g__faq-list .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page--g__hero-content h1 {
    font-size: 1.8em;
  }
  .page--g__hero-content p {
    font-size: 0.9em;
  }
  .page--g__section h2 {
    font-size: 1.6em;
  }
  .page--g__about-us .page--g__features,
  .page--g__game-grid,
  .page--g__steps,
  .page--g__promo-grid {
    grid-template-columns: 1fr;
  }
  .page--g__step-icon {
    margin: -50px auto 15px;
  }
  .page--g__game-card img {
    height: 180px;
  }
  .page--g__promo-card img {
    height: 160px;
  }
}