/* slot-games.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --bg-color: #F5F7FA;
    --border-color: #E0E0E0;
    --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for light backgrounds */
    background-color: var(--bg-color); /* Page background */
}

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

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__section-description {
    font-size: 18px;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-slot-games__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(229, 57, 53, 0.3);
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--bg-color);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__main-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.page-slot-games__hero-description {
    font-size: 20px;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

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

/* Advantages Section */
.page-slot-games__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__advantage-card {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.page-slot-games__advantage-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__advantage-text {
    font-size: 16px;
    color: var(--text-main-color);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    background: var(--primary-color);
    color: #ffffff;
}

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

.page-slot-games__popular-games-section .page-slot-games__section-description {
    color: #f0f0f0;
}

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

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
}

.page-slot-games__game-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

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

.page-slot-games__game-button {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.page-slot-games__game-button:hover {
    opacity: 0.9;
}

.page-slot-games__view-all-button-wrapper {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Guide Section */
.page-slot-games__guide-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-slot-games__guide-steps {
    flex: 2;
}

.page-slot-games__guide-image-wrapper {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

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

.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-slot-games__step-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 50px;
}

.page-slot-games__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.page-slot-games__step-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__step-text {
    font-size: 16px;
    color: var(--text-main-color);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: var(--bg-color);
}

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

.page-slot-games__promotion-card {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__promotion-thumbnail {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__promotion-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__promotion-text {
    font-size: 16px;
    color: var(--text-main-color);
    flex-grow: 1;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
    background: var(--primary-color);
    color: #ffffff;
}

.page-slot-games__responsible-gaming-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__responsible-gaming-section .page-slot-games__section-description {
    color: #f0f0f0;
}

.page-slot-games__responsible-gaming-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-slot-games__responsible-gaming-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__responsible-gaming-list {
    list-style: none;
    padding: 0;
    flex: 1;
    min-width: 300px;
}

.page-slot-games__responsible-gaming-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 17px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.page-slot-games__responsible-gaming-item::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}
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;
}
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: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main-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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}

/* General image and button responsive styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__section, .page-slot-games__card, .page-slot-games__container, .page-slot-games__cta-buttons, .page-slot-games__view-all-button-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 42px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__guide-content {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__guide-steps, .page-slot-games__guide-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-slot-games__responsible-gaming-content {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__responsible-gaming-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .page-slot-games__responsible-gaming-list {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section-spacing {
        padding: 40px 0;
    }
    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-slot-games__cta-buttons a {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }

    /* Images */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__hero-image-wrapper {
        margin-top: 20px;
        border-radius: 10px;
    }

    /* General containers for images/buttons */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__cta-buttons,
    .page-slot-games__view-all-button-wrapper,
    .page-slot-games__advantages-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promotion-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__advantages-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__advantage-card, .page-slot-games__game-card, .page-slot-games__promotion-card {
        padding: 20px;
    }

    .page-slot-games__advantage-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .page-slot-games__advantage-title {
        font-size: 20px;
    }

    .page-slot-games__game-thumbnail, .page-slot-games__promotion-thumbnail {
        height: 180px;
    }

    .page-slot-games__view-all-button-wrapper {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
    }
    .page-slot-games__view-all-button-wrapper a {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }

    .page-slot-games__guide-steps {
        order: 2;
    }
    .page-slot-games__guide-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }

    .page-slot-games__step-item {
        padding-left: 45px;
        margin-bottom: 20px;
    }
    .page-slot-games__step-item::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .page-slot-games__step-title {
        font-size: 18px;
    }
    .page-slot-games__step-text {
        font-size: 15px;
    }

    .page-slot-games__responsible-gaming-image {
        margin-bottom: 20px;
    }
    .page-slot-games__responsible-gaming-item {
        font-size: 15px;
        padding: 12px 15px;
        margin-bottom: 10px;
    }

    /* FAQ */
    details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
    .page-slot-games__faq-qtext { font-size: 16px; }
    .page-slot-games__faq-toggle { font-size: 20px; width: 24px; }
    details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}

/* Ensure body padding-top is handled by shared.css, this page only adds minimal top padding */
.page-slot-games__hero-section {
    padding-top: 10px; 
}