/* style/index-okking-popular-games.css */

/* Variables */
:root {
  --page-okking-primary-color: #003366;
  --page-okking-secondary-color: #FFCC00;
  --page-okking-text-on-dark: #ffffff;
  --page-okking-text-on-light: #003366;
  --page-okking-background-light: #f4f7f9;
  --page-okking-border-color: #e0e0e0;
}

.page-index-okking-popular-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--page-okking-background-light);
}

.page-index-okking-popular-games strong {
  font-weight: bold;
  color: var(--page-okking-primary-color);
}

.page-index-okking-popular-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-okking-popular-games__hero-section {
  background: linear-gradient(135deg, var(--page-okking-primary-color) 0%, #004d99 100%); /* Darker blue gradient */
  color: var(--page-okking-text-on-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-index-okking-popular-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--page-okking-secondary-color); /* Golden yellow for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.page-index-okking-popular-games__subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 300;
}

.page-index-okking-popular-games__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.15;
  max-width: 50%;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

/* Buttons */
.page-index-okking-popular-games__cta-group {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

.page-index-okking-popular-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
}

.page-index-okking-popular-games__btn--primary {
  background-color: var(--page-okking-secondary-color);
  color: var(--page-okking-text-on-light);
  border: 2px solid var(--page-okking-secondary-color);
}

.page-index-okking-popular-games__btn--primary:hover {
  background-color: #e6b800; /* Slightly darker yellow */
  border-color: #e6b800;
  transform: translateY(-2px);
}

.page-index-okking-popular-games__btn--secondary {
  background-color: transparent;
  color: var(--page-okking-secondary-color);
  border: 2px solid var(--page-okking-secondary-color);
}

.page-index-okking-popular-games__btn--secondary:hover {
  background-color: var(--page-okking-secondary-color);
  color: var(--page-okking-text-on-light);
  transform: translateY(-2px);
}

.page-index-okking-popular-games__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
}

/* Sections */
.page-index-okking-popular-games__section {
  padding: 60px 0;
}

.page-index-okking-popular-games__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-index-okking-popular-games__section-title {
  font-size: 2.5em;
  color: var(--page-okking-primary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-index-okking-popular-games__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Game Categories Grid */
.page-index-okking-popular-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-okking-popular-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-index-okking-popular-games__game-card-img {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-index-okking-popular-games__game-card-title {
  font-size: 1.5em;
  color: var(--page-okking-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-okking-popular-games__game-card-text {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-okking-popular-games__game-card-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--page-okking-primary-color);
  color: var(--page-okking-text-on-dark);
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-okking-popular-games__game-card-btn:hover {
  background-color: #004d99; /* Darker blue */
}

/* Why Choose Section */
.page-index-okking-popular-games__why-choose {
  background-color: var(--page-okking-background-light);
}

.page-index-okking-popular-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-okking-popular-games__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-index-okking-popular-games__feature-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 51, 102, 0.2)); /* Shadow for icons */
}

.page-index-okking-popular-games__feature-card-title {
  font-size: 1.4em;
  color: var(--page-okking-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-okking-popular-games__feature-card-text {
  font-size: 0.95em;
  color: #666;
  flex-grow: 1;
}

/* How to Join Section */
.page-index-okking-popular-games__how-to-join {
  background-color: #ffffff;
}

.page-index-okking-popular-games__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-okking-popular-games__step-card {
  background-color: var(--page-okking-primary-color);
  color: var(--page-okking-text-on-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-okking-popular-games__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.page-index-okking-popular-games__step-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); /* White icon with shadow */
}

.page-index-okking-popular-games__step-card-title {
  font-size: 1.6em;
  color: var(--page-okking-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-okking-popular-games__step-card-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Conclusion Section */
.page-index-okking-popular-games__conclusion {
  background-color: var(--page-okking-background-light);
}

/* Sticky CTA */
.page-index-okking-popular-games__sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.page-index-okking-popular-games__sticky-btn {
  background-color: var(--page-okking-secondary-color);
  color: var(--page-okking-text-on-light);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-index-okking-popular-games__sticky-btn:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-okking-popular-games__sticky-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-okking-popular-games__main-title {
    font-size: 2.5em;
  }

  .page-index-okking-popular-games__subtitle {
    font-size: 1.1em;
  }

  .page-index-okking-popular-games__section-title {
    font-size: 2em;
  }

  .page-index-okking-popular-games__hero-section {
    padding: 60px 0;
  }

  .page-index-okking-popular-games__section {
    padding: 40px 0;
  }

  .page-index-okking-popular-games__game-card-img {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-index-okking-popular-games__main-title {
    font-size: 2em;
  }

  .page-index-okking-popular-games__subtitle {
    font-size: 1em;
  }

  .page-index-okking-popular-games__cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-okking-popular-games__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-okking-popular-games__section-title {
    font-size: 1.8em;
  }

  .page-index-okking-popular-games__sticky-cta {
    bottom: 15px;
    right: 15px;
  }

  .page-index-okking-popular-games__sticky-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-okking-popular-games__main-title {
    font-size: 1.8em;
  }

  .page-index-okking-popular-games__btn {
    width: 100%;
  }

  .page-index-okking-popular-games__hero-section {
    padding: 40px 0;
  }

  .page-index-okking-popular-games__game-card,
  .page-index-okking-popular-games__feature-card,
  .page-index-okking-popular-games__step-card {
    padding: 20px;
  }

  .page-index-okking-popular-games__game-card-img {
    height: 120px;
  }
}