/* style/slot-games.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-dark: #0A0A0A;
    --card-bg: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 600px; /* Limit height for aesthetic */
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-slot-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--text-main);
    max-width: 900px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: clamp(1em, 2vw, 1.2em);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for contrast on gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-slot-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

/* General Sections */
.page-slot-games__intro-section,
.page-slot-games__features-section,
.page-slot-games__game-showcase,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

.page-slot-games__feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__feature-icon {
    width: 100%;
    height: 200px; /* Fixed height for feature images */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__feature-card p {
    font-size: 1em;
    color: var(--text-main);
}

/* Game Showcase */
.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__game-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__game-card .page-slot-games__card-title {
    padding: 0 15px;
    margin-bottom: 10px;
}

.page-slot-games__game-card p {
    padding: 0 15px;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__btn-play-game {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin: 0 15px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-play-game:hover {
    opacity: 0.9;
}

/* How to Play Section */
.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-slot-games__step-number {
    background: var(--primary-color);
    color: var(--background-dark);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
}

.page-slot-games__step-content h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slot-games__step-content p {
    font-size: 1em;
    color: var(--text-main);
    margin: 0;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Promotions Section */
.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
}

.page-slot-games__promo-list .page-slot-games__list-item {
    background: var(--card-bg);
    color: var(--text-main);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.page-slot-games__promo-list .page-slot-games__list-item::before {
    content: '⭐';
    margin-right: 10px;
    color: var(--glow-color);
    font-size: 1.2em;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--secondary-color);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
  font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        max-width: 768px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-slot-games__hero-description {
        font-size: clamp(0.9em, 1.8vw, 1.1em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__features-grid,
    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .page-slot-games__feature-icon,
    .page-slot-games__game-image {
        height: 180px;
    }
    .page-slot-games__list-item {
        padding: 20px;
    }
    .page-slot-games__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }
    .page-slot-games__step-content h3 {
        font-size: 1.2em;
    }
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px 18px;
    }
    .page-slot-games__faq-qtext {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
    .page-slot-games__hero-image {
        max-height: 450px;
    }
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
        margin-bottom: 10px;
    }
    .page-slot-games__hero-description {
        font-size: clamp(0.9em, 3.5vw, 1em);
        margin-bottom: 20px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__game-showcase,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-icon,
    .page-slot-games__game-image {
        height: 160px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__game-card .page-slot-games__card-title {
        font-size: 1.3em;
    }
    .page-slot-games__btn-play-game {
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        padding: 10px 15px;
    }
    .page-slot-games__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .page-slot-games__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-slot-games__step-content h3 {
        font-size: 1.1em;
    }
    .page-slot-games__step-content p {
        font-size: 0.95em;
    }
    .page-slot-games__promo-list {
        max-width: 100%;
    }
    .page-slot-games__promo-list .page-slot-games__list-item {
        font-size: 1em;
        padding: 12px 15px;
    }
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-qtext {
        font-size: 0.9em;
    }
    .page-slot-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95em;
    }

    /* General image responsive */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__card,
    .page-slot-games__section,
    .page-slot-games__box {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Color Contrast Fixes (if needed, applying default text colors for clarity) */
.page-slot-games__dark-bg {
    background: var(--card-bg);
    color: var(--text-main);
}
.page-slot-games__light-bg {
    background: #ffffff;
    color: #333333;
}
.page-slot-games__medium-bg {
    background: var(--secondary-color);
    color: #000000;
}