/* style/index-platform-advantages.css */

/* Variables for colors */
:root {
  --gk88-primary: #0A2463; /* Dark Blue */
  --gk88-secondary: #E3B23C; /* Gold */
  --gk88-text-light: #FFFFFF; /* White */
  --gk88-text-dark: #333333; /* Dark Grey for general text */
  --gk88-background-light: #F8F8F8; /* Light background */
  --gk88-accent-dark: #6c7ca1; /* Lighter primary for contrast */
  --gk88-accent-light: #f5db9c; /* Lighter secondary for contrast */
}

.page-index-platform-advantages {
  font-family: 'Arial', sans-serif;
  color: var(--gk88-text-dark);
  line-height: 1.6;
  background-color: var(--gk88-background-light);
}

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

.page-index-platform-advantages__hero-section {
  background: linear-gradient(135deg, var(--gk88-primary), #1c4dc3); /* Deeper blue to a complementary blue */
  color: var(--gk88-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-platform-advantages__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--gk88-secondary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  line-height: 1.2;
}

.page-index-platform-advantages__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--gk88-text-light);
  opacity: 0.9;
}

.page-index-platform-advantages__cta-button {
  display: inline-block;
  background-color: var(--gk88-secondary);
  color: var(--gk88-primary);
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-platform-advantages__cta-button:hover {
  background-color: var(--gk88-accent-light); /* Lighter gold on hover */
  transform: translateY(-3px);
}

.page-index-platform-advantages__cta-button--small {
  padding: 10px 25px;
  font-size: 1em;
}

.page-index-platform-advantages__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3em;
}

.page-index-platform-advantages__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-index-platform-advantages__section:last-of-type {
  border-bottom: none;
}

.page-index-platform-advantages__section-title {
  font-size: 2.5em;
  color: var(--gk88-primary);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-platform-advantages__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--gk88-secondary);
  border-radius: 2px;
}

.page-index-platform-advantages__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--gk88-text-dark);
}

.page-index-platform-advantages__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.page-index-platform-advantages__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-index-platform-advantages__text-content {
  flex: 1;
  min-width: 300px;
}

.page-index-platform-advantages__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-platform-advantages__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-index-platform-advantages__image:hover {
  transform: scale(1.02);
}

.page-index-platform-advantages__sub-title {
  font-size: 1.8em;
  color: var(--gk88-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-platform-advantages__text-content p {
  margin-bottom: 15px;
  color: var(--gk88-text-dark);
}

/* Specific section styling */
.page-index-platform-advantages__security-section, 
.page-index-platform-advantages__payment-section, 
.page-index-platform-advantages__responsible-betting-section {
  background-color: var(--gk88-background-light);
}

.page-index-platform-advantages__game-variety-section, 
.page-index-platform-advantages__customer-service-section, 
.page-index-platform-advantages__promotions-section, 
.page-index-platform-advantages__mobile-app-section {
  background-color: #FFFFFF;
}

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

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

.page-index-platform-advantages__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-index-platform-advantages__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-platform-advantages__feature-title {
  font-size: 1.5em;
  color: var(--gk88-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-platform-advantages__feature-item p {
  color: var(--gk88-text-dark);
  font-size: 0.95em;
}

.page-index-platform-advantages__conclusion-section {
  background: linear-gradient(135deg, var(--gk88-primary), #0A2463);
  color: var(--gk88-text-light);
  padding: 80px 0;
  text-align: center;
}

.page-index-platform-advantages__conclusion-section .page-index-platform-advantages__section-title {
  color: var(--gk88-secondary);
}

.page-index-platform-advantages__conclusion-section .page-index-platform-advantages__section-title::after {
  background-color: var(--gk88-text-light);
}

.page-index-platform-advantages__conclusion-section .page-index-platform-advantages__section-description {
  color: var(--gk88-text-light);
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Floating Ad */
.page-index-platform-advantages__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--gk88-secondary);
  color: var(--gk88-primary);
  padding: 15px 25px;
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  animation: floatEffect 2s ease-in-out infinite alternate;
}

.page-index-platform-advantages__floating-ad p {
  margin: 0;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--gk88-primary);
}

.page-index-platform-advantages__floating-cta {
  background-color: var(--gk88-primary);
  color: var(--gk88-text-light);
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-index-platform-advantages__floating-cta:hover {
  background-color: var(--gk88-accent-dark); /* Lighter primary on hover */
}

@keyframes floatEffect {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-platform-advantages__hero-title {
    font-size: 2.5em;
  }

  .page-index-platform-advantages__hero-subtitle {
    font-size: 1.1em;
  }

  .page-index-platform-advantages__section-title {
    font-size: 2em;
  }

  .page-index-platform-advantages__sub-title {
    font-size: 1.5em;
  }

  .page-index-platform-advantages__content-grid {
    flex-direction: column;
  }

  .page-index-platform-advantages__content-grid--reverse {
    flex-direction: column;
  }

  .page-index-platform-advantages__text-content, .page-index-platform-advantages__image-wrapper {
    min-width: unset;
    width: 100%;
  }
  
  .page-index-platform-advantages__floating-ad {
    bottom: 10px;
    right: 10px;
    padding: 10px 15px;
    gap: 10px;
  }
  
  .page-index-platform-advantages__floating-ad p {
    font-size: 0.9em;
  }
  
  .page-index-platform-advantages__floating-cta {
    padding: 6px 12px;
    font-size: 0.85em;
  }
}

@media (max-width: 768px) {
  .page-index-platform-advantages__hero-section {
    padding: 80px 0;
  }

  .page-index-platform-advantages__hero-title {
    font-size: 2em;
  }

  .page-index-platform-advantages__section {
    padding: 40px 0;
  }

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

  .page-index-platform-advantages__responsible-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index-platform-advantages__hero-section {
    padding: 60px 0;
  }

  .page-index-platform-advantages__hero-title {
    font-size: 1.8em;
  }

  .page-index-platform-advantages__hero-subtitle {
    font-size: 1em;
  }

  .page-index-platform-advantages__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-platform-advantages__section-title {
    font-size: 1.5em;
  }

  .page-index-platform-advantages__sub-title {
    font-size: 1.3em;
  }
  
  .page-index-platform-advantages__floating-ad {
    flex-direction: column;
    align-items: flex-end;
    right: 5px;
    bottom: 5px;
    padding: 10px;
  }
  
  .page-index-platform-advantages__floating-ad p {
    text-align: right;
    width: 100%;
  }
}