/* style/index-review-iwin-club.css */

/* Variables for consistency */
:root {
  --primary-color: #0056b3;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, ensuring it clears the fixed header */
.page-index-review-iwin-club {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  background-color: var(--background-dark); /* Inherit from body or use a base dark color */
  color: var(--text-light); /* Light text for dark body background */
}

/* HERO-like section for the review page */
.page-index-review-iwin-club__review-header-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #003f80); /* Darker gradient for header */
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-index-review-iwin-club__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-index-review-iwin-club__intro-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-iwin-club__header-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-index-review-iwin-club__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-iwin-club__cta-button:hover {
  background: #e6b300;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
  margin-top: 40px;
}

/* Main Content Section */
.page-index-review-iwin-club__main-content-section {
  padding: 60px 20px;
  background: var(--background-dark);
}

.page-index-review-iwin-club__review-content-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 40px;
  color: var(--text-dark); /* Dark text for light card background */
  line-height: 1.7;
}

.page-index-review-iwin-club__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-iwin-club__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-index-review-iwin-club__main-content-section p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-index-review-iwin-club__main-content-section p a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-iwin-club__main-content-section p a:hover {
  color: #003f80;
  text-decoration: underline;
}

.page-index-review-iwin-club__game-types-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-index-review-iwin-club__games-showcase {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-index-review-iwin-club__games-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-index-review-iwin-club__game-list {
  flex: 2;
  list-style-type: disc;
  padding-left: 25px;
  margin: 0;
}

.page-index-review-iwin-club__game-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-dark);
}

.page-index-review-iwin-club__promotion-banner-container {
  margin: 30px 0;
  text-align: center;
}

.page-index-review-iwin-club__promotion-banner {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-index-review-iwin-club__promotion-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-index-review-iwin-club__promotion-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-dark);
}

.page-index-review-iwin-club__security-info {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0f8ff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-index-review-iwin-club__security-image {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
}

.page-index-review-iwin-club__security-info p {
  margin: 0;
  font-style: italic;
  color: var(--text-dark);
}

/* Related News Section */
.page-index-review-iwin-club__related-news-section {
  padding: 60px 20px;
  background: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

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

.page-index-review-iwin-club__news-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-iwin-club__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__news-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-index-review-iwin-club__news-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-iwin-club__news-title a:hover {
  color: #ffda6a;
  text-decoration: underline;
}

.page-index-review-iwin-club__news-summary {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-review-iwin-club__news-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: 10px;
}

.page-index-review-iwin-club__news-link:hover {
  color: #ffda6a;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-iwin-club__main-title {
    font-size: 36px;
  }

  .page-index-review-iwin-club__section-title {
    font-size: 28px;
  }

  .page-index-review-iwin-club__sub-title {
    font-size: 22px;
  }

  .page-index-review-iwin-club__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-index-review-iwin-club__cta-button--large {
    padding: 15px 40px;
    font-size: 20px;
  }

  .page-index-review-iwin-club__review-content-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club {
    padding-top: 100px !important; /* Mobile: Adjust for mobile fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-review-iwin-club__review-header-section {
    padding: 40px 15px;
  }

  .page-index-review-iwin-club__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-index-review-iwin-club__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-index-review-iwin-club__header-image {
    margin-bottom: 30px;
    border-radius: 8px;
  }

  .page-index-review-iwin-club__cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }

  .page-index-review-iwin-club__cta-button--large {
    padding: 12px 30px;
    font-size: 18px;
    margin-top: 30px;
  }

  .page-index-review-iwin-club__main-content-section {
    padding: 40px 15px;
  }

  .page-index-review-iwin-club__review-content-card {
    padding: 25px;
    border-radius: 8px;
  }

  .page-index-review-iwin-club__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-index-review-iwin-club__sub-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 12px;
  }

  .page-index-review-iwin-club__main-content-section p,
  .page-index-review-iwin-club__game-list li,
  .page-index-review-iwin-club__promotion-list li,
  .page-index-review-iwin-club__security-info p,
  .page-index-review-iwin-club__news-summary {
    font-size: 15px;
  }

  .page-index-review-iwin-club__games-showcase {
    flex-direction: column;
    gap: 20px;
  }

  .page-index-review-iwin-club__games-image {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }

  .page-index-review-iwin-club__game-list {
    padding-left: 20px;
  }

  .page-index-review-iwin-club__security-info {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px;
  }

  .page-index-review-iwin-club__security-image {
    width: 80px;
  }

  .page-index-review-iwin-club__related-news-section {
    padding: 40px 15px;
  }

  .page-index-review-iwin-club__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-iwin-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-iwin-club__container,
  .page-index-review-iwin-club__review-content-card,
  .page-index-review-iwin-club__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-review-iwin-club__review-content-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}