/* style/slot-games.css */

:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark-section: #2D3748;
    --border-color: #E0E0E0;
}

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

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

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

.page-slot-games .mt-4 {
    margin-top: 2rem;
}

/* 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-color: var(--primary-color); /* Fallback */
    color: var(--text-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;
}

.page-slot-games .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px 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 h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-slot-games .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
}

.page-slot-games .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

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

.page-slot-games .secondary-button:hover {
    background: var(--bg-dark-section);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* General Section Styling */
.page-slot-games section {
    padding: 80px 0;
}

.page-slot-games section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.page-slot-games h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-slot-games h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Section Intro */
.page-slot-games .section-intro p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.page-slot-games .feature-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games .feature-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games .feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
}

.page-slot-games .feature-item p {
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-slot-games .game-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    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 20px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games .game-card h3 {
    padding: 20px 20px 0;
    font-size: 1.5em;
}

.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 {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: var(--text-dark);
}

.page-slot-games .btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: all 0.3s ease;
}

.page-slot-games .btn-small:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* How To Play Section */
.page-slot-games .section-how-to-play ol {
    list-style-type: decimal;
    padding-left: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-slot-games .section-how-to-play ol li {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.8;
}

.page-slot-games .section-how-to-play ol li strong {
    color: var(--primary-color);
    font-size: 1.2em;
}

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

.page-slot-games .promo-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games .promo-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games .promo-item h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
}

.page-slot-games .promo-item p {
    font-size: 1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-slot-games .faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faq-question:hover {
  background: var(--bg-dark-section);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--text-light);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.faq-item.active .faq-question {
    border-radius: 8px 8px 0 0;
}

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

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

/* CTA Bottom Section */
.page-slot-games .section-cta-bottom {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

.page-slot-games .section-cta-bottom h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-slot-games .section-cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games .hero-content h1 {
        font-size: 2.8em;
    }
    .page-slot-games h2 {
        font-size: 2em;
    }
    .page-slot-games h3 {
        font-size: 1.5em;
    }
    .page-slot-games p {
        font-size: 1em;
    }
    .page-slot-games section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-slot-games .hero-section {
        padding: 40px 15px;
    }
    .page-slot-games .hero-content h1 {
        font-size: 2.2em;
    }
    .page-slot-games .hero-content p {
        font-size: 1em;
    }
    .page-slot-games .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-slot-games h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games h3 {
        font-size: 1.3em;
    }
    .page-slot-games section {
        padding: 40px 0;
    }
    .page-slot-games .feature-grid, .page-slot-games .game-cards, .page-slot-games .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games .feature-item, .page-slot-games .promo-item {
        padding: 25px;
    }
    .page-slot-games .game-card img {
        height: 200px;
    }
    .page-slot-games .section-how-to-play ol {
        padding-left: 20px;
    }
    .page-slot-games .section-how-to-play ol li {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    .page-slot-games .section-cta-bottom h2 {
        font-size: 1.8em;
    }
    .page-slot-games .section-cta-bottom p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-slot-games .hero-content h1 {
        font-size: 1.8em;
    }
    .page-slot-games .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-slot-games h2 {
        font-size: 1.5em;
    }
    .page-slot-games h3 {
        font-size: 1.2em;
    }
    .page-slot-games .feature-item img, .page-slot-games .promo-item img {
        width: 100px;
        height: 100px;
    }
    .page-slot-games .section-how-to-play ol li {
        font-size: 0.95em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
}