.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF;
  background-color: #1A202C;
  line-height: 1.6;
}

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

.page-index h1,
.page-index h2,
.page-index h3 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-index h1 {
  font-size: 44px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index h2 {
  font-size: 36px;
  padding-top: 40px;
  color: #FFD700;
}

.page-index h3 {
  font-size: 24px;
  color: #FFD700;
}

.page-index p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
  color: #E0E0E0;
}

.page-index a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index a:hover {
  color: #FFEB3B;
  text-decoration: underline;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #FFD700);
  color: #1A202C;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index .cta-button:hover {
  background: var(--secondary-color, #FFEB3B);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-index .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, #1A202C 0%, #3a475a 100%);
  overflow: hidden;
}

.page-index .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-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-index .hero-content p {
  font-size: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index .hero-ctas .cta-button.primary {
  background: #FFD700;
  color: #1A202C;
}

.page-index .hero-ctas .cta-button.secondary {
  background: #2D3748;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index .hero-ctas .cta-button.secondary:hover {
  background: #FFD700;
  color: #1A202C;
}

.page-index .intro-section,
.page-index .quick-access-section,
.page-index .game-showcase-section,
.page-index .promotions-section,
.page-index .security-support-section,
.page-index .faq-section,
.page-index .blog-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-index .intro-section {
  background-color: #2D3748;
}

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

.page-index .intro-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .intro-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-index .intro-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index .intro-item h3 {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-index .intro-item p {
  color: #E0E0E0;
  font-size: 16px;
  text-align: left;
}

.page-index .quick-links-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}

.page-index .quick-links-grid .cta-button {
  min-width: 200px;
}

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

.page-index .game-card {
  background-color: #2D3748;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index .game-card h3 {
  color: #FFD700;
  margin: 20px 15px 10px;
  font-size: 22px;
}

.page-index .game-card h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-index .game-card h3 a:hover {
  text-decoration: underline;
}

.page-index .game-card p {
  color: #E0E0E0;
  font-size: 16px;
  padding: 0 15px;
  text-align: left;
  margin-bottom: 20px;
}

.page-index .game-card .card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 5px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index .game-card .card-link:hover {
  background-color: #FFEB3B;
  color: #1A202C;
  text-decoration: none;
}

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

.page-index .promotion-card {
  background-color: #2D3748;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index .promotion-card h3 {
  color: #FFD700;
  margin: 20px 15px 10px;
  font-size: 22px;
}

.page-index .promotion-card h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-index .promotion-card h3 a:hover {
  text-decoration: underline;
}

.page-index .promotion-card p {
  color: #E0E0E0;
  font-size: 16px;
  padding: 0 15px 20px;
  text-align: left;
}

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

.page-index .ss-item {
  background-color: #2D3748;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .ss-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-index .ss-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index .ss-item h3 {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 15px;
}

.page-index .ss-item p {
  color: #E0E0E0;
  font-size: 16px;
  text-align: left;
}

.page-index .faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2D3748;
  border: 1px solid #3a475a;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #3a475a;
}

.page-index .faq-question h3 {
  margin: 0;
  color: #FFD700;
  font-size: 18px;
  text-align: left;
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #1A202C;
  color: #E0E0E0;
  border-radius: 0 0 8px 8px;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-index .faq-item.active .faq-question {
  border-radius: 8px 8px 0 0;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-index .faq-answer p {
  margin: 0;
  font-size: 16px;
  text-align: left;
}

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

.page-index .blog-card {
  background-color: #2D3748;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index .blog-card h3 {
  color: #FFD700;
  margin: 20px 15px 10px;
  font-size: 22px;
  text-align: left;
}

.page-index .blog-card h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-index .blog-card h3 a:hover {
  text-decoration: underline;
}

.page-index .blog-card p {
  color: #E0E0E0;
  font-size: 16px;
  padding: 0 15px;
  text-align: left;
  margin-bottom: 20px;
}

.page-index .blog-card .card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 5px;
  margin-left: 15px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index .blog-card .card-link:hover {
  background-color: #FFEB3B;
  color: #1A202C;
  text-decoration: none;
}

/* Floating Buttons for Mobile */
.page-index .floating-buttons-mobile {
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 32, 44, 0.95);
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transform: translateY(100%); /* Hidden by default */
  transition: transform 0.3s ease-out;
}

.page-index .floating-buttons-mobile.active {
  transform: translateY(0); /* Visible when active */
}

.page-index .floating-button {
  display: block;
  width: 45%;
  padding: 12px 0;
  text-align: center;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-index .floating-button.register-button {
  background-color: #FFD700;
  color: #1A202C;
}

.page-index .floating-button.register-button:hover {
  background-color: #FFEB3B;
}

.page-index .floating-button.login-button {
  background-color: #2D3748;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-index .floating-button.login-button:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index h1 {
    font-size: 38px;
  }
  .page-index h2 {
    font-size: 30px;
  }
  .page-index h3 {
    font-size: 20px;
  }
  .page-index p {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .intro-grid, .page-index .game-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index h1 {
    font-size: 32px;
  }
  .page-index h2 {
    font-size: 26px;
  }
  .page-index p {
    font-size: 15px;
  }
  .page-index .intro-section, .page-index .quick-access-section, .page-index .game-showcase-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
    padding: 60px 0;
  }
  .page-index .intro-item, .page-index .game-card, .page-index .promotion-card, .page-index .ss-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .game-card img, .page-index .promotion-card img, .page-index .blog-card img {
    height: 180px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-index .floating-buttons-mobile {
    display: flex;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 28px;
  }
  .page-index h2 {
    font-size: 22px;
  }
  .page-index .hero-content p {
    font-size: 16px;
  }
  .page-index .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page-index .cta-button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index .intro-grid, .page-index .game-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .faq-question h3 {
    font-size: 15px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .floating-buttons-mobile {
    padding: 8px 0;
  }
  .page-index .floating-button {
    font-size: 16px;
    padding: 10px 0;
    width: 48%;
  }
}