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

:root {
  --primary-color: #0056B3; /* Deep Blue */
  --secondary-color: #FFD700; /* Bright Gold */
  --text-dark: #2c3e50; /* Dark text for light backgrounds */
  --text-light: #ffffff; /* Light text for dark backgrounds */
  --bg-light: #f8f9fa; /* Light background */
  --bg-dark: #34495e; /* Dark background */
  --border-color: #e0e0e0;
  --hover-color: #004085;
}

.page-index-review-iwin-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-index-review-iwin-club h1, 
.page-index-review-iwin-club h2, 
.page-index-review-iwin-club h3, 
.page-index-review-iwin-club h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-review-iwin-club h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-index-review-iwin-club h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-index-review-iwin-club h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-review-iwin-club p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.8;
}

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

.page-index-review-iwin-club a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

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

/* Hero Section */
.page-index-review-iwin-club__hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px; /* Adjusted padding */
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%); /* Darker blue gradient */
  color: var(--text-light);
  overflow: hidden;
}

.page-index-review-iwin-club__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-index-review-iwin-club__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-review-iwin-club__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-index-review-iwin-club__hero-content h1 {
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-iwin-club__hero-content p {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-index-review-iwin-club__cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

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

/* General Section Styling */
.page-index-review-iwin-club__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-index-review-iwin-club__section:last-of-type {
  border-bottom: none;
}

.page-index-review-iwin-club__section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

.page-index-review-iwin-club__section:nth-of-type(even) {
  background-color: #f0f2f5;
}

/* Pros and Cons */
.page-index-review-iwin-club__pros-cons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

.page-index-review-iwin-club__pros, 
.page-index-review-iwin-club__cons {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__pros h4 {
  color: #28a745; /* Green for pros */
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index-review-iwin-club__cons h4 {
  color: #dc3545; /* Red for cons */
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index-review-iwin-club__pros ul, 
.page-index-review-iwin-club__cons ul {
  list-style: none;
  padding: 0;
}

.page-index-review-iwin-club__pros li, 
.page-index-review-iwin-club__cons li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.page-index-review-iwin-club__pros li::before {
  content: '✔';
  color: #28a745;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-review-iwin-club__cons li::before {
  content: '✖';
  color: #dc3545;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Game Grid */
.page-index-review-iwin-club__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-iwin-club__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.page-index-review-iwin-club__game-card h3 {
  font-size: 1.6em;
  margin-top: 0;
  padding: 0 15px;
}

.page-index-review-iwin-club__game-card h3 a {
  color: var(--primary-color);
}

.page-index-review-iwin-club__game-card p {
  font-size: 1em;
  color: #555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-index-review-iwin-club__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid var(--secondary-color);
}

.page-index-review-iwin-club__card-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

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

.page-index-review-iwin-club__promo-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__promo-item:hover {
  transform: translateY(-5px);
}

.page-index-review-iwin-club__promo-item h3 {
  font-size: 1.7em;
  color: var(--primary-color);
  margin-top: 0;
}

.page-index-review-iwin-club__promo-item p {
  font-size: 1.05em;
  color: #555;
}

/* FAQ Section */
.page-index-review-iwin-club__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f0f2f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  color: #444;
  font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-iwin-club h1 {
    font-size: 2.4em;
  }
  .page-index-review-iwin-club h2 {
    font-size: 2em;
  }
  .page-index-review-iwin-club h3 {
    font-size: 1.6em;
  }
  .page-index-review-iwin-club__hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club__hero {
    padding: 60px 15px 40px;
  }
  .page-index-review-iwin-club__hero-image {
    margin-bottom: 20px;
  }
  .page-index-review-iwin-club__hero-image img {
    border-radius: 8px;
  }
  .page-index-review-iwin-club__hero-content h1 {
    font-size: 2em;
  }
  .page-index-review-iwin-club__hero-content p {
    font-size: 1em;
  }
  .page-index-review-iwin-club__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index-review-iwin-club h2 {
    font-size: 1.8em;
  }
  .page-index-review-iwin-club h3 {
    font-size: 1.4em;
  }
  .page-index-review-iwin-club__section {
    padding: 40px 0;
  }
  .page-index-review-iwin-club__pros-cons {
    flex-direction: column;
    gap: 20px;
  }
  .page-index-review-iwin-club__pros, 
  .page-index-review-iwin-club__cons {
    padding: 25px;
  }
  .page-index-review-iwin-club__game-grid {
    gap: 20px;
  }
  .page-index-review-iwin-club__game-card img {
    height: 180px;
  }
  .page-index-review-iwin-club__game-card h3 {
    font-size: 1.4em;
  }
  .page-index-review-iwin-club__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-iwin-club__promo-item {
    padding: 25px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-review-iwin-club__hero-content h1 {
    font-size: 1.8em;
  }
  .page-index-review-iwin-club__hero-content p {
    font-size: 0.95em;
  }
  .page-index-review-iwin-club h2 {
    font-size: 1.6em;
  }
  .page-index-review-iwin-club h3 {
    font-size: 1.2em;
  }
  .page-index-review-iwin-club__cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index-review-iwin-club__game-card img {
    height: 150px;
  }
  .page-index-review-iwin-club__game-card h3 {
    font-size: 1.2em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}