/* style/slot-games.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
}

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

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

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

.page-slot-games h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

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

.page-slot-games p {
  margin-bottom: 1em;
}

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

.page-slot-games a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

/* 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: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a70 100%); /* Darker gradient for hero */
  color: var(--text-light);
  overflow: hidden;
}

.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;
  z-index: 1;
}

.page-slot-games .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Limit image width to prevent it from being too overwhelming */
}

.page-slot-games .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-slot-games .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-slot-games .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-slot-games .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 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games .cta-button:hover {
  background: #ffc107; /* Slightly brighter gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-slot-games section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

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

.page-slot-games .game-type-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games .game-type-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games .game-type-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-slot-games .game-type-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

.page-slot-games .game-type-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-slot-games .benefit-item {
  text-align: center;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games .benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slot-games .benefit-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-slot-games .benefit-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
}

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

.page-slot-games .promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  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 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games .promo-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-slot-games .promo-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

.page-slot-games .promo-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

/* Lists */
.page-slot-games ol, .page-slot-games ul {
  margin: 20px 0;
  padding-left: 25px;
}

.page-slot-games ol li, .page-slot-games ul li {
  margin-bottom: 10px;
  list-style-position: outside;
}

.page-slot-games ol li strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-slot-games .faq-list {
  margin-top: 30px;
}

.page-slot-games .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

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

.page-slot-games .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: var(--bg-light);
}

.page-slot-games .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
}

.page-slot-games .faq-answer p {
  margin-bottom: 0;
  color: var(--text-dark);
}

/* Conclusion Section */
.page-slot-games .section-conclusion {
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-slot-games .section-conclusion h2 {
  color: var(--secondary-color);
}

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

.page-slot-games .cta-bottom {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games h1 {
    font-size: 2.2em;
  }
  .page-slot-games h2 {
    font-size: 1.8em;
  }
  .page-slot-games .hero-content p {
    font-size: 1.1em;
  }
  .page-slot-games .cta-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-slot-games .game-type-grid, .page-slot-games .benefits-grid, .page-slot-games .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games .hero-section {
    padding: 40px 15px;
  }
  .page-slot-games .hero-image img {
    border-radius: 8px;
  }
  .page-slot-games h1 {
    font-size: 1.8em;
  }
  .page-slot-games h2 {
    font-size: 1.6em;
  }
  .page-slot-games h3 {
    font-size: 1.3em;
  }
  .page-slot-games .section-intro, .page-slot-games .section-games-types, .page-slot-games .section-benefits, .page-slot-games .section-guide, .page-slot-games .section-strategy, .page-slot-games .section-promotions, .page-slot-games .section-transactions, .page-slot-games .section-support, .page-slot-games .section-faq, .page-slot-games .section-conclusion {
    padding: 40px 0;
  }
  .page-slot-games .game-type-card .card-img, .page-slot-games .promo-card .card-img {
    height: 180px;
  }
  .page-slot-games .benefit-icon {
    width: 100px;
    height: 100px;
  }
  .page-slot-games ol, .page-slot-games ul {
    padding-left: 20px;
  }
  .page-slot-games .faq-question {
    padding: 12px 15px;
  }
  .page-slot-games .faq-question h3 {
    font-size: 1em;
  }
  .page-slot-games .faq-toggle {
    font-size: 1.5em;
  }
  .page-slot-games .faq-answer {
    padding: 0 15px;
  }
  .page-slot-games .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games h1 {
    font-size: 1.5em;
  }
  .page-slot-games h2 {
    font-size: 1.4em;
  }
  .page-slot-games .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-slot-games .game-type-grid, .page-slot-games .benefits-grid, .page-slot-games .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games .game-type-card .card-img, .page-slot-games .promo-card .card-img {
    height: 160px;
  }
  .page-slot-games .benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-slot-games .faq-question h3 {
    font-size: 0.9em;
  }
  .page-slot-games .faq-toggle {
    font-size: 1.2em;
  }
}