.page-index {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index__ticker-section {
  background-color: #17191F;
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 1px solid #A84F0C;
}

.page-index__ticker-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index__ticker-icon {
  font-size: 1.2em;
  margin-right: 15px;
  color: #FFA53A;
  flex-shrink: 0;
}

.page-index__marquee-container {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
}

.page-index__marquee-text {
  display: inline-block;
  padding-left: 100%; /* Start off-screen */
  animation: marquee 30s linear infinite;
  margin: 0;
}

@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  background-color: #100224;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
}

.page-index__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-index__hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 80px;
  max-width: 800px;
}

.page-index__hero-slogan {
  font-size: 2.2em;
  color: #FFF3E6;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__jackpot-counter {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(#ff9500,#ff5e3a);
  border-radius: 50px;
  padding: 10px 30px;
  margin-bottom: 20px;
}

.page-index__jackpot-label {
  font-size: 1.2em;
  font-weight: bold;
  color: #FFF3E6;
  margin-right: 10px;
}

.page-index__jackpot-amount {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFF3E6;
}

.page-index__hero-subtext {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-index__hero-cta-button {
  display: inline-block;
  background-color: #83a1f2;
  color: #FFF3E6;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-index__hero-cta-button:hover {
  background-color: #688cec;
}

.page-index__brand-intro-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for responsive H1 */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(to right, #FF8C1A, #FFA53A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for browsers not supporting text-fill-color */
}

.page-index__intro-description {
  font-size: 1.1em;
  color: #FFF3E6;
}

.page-index__popular-games-section,
.page-index__category-section,
.page-index__promotions-section,
.page-index__jackpot-winners-section,
.page-index__casino-winners-section,
.page-index__blog-posts-section,
.page-index__faq-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF3E6;
}

.page-index__section-title.text-gradient {
  background: linear-gradient(to right, #FF8C1A, #FFA53A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__game-grid,
.page-index__winner-grid,
.page-index__post-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-index__game-card,
.page-index__post-card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF3E6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-index__game-card img,
.page-index__post-card img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-index__game-title,
.page-index__post-title {
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index__post-title a {
  color: #FFF3E6;
  text-decoration: none;
}

.page-index__post-title a:hover {
  color: #FFA53A;
}

.page-index__post-summary {
  padding: 0 15px 15px;
  font-size: 0.95em;
  color: #ccc;
}

.page-index__read-more-button {
  display: block;
  text-align: center;
  padding: 10px 15px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
  margin-top: auto;
}

.page-index__read-more-button:hover {
  opacity: 0.9;
}

.page-index__category-section--slots .page-index__game-grid,
.page-index__category-section--fishing .page-index__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.page-index__category-section--slots,
.page-index__category-section--fishing {
  background-color: #17191F;
}

.page-index__category-section--sports {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: #0D0E12;
}

.page-index__sports-content {
  flex: 1 1 45%;
  text-align: left;
}

.page-index__sports-content .page-index__section-title {
  text-align: left;
}

.page-index__sports-content .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index__sports-image-wrapper {
  flex: 1 1 45%;
  text-align: center;
}

.page-index__sports-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__sports-cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: opacity 0.3s ease;
  margin-top: 20px;
}

.page-index__sports-cta-button:hover {
  opacity: 0.9;
}

.page-index__promotions-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  background-color: #17191F;
  border-radius: 10px;
  padding: 40px;
}

.page-index__promo-card {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #A84F0C;
}

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-index__promo-description {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 25px;
}

.page-index__promo-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-index__promo-button:hover {
  opacity: 0.9;
}

.page-index__winner-card {
  background-color: #17191F;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
  border: 1px solid #A84F0C;
}

.page-index__winner-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.page-index__winner-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-index__game-name {
  font-weight: bold;
  color: #FFA53A;
  font-size: 1.1em;
}

.page-index__user-id {
  font-size: 0.9em;
  color: #FFF3E6;
}

.page-index__win-date {
  font-size: 0.85em;
  color: #ccc;
}

.page-index__won-amount {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(#ff9500,#ff5e3a);
  padding: 8px 15px;
  border-top-left-radius: 10px;
  color: #FFF3E6;
  text-align: right;
}

.page-index__won-text {
  display: block;
  font-size: 0.75em;
  font-weight: bold;
}

.page-index__amount-value {
  font-size: 1.2em;
  font-weight: bold;
  display: block;
}

.page-index__blog-posts-section {
  background-color: #0D0E12;
}

.page-index__blog-posts-section .page-index__section-title a {
  color: #FFF3E6;
  text-decoration: none;
}

.page-index__blog-posts-section .page-index__section-title a:hover {
  color: #FFA53A;
}

.page-index__load-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-index__load-more-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: opacity 0.3s ease;
}

.page-index__load-more-button:hover {
  opacity: 0.9;
}

.page-index__faq-section {
  background-color: #17191F;
  border-radius: 10px;
}

.page-index__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index__faq-question {
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFA53A;
  display: block;
  position: relative;
}

.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index__faq-item[open] .page-index__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-index__faq-answer {
  padding: 0 25px 20px;
  color: #FFF3E6;
  font-size: 1em;
  line-height: 1.8;
}

.page-index__faq-answer p {
  margin-bottom: 10px;
}

.page-index__faq-download-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 15px;
  transition: opacity 0.3s ease;
}

.page-index__faq-download-button:hover {
  opacity: 0.9;
}

.page-index__brand-bar-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #0D0E12;
}

.page-index__brand-logo {
  max-width: 200px;
  height: auto;
  display: inline-block;
  min-width: 200px;
  min-height: 75px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-section {
    height: auto;
    padding-bottom: 40px;
  }

  .page-index__hero-content {
    padding-bottom: 40px;
  }

  .page-index__jackpot-amount {
    font-size: 2em;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-index__category-section--sports {
    flex-direction: column;
    text-align: center;
  }

  .page-index__sports-content,
  .page-index__sports-image-wrapper {
    flex: 1 1 100%;
  }

  .page-index__sports-content .page-index__section-title,
  .page-index__sports-content .page-index__section-description {
    text-align: center;
  }

  .page-index__promotions-section {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-index__winner-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index__ticker-section {
    padding: 8px 0;
  }

  .page-index__ticker-icon {
    font-size: 1em;
    margin-right: 10px;
  }

  .page-index__marquee-text {
    font-size: 0.9em;
    animation: marquee 25s linear infinite;
  }

  .page-index__hero-slogan {
    font-size: 1.8em;
  }

  .page-index__jackpot-amount {
    font-size: 1.8em;
  }

  .page-index__hero-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index__brand-intro-section,
  .page-index__popular-games-section,
  .page-index__category-section,
  .page-index__promotions-section,
  .page-index__jackpot-winners-section,
  .page-index__casino-winners-section,
  .page-index__blog-posts-section,
  .page-index__faq-section {
    padding: 40px 15px;
  }

  .page-index__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index__game-grid,
  .page-index__winner-grid,
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }

  .page-index__winner-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .page-index__winner-info {
    text-align: center;
    margin-bottom: 10px;
  }

  .page-index__won-amount {
    position: static;
    width: 100%;
    border-radius: 0 0 8px 8px;
    text-align: center;
    padding: 10px;
  }

  .page-index__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index__faq-question::after {
    right: 20px;
  }

  .page-index__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure images in content area don't overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-slogan {
    font-size: 1.5em;
  }

  .page-index__jackpot-amount {
    font-size: 1.5em;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__promo-title {
    font-size: 1.5em;
  }

  .page-index__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
}