/* style/index-top-games.css */
.page-index-top-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-index-top-games__hero {
  background: linear-gradient(135deg, #003366, #1a4d80);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FFCC00;
}

.page-index-top-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
}

.page-index-top-games__hero-title .highlight {
  color: #FFCC00;
}

.page-index-top-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-index-top-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-index-top-games__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-index-top-games__btn--primary:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-index-top-games__btn--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-index-top-games__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-3px);
}

.page-index-top-games__btn--accent {
  background-color: #CC0000;
  color: #fff;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

.page-index-top-games__btn--accent:hover {
  background-color: #a30000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

.page-index-top-games__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-top-games__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-index-top-games__section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-index-top-games__section:nth-of-type(even) {
  background-color: #eef2f6;
}

.page-index-top-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #003366;
  font-weight: bold;
}

.page-index-top-games__section-title .highlight {
  color: #FFCC00;
}

.page-index-top-games__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-index-top-games__about .page-index-top-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-top-games__about-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-top-games__about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

.page-index-top-games__about-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 51, 102, 0.2));
}

.page-index-top-games__about-heading {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-top-games__about-text {
  color: #666;
  font-size: 1em;
}

.page-index-top-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-top-games__game-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-top-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

.page-index-top-games__game-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid #FFCC00;
}

.page-index-top-games__game-card h3 {
  font-size: 1.4em;
  color: #003366;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-index-top-games__game-card p {
  color: #666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-top-games__game-card .page-index-top-games__btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  background-color: #003366;
  color: #FFCC00;
}

.page-index-top-games__game-card .page-index-top-games__btn:hover {
  background-color: #002244;
  color: #fff;
}

.page-index-top-games__strategy-content {
  text-align: left;
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-index-top-games__strategy-heading {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFCC00;
  padding-bottom: 10px;
}

.page-index-top-games__strategy-content p {
  margin-bottom: 15px;
  color: #444;
  font-size: 1.05em;
}

.page-index-top-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-top-games__promo-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-top-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

.page-index-top-games__promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid #CC0000;
}

.page-index-top-games__promo-card h3 {
  font-size: 1.4em;
  color: #003366;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-index-top-games__promo-card p {
  color: #666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-top-games__promo-card .page-index-top-games__btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-index-top-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-top-games__step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-top-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFCC00;
  color: #003366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.page-index-top-games__step-heading {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-top-games__step-text {
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-top-games__responsible-gaming {
  background-color: #003366;
  color: #fff;
  padding: 80px 0;
}

.page-index-top-games__responsible-gaming .page-index-top-games__section-title {
  color: #FFCC00;
}

.page-index-top-games__responsible-gaming .page-index-top-games__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-index-top-games__cta-final {
  background: linear-gradient(45deg, #003366, #1a4d80);
  color: #fff;
  padding: 100px 0;
}

.page-index-top-games__cta-final .page-index-top-games__section-title {
  color: #FFCC00;
}

.page-index-top-games__cta-final .page-index-top-games__section-description {
  color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-top-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-top-games__section-title {
    font-size: 2em;
  }
  .page-index-top-games__hero-description,
  .page-index-top-games__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index-top-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-top-games__section-title {
    font-size: 1.8em;
  }
  .page-index-top-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-top-games__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-top-games__about .page-index-top-games__grid,
  .page-index-top-games__game-list,
  .page-index-top-games__promo-grid,
  .page-index-top-games__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-index-top-games__section,
  .page-index-top-games__hero,
  .page-index-top-games__cta-final {
    padding: 60px 0;
  }
  .page-index-top-games__game-card .page-index-top-games__btn,
  .page-index-top-games__promo-card .page-index-top-games__btn,
  .page-index-top-games__step-item .page-index-top-games__btn {
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-index-top-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-top-games__section-title {
    font-size: 1.5em;
  }
  .page-index-top-games__hero-actions .page-index-top-games__btn {
    width: 90%;
  }
  .page-index-top-games__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-index-top-games__game-img,
  .page-index-top-games__promo-img {
    height: 180px;
  }
}