/* style/com.css */
.page-com {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-com__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px 0; /* body padding-top handles header offset */
  text-align: center;
  background-color: #000000;
}

.page-com__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-com__hero-content {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-com__hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #ffd700; /* Yellow */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-com__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-com__hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-com__btn-primary,
.page-com__btn-secondary,
.page-com__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-com__btn-primary {
  background-color: #ffd700; /* Yellow */
  color: #000000;
  border: 2px solid #ffd700;
}

.page-com__btn-primary:hover {
  background-color: #ffeb3b;
  border-color: #ffeb3b;
}

.page-com__btn-secondary {
  background-color: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
}

.page-com__btn-secondary:hover {
  background-color: #ffd700;
  color: #000000;
}

.page-com__btn-tertiary {
  background-color: #2563eb; /* Brand blue */
  color: #ffffff;
  border: 2px solid #2563eb;
}

.page-com__btn-tertiary:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.page-com__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #ffd700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-com__section-description {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-com__games-overview-section,
.page-com__promotions-section,
.page-com__app-download-section,
.page-com__providers-section,
.page-com__faq-section,
.page-com__contact-social-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-com__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-com__game-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-com__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #ffd700;
}

.page-com__game-title {
  font-size: 1.5rem;
  color: #ffd700;
  margin: 20px 0 10px 0;
}

.page-com__game-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-com__promo-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-com__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #2563eb;
}

.page-com__promo-title {
  font-size: 1.4rem;
  color: #ffd700;
  margin: 20px 0 10px 0;
  padding: 0 15px;
}

.page-com__promo-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-com__cta-full-width {
  text-align: center;
  margin-top: 40px;
}

.page-com__app-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-com__download-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-com__download-btn {
  display: flex;
  align-items: center;
  background-color: #2563eb;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-com__download-btn:hover {
  background-color: #3b82f6;
}

.page-com__download-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.page-com__app-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-com__provider-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  justify-items: center;
}

.page-com__provider-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 10px;
  height: 80px;
  box-sizing: border-box;
}

.page-com__provider-logo {
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
  filter: brightness(1.2); /* Slightly brighter on dark bg */
}

.page-com__faq-list {
  margin-top: 40px;
}

.page-com__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-com__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #2a2a2a;
  color: #ffd700;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-com__faq-question:hover {
  background-color: #3a3a3a;
}

.page-com__faq-qtext {
  font-size: 1.15rem;
  pointer-events: none; /* Prevent text from blocking click */
}

.page-com__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  pointer-events: none; /* Prevent icon from blocking click */
  color: #ffd700;
  line-height: 1;
}

.page-com__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #f0f0f0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.page-com__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  font-size: 0.95rem;
}

.page-com__faq-item.active .page-com__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-com__contact-social-section {
  text-align: center;
}

.page-com__social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-com__social-icon-link {
  display: block;
  transition: transform 0.3s ease;
}

.page-com__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-com__social-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-com__floating-button-wrapper {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  box-sizing: border-box;
}

.page-com__floating-button {
  display: block;
  background-color: #ffd700; /* Yellow */
  color: #000000;
  padding: 15px 20px;
  border-radius: 50px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-com__floating-button:hover {
  background-color: #ffeb3b;
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-com__hero-section {
    padding: 10px 15px 30px 15px;
  }

  .page-com__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-com__hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-com__btn-primary,
  .page-com__btn-secondary,
  .page-com__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-com__games-overview-section,
  .page-com__promotions-section,
  .page-com__app-download-section,
  .page-com__providers-section,
  .page-com__faq-section,
  .page-com__contact-social-section {
    padding: 40px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-com__game-categories,
  .page-com__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-com__game-card,
  .page-com__promo-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-com__game-image,
  .page-com__promo-image,
  .page-com__app-screenshot {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-com__download-options {
    flex-direction: column;
    gap: 15px;
  }

  .page-com__download-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-com__provider-logos {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
  }

  .page-com__provider-item {
    width: 100% !important;
    max-width: 100% !important;
    height: 70px;
  }

  .page-com__provider-logo {
    max-width: 80px;
    max-height: 40px;
  }

  .page-com__faq-question {
    padding: 15px 20px;
  }

  .page-com__faq-qtext {
    font-size: 1rem;
  }

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

  .page-com__faq-answer p {
    padding-bottom: 15px;
  }

  .page-com__faq-item.active .page-com__faq-answer {
    padding: 15px 20px !important;
  }

  .page-com__social-icon {
    width: 40px;
    height: 40px;
  }

  .page-com__floating-button-wrapper {
    width: calc(100% - 30px);
    bottom: 15px;
  }

  .page-com__floating-button {
    font-size: 1rem;
    padding: 12px 15px;
  }
}