/* style/blog-28win-platform-overview.css */

/* Variables from custom color scheme */
:root {
  --page-blog-28win-platform-overview-primary-color: #2F6BFF;
  --page-blog-28win-platform-overview-secondary-color: #6FA3FF;
  --page-blog-28win-platform-overview-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --page-blog-28win-platform-overview-card-bg: #FFFFFF;
  --page-blog-28win-platform-overview-section-bg: #F4F7FB;
  --page-blog-28win-platform-overview-text-main: #1F2D3D;
  --page-blog-28win-platform-overview-text-black: #000000;
  --page-blog-28win-platform-overview-border-color: #D6E2FF;
  --page-blog-28win-platform-overview-glow-color: #A5C4FF;
}

.page-blog-28win-platform-overview {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-blog-28win-platform-overview-text-main); /* Default text color, assuming light body bg */
  background-color: var(--page-blog-28win-platform-overview-section-bg); /* Default section bg */
}

.page-blog-28win-platform-overview__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-28win-platform-overview__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 40px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--page-blog-28win-platform-overview-section-bg);
}

.page-blog-28win-platform-overview__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-blog-28win-platform-overview__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-28win-platform-overview__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-28win-platform-overview__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
  font-weight: 700;
  color: var(--page-blog-28win-platform-overview-primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-28win-platform-overview__intro-text {
  font-size: 1.1rem;
  color: var(--page-blog-28win-platform-overview-text-main);
  margin-bottom: 30px;
}

.page-blog-28win-platform-overview__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For mobile */
}

.page-blog-28win-platform-overview__btn-primary,
.page-blog-28win-platform-overview__btn-secondary,
.page-blog-28win-platform-overview__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-blog-28win-platform-overview__btn-primary {
  background: var(--page-blog-28win-platform-overview-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-blog-28win-platform-overview__btn-primary:hover {
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
  transform: translateY(-2px);
}

.page-blog-28win-platform-overview__btn-secondary {
  background-color: var(--page-blog-28win-platform-overview-card-bg);
  color: var(--page-blog-28win-platform-overview-primary-color);
  border: 2px solid var(--page-blog-28win-platform-overview-primary-color);
}

.page-blog-28win-platform-overview__btn-secondary:hover {
  background-color: var(--page-blog-28win-platform-overview-primary-color);
  color: #ffffff;
  border-color: var(--page-blog-28win-platform-overview-primary-color);
  transform: translateY(-2px);
}

.page-blog-28win-platform-overview__btn-tertiary {
  background-color: transparent;
  color: var(--page-blog-28win-platform-overview-primary-color);
  border: 1px solid var(--page-blog-28win-platform-overview-primary-color);
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.page-blog-28win-platform-overview__btn-tertiary:hover {
  background-color: var(--page-blog-28win-platform-overview-primary-color);
  color: #ffffff;
}

/* Section Titles & Descriptions */
.page-blog-28win-platform-overview__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--page-blog-28win-platform-overview-text-black);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-blog-28win-platform-overview__section-description {
  font-size: 1.1rem;
  color: var(--page-blog-28win-platform-overview-text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-blog-28win-platform-overview__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--page-blog-28win-platform-overview-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Features Section */
.page-blog-28win-platform-overview__features-section {
  padding: 60px 0;
  background-color: var(--page-blog-28win-platform-overview-card-bg); /* White background */
}

.page-blog-28win-platform-overview__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-28win-platform-overview__feature-card {
  background-color: var(--page-blog-28win-platform-overview-card-bg);
  border: 1px solid var(--page-blog-28win-platform-overview-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-blog-28win-platform-overview-text-main);
}

.page-blog-28win-platform-overview__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-blog-28win-platform-overview__feature-icon {
  width: 100%; /* Ensure big images */
  max-width: 250px; /* Example size, ensuring > 200px */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-28win-platform-overview__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--page-blog-28win-platform-overview-primary-color);
  margin-bottom: 10px;
}

.page-blog-28win-platform-overview__feature-text {
  font-size: 1rem;
  color: var(--page-blog-28win-platform-overview-text-main);
}

/* Games Section */
.page-blog-28win-platform-overview__games-section {
  padding: 60px 0;
  background-color: var(--page-blog-28win-platform-overview-section-bg);
}

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

.page-blog-28win-platform-overview__game-card {
  background-color: var(--page-blog-28win-platform-overview-card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-blog-28win-platform-overview-text-main);
  display: flex;
  flex-direction: column;
}

.page-blog-28win-platform-overview__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-blog-28win-platform-overview__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, ensuring > 200px */
  object-fit: cover;
  display: block;
}

.page-blog-28win-platform-overview__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-blog-28win-platform-overview-primary-color);
  padding: 20px 20px 10px 20px;
}

