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

.page-index-platform-overview__hero {
  background-color: #003366;
  background-image: linear-gradient(135deg, #003366 0%, #001a33 100%);
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-index-platform-overview__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 10;
}

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

.page-index-platform-overview__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-index-platform-overview__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-platform-overview__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.3;
  z-index: 5;
}

.page-index-platform-overview__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.page-index-platform-overview__section {
  padding: 60px 0;
}

.page-index-platform-overview__section:nth-of-type(odd) {
  background-color: #f8f8f8;
}

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

.page-index-platform-overview__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-index-platform-overview__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index-platform-overview__section-subtitle {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-index-platform-overview__button--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.2);
}

.page-index-platform-overview__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.4);
}

.page-index-platform-overview__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-index-platform-overview__button--large {
  padding: 16px 40px;
  font-size: 1.2em;
}

.page-index-platform-overview__button--full-width {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  max-width: 350px;
}

.page-index-platform-overview__about .page-index-platform-overview__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-index-platform-overview__about .page-index-platform-overview__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444;
}

.page-index-platform-overview__about .page-index-platform-overview__image-wrapper {
  text-align: center;
}

.page-index-platform-overview__about .page-index-platform-overview__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-platform-overview__advantages .page-index-platform-overview__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-platform-overview__advantage-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-overview__advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index-platform-overview__advantage-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-platform-overview__advantage-item p {
  color: #666;
  font-size: 0.95em;
}

.page-index-platform-overview__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #003366;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-platform-overview__cta-block p {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #FFCC00;
}

.page-index-platform-overview__games .page-index-platform-overview__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-platform-overview__game-category {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-platform-overview__game-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-platform-overview__game-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 204, 0, 0.3));
}

.page-index-platform-overview__game-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-platform-overview__game-category p {
  color: #666;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-index-platform-overview__offers .page-index-platform-overview__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-index-platform-overview__offer-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-platform-overview__offer-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index-platform-overview__offer-item h3 {
  font-size: 1.3em;
  color: #003366;
  margin: 20px 20px 10px;
}

.page-index-platform-overview__offer-item p {
  color: #666;
  font-size: 0.95em;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-index-platform-overview__offer-item .page-index-platform-overview__button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-index-platform-overview__note {
  text-align: center;
  font-style: italic;
  color: #777;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-index-platform-overview__safety {
  background-color: #003366;
  color: #ffffff;
}

.page-index-platform-overview__safety .page-index-platform-overview__section-title {
  color: #FFCC00;
}

.page-index-platform-overview__safety .page-index-platform-overview__section-title::after {
  background-color: #FFCC00;
}

.page-index-platform-overview__safety .page-index-platform-overview__section-subtitle {
  color: #ccc;
}

.page-index-platform-overview__safety-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-platform-overview__safety-item {
  background-color: #001a33;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index-platform-overview__safety-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: invert(70%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-index-platform-overview__safety-title {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-index-platform-overview__safety-item p {
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-index-platform-overview__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-platform-overview__faq-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index-platform-overview__faq-question {
  font-size: 1.2em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-platform-overview__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-index-platform-overview__faq-item.active .page-index-platform-overview__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-platform-overview__faq-answer {
  color: #555;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
  padding-top: 0;
}

.page-index-platform-overview__faq-item.active .page-index-platform-overview__faq-answer {
  max-height: 200px; /* Adjust as needed for content length */
  padding-top: 15px;
}

.page-index-platform-overview__conclusion {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
}

.page-index-platform-overview__conclusion .page-index-platform-overview__section-title {
  color: #FFCC00;
}

.page-index-platform-overview__conclusion .page-index-platform-overview__section-title::after {
  background-color: #FFCC00;
}

.page-index-platform-overview__conclusion-text {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

@media (min-width: 768px) {
  .page-index-platform-overview__hero {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    padding-left: 100px;
    padding-right: 0;
  }

  .page-index-platform-overview__hero-content {
    max-width: 55%;
    margin: 0;
    text-align: left;
  }

  .page-index-platform-overview__hero-image-wrapper {
    position: relative;
    width: 45%;
    height: auto;
    opacity: 1;
    z-index: 10;
  }

  .page-index-platform-overview__hero-image {
    height: 100%;
    object-fit: contain;
  }

  .page-index-platform-overview__hero-title {
    font-size: 4.5em;
  }

  .page-index-platform-overview__about .page-index-platform-overview__content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-index-platform-overview__about .page-index-platform-overview__image-wrapper {
    order: 2;
  }

  .page-index-platform-overview__about .page-index-platform-overview__text-content {
    order: 1;
  }

  .page-index-platform-overview__game-category {
    align-items: flex-start;
    text-align: left;
  }

  .page-index-platform-overview__offer-item .page-index-platform-overview__button {
    align-self: center;
  }
}

@media (max-width: 767px) {
  .page-index-platform-overview__hero-title {
    font-size: 2.5em;
  }
  .page-index-platform-overview__hero-description {
    font-size: 1.1em;
  }
  .page-index-platform-overview__hero-actions {
    flex-direction: column;
  }
  .page-index-platform-overview__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    margin-top: 30px;
    opacity: 0.5;
  }
  .page-index-platform-overview__section-title {
    font-size: 2em;
  }
  .page-index-platform-overview__section-subtitle {
    font-size: 1em;
  }
  .page-index-platform-overview__cta-block p {
    font-size: 1.2em;
  }
  .page-index-platform-overview__button--full-width {
    width: 100%;
  }
}