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

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

.page-platforms__section {
  padding: 60px 0;
  text-align: center;
}

.page-platforms__section:nth-child(even) {
  background-color: #f8f9fa; /* Light gray for contrast */
}

.page-platforms__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main brand color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-platforms__text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

/* Hero Section */
.page-platforms__hero {
  background: linear-gradient(135deg, #007bff, #28a745); /* Main and auxiliary colors */
  color: #fff;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-platforms__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

.page-platforms__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
}

.page-platforms__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-platforms__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
}

.page-platforms__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-platforms__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-platforms__btn--primary {
  background-color: #28a745; /* Auxiliary brand color */
  color: #fff;
  font-size: 1.1em;
}

.page-platforms__btn--primary:hover {
  background-color: #1e7e34;
  transform: translateY(-2px);
}

.page-platforms__btn--secondary {
  background-color: #007bff; /* Main brand color */
  color: #fff;
  font-size: 1em;
  margin-right: 10px;
}

.page-platforms__btn--secondary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-platforms__btn--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

/* Features Section */
.page-platforms__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-platforms__feature-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  flex: 1 1 calc(33% - 40px);
  max-width: calc(33% - 40px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-platforms__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-platforms__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-platforms__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-platforms__feature-text {
  font-size: 1em;
  color: #666;
}

/* Platform Grid */
.page-platforms__platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-platforms__platform-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-platforms__platform-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-platforms__platform-logo {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  max-height: 50px;
  object-fit: contain;
}

.page-platforms__platform-name {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-platforms__platform-name a {
  color: #007bff;
  text-decoration: none;
}

.page-platforms__platform-name a:hover {
  text-decoration: underline;
}

.page-platforms__platform-desc {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

.page-platforms__platform-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Responsible Gambling */
.page-platforms__responsible-gambling {
  background-color: #e6f7ff; /* Light blue for a calm, trustworthy feel */
  padding: 80px 0;
}

.page-platforms__responsible-gambling .page-platforms__section-title {
  color: #0056b3;
}

.page-platforms__responsible-gambling .page-platforms__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-platforms__list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 40px auto;
  text-align: left;
}

.page-platforms__list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #444;
  display: flex;
  align-items: center;
}

.page-platforms__list-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Call to Action */
.page-platforms__cta {
  background-color: #007bff;
  color: #fff;
  padding: 80px 0;
}

.page-platforms__cta .page-platforms__section-title {
  color: #fff;
}

.page-platforms__cta .page-platforms__text {
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Ad */
.page-platforms__floating-ad {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: none; /* Hidden by default, shown by JS */
}

.page-platforms__floating-btn {
  background-color: #28a745; /* Auxiliary brand color */
  color: #fff;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-platforms__floating-btn:hover {
  background-color: #1e7e34;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-platforms__floating-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.page-platforms__floating-text {
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-platforms__hero {
    padding: 80px 0;
  }

  .page-platforms__title {
    font-size: 2.8em;
  }

  .page-platforms__description {
    font-size: 1.1em;
  }

  .page-platforms__feature-item {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }

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

@media (max-width: 768px) {
  .page-platforms__section {
    padding: 40px 0;
  }

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

  .page-platforms__text {
    font-size: 1em;
  }

  .page-platforms__hero {
    padding: 60px 0;
  }

  .page-platforms__title {
    font-size: 2.2em;
  }

  .page-platforms__description {
    font-size: 1em;
  }

  .page-platforms__feature-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-platforms__floating-ad {
    bottom: 20px;
    right: 20px;
  }

  .page-platforms__floating-btn {
    padding: 10px 15px;
  }

  .page-platforms__floating-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .page-platforms__floating-text {
    font-size: 0.9em;
  }

  .page-platforms__platform-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-platforms__btn--secondary {
    margin-right: 0;
  }
}