/* style/game-center-game-categories.css */
.page-game-center-game-categories {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #FFFFFF; /* Default text color for dark background */
  background-color: #0A192F; /* Main background color */
}

.page-game-center-game-categories a {
  text-decoration: none;
  color: #FFD700;
}

.page-game-center-game-categories a:hover {
  color: #E6C200;
}

/* Hero Section */
.page-game-center-game-categories__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #1A2B42 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-game-center-game-categories__hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: page-game-center-game-categories__pulse 15s infinite alternate;
    z-index: 0;
}

@keyframes page-game-center-game-categories__pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.7; }
}

.page-game-center-game-categories__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-game-center-game-categories__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-center-game-categories__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-game-center-game-categories__hero-image-wrapper {
  max-width: 1000px;
  width: 100%;
  margin-top: 40px;
  z-index: 1;
}

.page-game-center-game-categories__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* General Section Styling */
.page-game-center-game-categories__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-game-center-game-categories__section-description {
  font-size: 1.1em;
  color: #E0E0E0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Buttons */
.page-game-center-game-categories__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-game-center-game-categories__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

.page-game-center-game-categories__btn--primary:hover {
  background-color: #E6C200;
  border-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-game-center-game-categories__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-game-center-game-categories__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-game-center-game-categories__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

/* Categories Grid */
.page-game-center-game-categories__categories-overview {
  padding: 80px 20px;
  background-color: #0A192F;
}

.page-game-center-game-categories__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-center-game-categories__category-card {
  background-color: #1A2B42;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 380px;
}

.page-game-center-game-categories__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}

.page-game-center-game-categories__category-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-game-center-game-categories__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-center-game-categories__card-description {
  font-size: 1em;
  color: #CCCCCC;
  flex-grow: 1;
}

/* Why Choose Section */
.page-game-center-game-categories__why-choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  background-color: #0A192F;
}

.page-game-center-game-categories__why-choose-content {
  max-width: 900px;
  text-align: center;
  margin-bottom: 40px;
}

.page-game-center-game-categories__feature-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-game-center-game-categories__feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-game-center-game-categories__icon-check {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
  min-width: 25px;
}

.page-game-center-game-categories__icon-check::before {
  content: '✔'; /* Unicode checkmark */
  display: inline-block;
}

.page-game-center-game-categories__feature-list p {
    margin: 0;
    font-size: 1.1em;
}

.page-game-center-game-categories__why-choose-image-wrapper {
  max-width: 800px;
  width: 100%;
}

.page-game-center-game-categories__why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Call to Action Section */
.page-game-center-game-categories__cta-section {
  background-color: #1A2B42;
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-game-center-game-categories__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-game-center-game-categories__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-game-center-game-categories__hero-content {
    margin-right: 40px;
    margin-bottom: 0;
    flex: 1;
  }

  .page-game-center-game-categories__hero-image-wrapper {
    flex: 1;
    margin-top: 0;
  }

  .page-game-center-game-categories__hero-title {
    font-size: 4.5em;
  }

  .page-game-center-game-categories__section-title {
    font-size: 3.5em;
  }

  .page-game-center-game-categories__why-choose {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-game-center-game-categories__why-choose-content {
    margin-right: 40px;
    margin-bottom: 0;
    flex: 1;
    text-align: left;
  }

  .page-game-center-game-categories__why-choose-image-wrapper {
    flex: 1;
  }

  .page-game-center-game-categories__feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .page-game-center-game-categories__hero-title {
    font-size: 2.5em;
  }

  .page-game-center-game-categories__hero-description,
  .page-game-center-game-categories__section-description {
    font-size: 1em;
  }

  .page-game-center-game-categories__section-title {
    font-size: 2em;
  }

  .page-game-center-game-categories__btn {
    width: 100%;
    margin: 10px 0;
  }
  
  .page-game-center-game-categories__hero-section,
  .page-game-center-game-categories__why-choose {
    flex-direction: column;
  }

  .page-game-center-game-categories__why-choose-content {
    margin-right: 0;
  }
}