/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

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

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

.page-slot-games__section {
    padding: 60px 0;
}

.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-slot-games-text-main);
    line-height: 1.2;
}

.page-slot-games__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__text-block--center {
    text-align: center;
}

.page-slot-games a {
    color: var(--page-slot-games-glow);
    text-decoration: none;
}

.page-slot-games a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-glow);
    border: 2px solid var(--page-slot-games-glow);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-glow);
    color: var(--page-slot-games-background);
}

.page-slot-games__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__cta-buttons--center {
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__main-title {
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--page-slot-games-gold);
    line-height: 1.2;
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
}

.page-slot-games__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-slot-games__card-text {
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__card--promo .page-slot-games__card-title {
    color: var(--page-slot-games-glow);
}

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

.page-slot-games__game-item {
    display: flex;
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__game-thumbnail {
    width: 150px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-slot-games__game-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-slot-games__game-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-slot-games-gold);
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 15px;
}

/* How to Play */
.page-slot-games__ordered-list {
    list-style: none;
    padding: 0;
    counter-reset: item;
}

.page-slot-games__ordered-list li {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__ordered-list li::before {
    counter-increment: item;
    content: counter(item) ".";
    font-weight: bold;
    font-size: 1.2em;
    color: var(--page-slot-games-gold);
    margin-right: 10px;
    flex-shrink: 0;
    align-self: flex-start;
}

.page-slot-games__ordered-list .page-slot-games__list-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--page-slot-games-gold);
    display: inline;
}

.page-slot-games__ordered-list li p {
    margin-left: 25px; /* Align with list item text */
    margin-top: 0;
    color: var(--page-slot-games-text-secondary);
}

/* Safety Section */
.page-slot-games__info-block {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__info-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-slot-games-gold);
}

.page-slot-games__info-text {
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
}

/* Mobile Gaming Section */
.page-slot-games__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.page-slot-games__mobile-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-slot-games__mobile-text {
    flex: 1;
    min-width: 300px;
    color: var(--page-slot-games-text-main);
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

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

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-slot-games-text-main);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-item summary:hover {
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-qtext {
    color: var(--page-slot-games-gold);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    color: var(--page-slot-games-glow);
}

.page-slot-games__faq-answer {
    padding: 0 20px 20px;
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
}

.page-slot-games__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA */
.page-slot-games__cta-final {
    background-color: var(--page-slot-games-deep-green);
    text-align: center;
    padding: 80px 0;
}

.page-slot-games__cta-final-content {
    max-width: 800px;
}

.page-slot-games__cta-final .page-slot-games__section-title {
    color: var(--page-slot-games-gold);
}

.page-slot-games__cta-final .page-slot-games__text-block {
    color: var(--page-slot-games-text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__grid--2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-slot-games__sub-title {
        font-size: 1.5em;
    }

    .page-slot-games__text-block {
        font-size: 1em;
    }

    .page-slot-games__hero-content {
        padding: 30px 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-slot-games__description {
        font-size: 1em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__game-list {
        grid-template-columns: 1fr;
    }

    .page-slot-games__game-item {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__game-thumbnail {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .page-slot-games__game-info {
        padding: 15px;
    }

    .page-slot-games__ordered-list li p {
        margin-left: 0;
    }

    .page-slot-games__mobile-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games__mobile-image {
        max-width: 100%;
    }

    .page-slot-games__mobile-text {
        min-width: unset;
        width: 100%;
    }

    .page-slot-games__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }

    .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }

    .page-slot-games__cta-final {
        padding: 60px 0;
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__mobile-content,
    .page-slot-games__cta-final-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
    /* Ensure video elements are also responsive */
    .page-slot-games video,
    .page-slot-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}