.page-blog-28win-platform-overview__game-text {
  font-size: 1rem;
  color: var(--page-blog-28win-platform-overview-text-main);
  padding: 0 20px 20px 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-blog-28win-platform-overview__game-card .page-blog-28win-platform-overview__btn-tertiary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

/* Promotions Section (Dark Background) */
.page-blog-28win-platform-overview__promotions-section {
  padding: 60px 0;
  background-color: var(--page-blog-28win-platform-overview-primary-color); /* Dark section background */
  color: #ffffff; /* White text for dark background */
}

.page-blog-28win-platform-overview__promotions-section .page-blog-28win-platform-overview__section-title,
.page-blog-28win-platform-overview__promotions-section .page-blog-28win-platform-overview__section-description {
  color: #ffffff;
}

.page-blog-28win-platform-overview__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-28win-platform-overview__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  border-radius: 12px;
  padding-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  overflow: hidden;
}

.page-blog-28win-platform-overview__promo-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-blog-28win-platform-overview__promo-image {
  width: 100%;
  height: 180px; /* Fixed height for promo images, ensuring > 200px */
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 20px;
}

.page-blog-28win-platform-overview__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-blog-28win-platform-overview__promo-text {
  font-size: 1rem;
  color: #f0f0f0;
  padding: 0 15px;
}

.page-blog-28win-platform-overview__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-blog-28win-platform-overview__security-section {
  padding: 60px 0;
  background-color: var(--page-blog-28win-platform-overview-card-bg);
}

.page-blog-28win-platform-overview__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-blog-28win-platform-overview__security-text {
  flex: 1;
  min-width: 300px;
  color: var(--page-blog-28win-platform-overview-text-main);
}

.page-blog-28win-platform-overview__security-text p {
  margin-bottom: 15px;
}

.page-blog-28win-platform-overview__security-text a {
  color: var(--page-blog-28win-platform-overview-primary-color);
  text-decoration: underline;
}

.page-blog-28win-platform-overview__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px; /* Limit image width */
  text-align: center;
}

.page-blog-28win-platform-overview__security-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Support Section (Dark Background) */
.page-blog-28win-platform-overview__support-section {
  padding: 60px 0;
  background-color: var(--page-blog-28win-platform-overview-primary-color);
  color: #ffffff;
}

.page-blog-28win-platform-overview__support-section .page-blog-28win-platform-overview__section-title,
.page-blog-28win-platform-overview__support-section .page-blog-28win-platform-overview__section-description {
  color: #ffffff;
}

.page-blog-28win-platform-overview__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-28win-platform-overview__support-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-blog-28win-platform-overview__support-icon {
  width: 100%; /* Ensure big images */
  max-width: 200px; /* Example size, ensuring > 200px */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-28win-platform-overview__support-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-blog-28win-platform-overview__support-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-blog-28win-platform-overview__conclusion-section {
  padding: 60px 0;
  background-color: var(--page-blog-28win-platform-overview-section-bg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-28win-platform-overview__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }
  .page-blog-28win-platform-overview__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-blog-28win-platform-overview {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-28win-platform-overview__hero-section {
    padding: 30px 0 40px 0;
  }

  .page-blog-28win-platform-overview__hero-content {
    padding: 0 15px;
  }

  .page-blog-28win-platform-overview__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-28win-platform-overview__intro-text {
    font-size: 1rem;
  }

  .page-blog-28win-platform-overview__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-blog-28win-platform-overview__btn-primary,
  .page-blog-28win-platform-overview__btn-secondary,
  .page-blog-28win-platform-overview__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-28win-platform-overview__container {
    padding: 0 15px;
  }

  .page-blog-28win-platform-overview__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding-top: 30px;
  }

  .page-blog-28win-platform-overview__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Image responsiveness */
  .page-blog-28win-platform-overview img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-blog-28win-platform-overview__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-blog-28win-platform-overview__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog-28win-platform-overview__security-image-wrapper {
    max-width: 100%;
    order: -1; /* Image first on mobile */
  }

  .page-blog-28win-platform-overview__game-image,
  .page-blog-28win-platform-overview__promo-image {
    height: auto !important; /* Let height adjust dynamically */
  }

  .page-blog-28win-platform-overview__feature-icon,
  .page-blog-28win-platform-overview__support-icon {
    max-width: 100% !important; /* Ensure icons also scale */
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-blog-28win-platform-overview__main-title {
    font-size: 1.8rem;
  }
  .page-blog-28win-platform-overview__section-title {
    font-size: 1.6rem;
  }
}