/* style/index.css */

/* Biến CSS cho màu sắc */
:root {
  --page-index-primary-color: #1A2B3C;
  --page-index-secondary-color: #FFD700;
  --page-index-text-light: #F0F2F5;
  --page-index-text-dark: #333;
  --page-index-background-light: #FFFFFF;
  --page-index-background-dark: #2C3E50;
}

.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-index-text-dark);
  background-color: var(--page-index-background-light);
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.page-index *,
.page-index *::before,
.page-index *::after {
  box-sizing: inherit;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: var(--page-index-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: var(--page-index-text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: none;
}

.page-index__btn--primary {
  background-color: var(--page-index-secondary-color);
  color: var(--page-index-primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #FFC107;
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: var(--page-index-primary-color);
  border: 2px solid var(--page-index-primary-color);
}

.page-index__btn--secondary:hover {
  background-color: var(--page-index-primary-color);
  color: var(--page-index-secondary-color);
  transform: translateY(-2px);
}

.page-index__btn--learn-more {
  background-color: var(--page-index-primary-color);
  color: var(--page-index-secondary-color);
  margin-top: 20px;
  padding: 10px 20px;
}

.page-index__btn--learn-more:hover {
  background-color: #0F1D2A;
}

.page-index__btn--promo,
.page-index__btn--game,
.page-index__btn--download,
.page-index__btn--contact {
  background-color: var(--page-index-primary-color);
  color: var(--page-index-secondary-color);
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index__btn--promo:hover,
.page-index__btn--game:hover,
.page-index__btn--download:hover,
.page-index__btn--contact:hover {
  background-color: #0F1D2A;
}

.page-index__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-index__text-center {
  text-align: center;
}

.page-index__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, var(--page-index-primary-color) 0%, #0A1620 100%);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--page-index-text-light);
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23FFD700" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.1;
  z-index: 0;
}

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-index-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: var(--page-index-text-light);
}

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

.page-index__hero-image-wrapper {
  margin-top: 50px;
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: var(--page-index-background-light);
}

.page-index__about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index__about-text,
.page-index__about-image {
  flex: 1;
  min-width: 300px;
}

.page-index__about-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--page-index-text-dark);
}

.page-index__about-image img {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-index__promotions-section {
  background-color: var(--page-index-background-dark);
  color: var(--page-index-text-light);
  padding: 80px 0;
}

.page-index__promotions-section .page-index__section-title {
  color: var(--page-index-secondary-color);
}

.page-index__promotions-section .page-index__section-subtitle {
  color: var(--page-index-text-light);
}

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

.page-index__promo-card {
  background-color: var(--page-index-primary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  background-color: #0F1D2A;
}

.page-index__promo-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 5px var(--page-index-secondary-color));
}

.page-index__promo-title {
  font-size: 1.8em;
  color: var(--page-index-secondary-color);
  margin-bottom: 15px;
}

.page-index__promo-description {
  font-size: 1em;
  color: var(--page-index-text-light);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index__promo-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: var(--page-index-background-light);
}

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

.page-index__game-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__game-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
}

.page-index__game-title {
  font-size: 1.5em;
  color: var(--page-index-primary-color);
  margin-bottom: 10px;
}

