/* style/slot-games.css */

/* Custom Colors from palette */
:root {
    --page-slot-games-primary-color: #11A84E;
    --page-slot-games-secondary-color: #22C768;
    --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;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-background); /* Default background color */
    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-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--page-slot-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom */
    overflow: hidden;
    background: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__description {
    font-size: 1.25rem;
    color: var(--page-slot-games-text-main);
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    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(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid var(--page-slot-games-primary-color);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(17, 168, 78, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-main);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(17, 168, 78, 0.2);
}

/* Introduction Section */
.page-slot-games__introduction-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-slot-games__introduction-section .page-slot-games__section-title {
    color: #000000;
}

.page-slot-games__introduction-section .page-slot-games__text-block {
    color: #333333;
}

/* Advantages Section */
.page-slot-games__advantages-section {
    background-color: var(--page-slot-games-background);
    padding: 80px 0;
}

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

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

.page-slot-games__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__card-text {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    background-color: #f5f5f5; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-slot-games__popular-games-section .page-slot-games__section-title {
    color: #000000;
}

.page-slot-games__popular-games-section .page-slot-games__text-block {
    color: #333333;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
}

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

.page-slot-games__game-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-provider {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 15px;
}

.page-slot-games__game-description {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__btn-play {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.3);
}

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

/* Strategy Section */
.page-slot-games__strategy-section {
    background-color: var(--page-slot-games-deep-green);
    padding: 80px 0;
}

.page-slot-games__strategy-section .page-slot-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__strategy-item {
    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__strategy-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__strategy-text {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
    color: #000000;
}

.page-slot-games__promotions-section .page-slot-games__text-block {
    color: #333333;
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-slot-games__promo-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--page-slot-games-primary-color);
}

.page-slot-games__promo-title {
    font-size: 1.3rem;
    color: var(--page-slot-games-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__promo-description {
    font-size: 1rem;
    color: #555555;
}

/* Responsible Gambling Section */
.page-slot-games__responsible-gambling-section {
    background-color: var(--page-slot-games-background);
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__responsible-gambling-section .page-slot-games__text-block {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--page-slot-games-text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: #000000;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: bold;
    color: #333333;
    background-color: #e9e9e9;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item summary:hover {
    background-color: #e0e0e0;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #fdfdfd;
    border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-slot-games__hero-content {
        max-width: 700px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    .page-slot-games__description {
        font-size: 1.1rem;
    }
    .page-slot-games__section-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__advantages-grid, .page-slot-games__game-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 10px 0 30px 0;
    }
    .page-slot-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-slot-games__hero-content {
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    .page-slot-games__description {
        font-size: 1rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95rem;
    }
    .page-slot-games__advantages-grid,
    .page-slot-games__game-list,
    .page-slot-games__strategy-grid,
    .page-slot-games__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video {
        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__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__hero-image-wrapper {
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
    .page-slot-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: 0.9rem;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play {
        font-size: 0.95rem;
    }
    .page-slot-games__card-title,
    .page-slot-games__game-title,
    .page-slot-games__strategy-title,
    .page-slot-games__promo-title {
        font-size: 1.2rem;
    }
    .page-slot-games__card-text,
    .page-slot-games__game-description,
    .page-slot-games__strategy-text,
    .page-slot-games__promo-description {
        font-size: 0.9rem;
    }
}