/* style/slot-games.css */
:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #28a745; /* Vibrant Green */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #001f4d; /* Darker blue for contrast */
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-slot-games section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-slot-games section:nth-of-type(even) {
  background-color: #f2f4f6;
}

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games h1 {
  font-size: 2.8em;
  color: var(--text-color-light);
}

.page-slot-games h2 {
  font-size: 2.2em;
}

.page-slot-games h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-slot-games p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-slot-games .text-center {
  text-align: center;
}

/* Hero Section */
.page-slot-games .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
  color: var(--text-color-light);
}

.page-slot-games .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Adjust for better visual balance */
}

.page-slot-games .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 30px;
  color: #e0e0e0;
}

.page-slot-games .hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games .cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games .primary-button {
  background: var(--secondary-color);
  color: var(--text-color-light);
  border: 2px solid var(--secondary-color);
}

.page-slot-games .primary-button:hover {
  background: #218838; /* Darker green */
  border-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games .secondary-button {
  background: var(--text-color-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games .secondary-button:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games .large-button {
  padding: 18px 50px;
  font-size: 1.2em;
}

.page-slot-games .small-button {
  padding: 10px 25px;
  font-size: 0.95em;
}

/* Intro Section Features */
.page-slot-games .intro-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games .intro-features .feature-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games .intro-features .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games .intro-features .feature-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-slot-games .intro-features .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-slot-games .intro-features .feature-item p {
  font-size: 0.95em;
  color: #555;
  text-align: center;
}

/* Download Guide Section */
.page-slot-games .download-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games .download-steps .step-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-light);
  text-align: left;
}

.page-slot-games .download-steps .step-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: left;
}

.page-slot-games .download-steps .step-item p {
  color: #444;
  font-size: 1em;
}

.page-slot-games .download-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Game Lobbies Section */
.page-slot-games .game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games .game-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games .game-card .card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games .game-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  text-align: left;
}

.page-slot-games .game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games .game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-slot-games .game-card p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px 20px;
  text-align: left;
}

/* Features Section (large items) */
.page-slot-games .feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games .feature-item-lg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-slot-games .feature-item-lg:nth-child(even) {
  flex-direction: column-reverse; /* Alternate layout for visual interest */
}

.page-slot-games .feature-item-lg .feature-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-slot-games .feature-item-lg h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
  text-align: center;
}

.page-slot-games .feature-item-lg p {
  font-size: 1.1em;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

/* Promotions Section */
.page-slot-games .promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games .promo-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slot-games .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games .promo-card .card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games .promo-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  text-align: left;
}

.page-slot-games .promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games .promo-card h3 a:hover {
  color: var(--secondary-color);
}

.page-slot-games .promo-card p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px 20px;
  flex-grow: 1;
  text-align: left;
}

.page-slot-games .promo-card .cta-button {
  margin: 0 15px 20px;
  align-self: flex-start;
}

/* FAQ Section */
.page-slot-games .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games .faq-question:hover {
  background: #f5f5f5;
}

.page-slot-games .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  text-align: left;
}

.page-slot-games .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-slot-games .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-slot-games .faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Conclusion Section */
.page-slot-games .section-conclusion {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin-top: 40px;
}

.page-slot-games .section-conclusion h2 {
  color: var(--text-color-light);
  font-size: 2.5em;
}

.page-slot-games .section-conclusion p {
  font-size: 1.3em;
  max-width: 900px;
  margin: 20px auto 40px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games h1 {
    font-size: 2.5em;
  }
  .page-slot-games h2 {
    font-size: 2em;
  }
  .page-slot-games h3 {
    font-size: 1.4em;
  }
  .page-slot-games .hero-content p {
    font-size: 1.1em;
  }
  .page-slot-games .intro-features .feature-icon {
    width: 100px;
    height: 100px;
  }
  .page-slot-games .feature-item-lg .feature-image {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games section {
    padding: 40px 0;
  }
  .page-slot-games .container {
    padding: 0 15px;
  }
  .page-slot-games h1 {
    font-size: 2em;
  }
  .page-slot-games h2 {
    font-size: 1.8em;
  }
  .page-slot-games h3 {
    font-size: 1.2em;
  }
  .page-slot-games .hero-section {
    padding: 60px 15px 40px;
  }
  .page-slot-games .hero-image img {
    border-radius: 8px;
  }
  .page-slot-games .hero-content p {
    font-size: 1em;
  }
  .page-slot-games .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games .cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-slot-games .intro-features, .page-slot-games .download-steps, .page-slot-games .game-cards, .page-slot-games .promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games .intro-features .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-slot-games .game-card .card-image {
    height: 160px;
  }
  .page-slot-games .promo-card .card-image {
    height: 140px;
  }
  .page-slot-games .feature-item-lg {
    padding: 30px;
  }
  .page-slot-games .feature-item-lg .feature-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .page-slot-games .feature-item-lg:nth-child(even) {
    flex-direction: column; /* Revert for mobile for consistency */
  }
  .page-slot-games .faq-question {
    padding: 15px 20px;
  }
  .page-slot-games .faq-question h3 {
    font-size: 1.1em;
  }
  .page-slot-games .faq-toggle {
    font-size: 20px;
  }
  .page-slot-games .faq-answer {
    padding: 0 20px;
  }
  .page-slot-games .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-slot-games .section-conclusion h2 {
    font-size: 2em;
  }
  .page-slot-games .section-conclusion p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-slot-games h1 {
    font-size: 1.8em;
  }
  .page-slot-games h2 {
    font-size: 1.6em;
  }
  .page-slot-games .hero-section {
    padding: 50px 10px 30px;
  }
  .page-slot-games .hero-content p {
    font-size: 0.95em;
  }
  .page-slot-games .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-slot-games .intro-features .feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-slot-games .feature-item-lg {
    padding: 20px;
  }
  .page-slot-games .section-conclusion h2 {
    font-size: 1.8em;
  }
  .page-slot-games .section-conclusion p {
    font-size: 1em;
  }
}