.page-index__game-description {
  font-size: 0.95em;
  color: var(--page-index-text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* User Experience Section */
.page-index__user-experience-section {
  background-color: var(--page-index-background-dark);
  color: var(--page-index-text-light);
  padding: 80px 0;
}

.page-index__user-experience-section .page-index__section-title {
  color: var(--page-index-secondary-color);
}

.page-index__user-experience-section .page-index__section-subtitle {
  color: var(--page-index-text-light);
}

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

.page-index__ux-item {
  background-color: var(--page-index-primary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__ux-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.page-index__ux-title {
  font-size: 1.6em;
  color: var(--page-index-secondary-color);
  margin-bottom: 15px;
}

.page-index__ux-description {
  font-size: 1em;
  color: var(--page-index-text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Latest Articles Section */
.page-index__latest-articles-section {
  padding: 80px 0;
  background-color: var(--page-index-background-light);
}

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

.page-index__article-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index__article-card h3 {
  padding: 15px 20px 0;
  font-size: 1.3em;
  line-height: 1.4;
}

.page-index__article-card h3 a {
  color: var(--page-index-primary-color);
  text-decoration: none;
}

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

.page-index__article-meta {
  color: #777;
  font-size: 0.9em;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-index__article-excerpt {
  color: #555;
  font-size: 1em;
  padding: 0 20px 20px;
}

/* Guides and Contact Section */
.page-index__guides-contact-section {
  background-color: #F0F2F5;
  padding: 80px 0;
}

.page-index__flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-around;
}

.page-index__guides-column,
.page-index__contact-column {
  flex: 1;
  min-width: 300px;
  background-color: var(--page-index-background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-index__guides-column .page-index__section-title,
.page-index__contact-column .page-index__section-title {
  text-align: left;
  font-size: 2em;
  margin-bottom: 30px;
  color: var(--page-index-primary-color);
}

.page-index__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index__guide-list li {
  margin-bottom: 15px;
}

.page-index__guide-link {
  color: var(--page-index-primary-color);
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s ease;
  display: block;
  padding: 5px 0;
  position: relative;
}

.page-index__guide-link::before {
  content: '▶';
  position: absolute;
  left: -20px;
  color: var(--page-index-secondary-color);
  font-size: 0.8em;
  top: 50%;
  transform: translateY(-50%);
}

.page-index__guide-link:hover {
  color: var(--page-index-secondary-color);
  padding-left: 5px;
}

.page-index__contact-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-index-text-dark);
}

.page-index__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--page-index-text-dark);
}

.page-index__contact-list strong {
  color: var(--page-index-primary-color);
}

.page-index__contact-link {
  color: var(--page-index-secondary-color);
  text-decoration: none;
}

.page-index__contact-link:hover {
  text-decoration: underline;
}

.page-index__contact-image {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Conclusion Section */
.page-index__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-index-primary-color);
  color: var(--page-index-text-light);
}

.page-index__conclusion-section .page-index__section-title {
  color: var(--page-index-secondary-color);
}

.page-index__conclusion-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-index-text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__about-grid,
  .page-index__flex-wrapper {
    flex-direction: column;
  }
  .page-index__about-text,
  .page-index__about-image,
  .page-index__guides-column,
  .page-index__contact-column {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 80px 15px;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--primary,
  .page-index__btn--secondary {
    width: 100%;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__promo-grid,
  .page-index__games-grid,
  .page-index__ux-features,
  .page-index__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promo-title {
    font-size: 1.5em;
  }
  .page-index__game-title {
    font-size: 1.3em;
  }
  .page-index__ux-title {
    font-size: 1.4em;
  }
  .page-index__article-card h3 {
    font-size: 1.1em;
  }
  .page-index__guides-column .page-index__section-title,
  .page-index__contact-column .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__guide-link,
  .page-index__contact-list li,
  .page-index__contact-text {
    font-size: 1em;
  }
  .page-index__conclusion-text {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    padding: 60px 10px;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-subtitle {
    font-size: 0.9em;
  }
  .page-index__btn--primary,
  .page-index__btn--secondary,
  .page-index__btn--learn-more,
  .page-index__btn--promo,
  .page-index__btn--game,
  .page-index__btn--download,
  .page-index__btn--contact,
  .page-index__btn--large {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-index__promo-icon,
  .page-index__game-icon,
  .page-index__ux-icon {
    width: 60px;
    height: 60px;
  }
  .page-index__promo-title {
    font-size: 1.3em;
  }
  .page-index__game-title {
    font-size: 1.2em;
  }
  .page-index__ux-title {
    font-size: 1.3em;
  }
  .page-index__article-card h3 {
    font-size: 1em;
  }
  .page-index__guides-column .page-index__section-title,
  .page-index__contact-column .page-index__section-title {
    font-size: 1.5em;
  }
}