/* style/slot-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #015c2f;
    --text-color: #333333;
    --heading-color: #1a1a1a;
    --light-bg: #f9f9f9;
    --dark-bg: #017439;
    --button-register-login: #C30808;
    --button-register-login-text: #FFFF00;
}

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

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

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

.page-slot-games__section-title {
    font-size: 36px;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-slot-games__sub-title {
    font-size: 24px;
    color: var(--heading-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-slot-games__text-block {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

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

.page-slot-games__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #000;
}

.page-slot-games__hero-container {
    position: relative;
    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;
    border-radius: 12px;
    overflow: hidden;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    padding: 30px;
    border-radius: 10px;
}

.page-slot-games__main-title {
    font-size: clamp(28px, 4vw, 48px);
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-slot-games__description {
    font-size: clamp(16px, 2vw, 20px);
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-register-login); /* Custom color for register/login */
    color: var(--button-register-login-text); /* Custom text color */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-slot-games__intro-section {
    background-color: #ffffff;
    color: var(--text-color);
}

/* Game Types Section */
.page-slot-games__game-types-section {
    background-color: var(--light-bg);
}

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

.page-slot-games__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-slot-games__card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 22px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

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

.page-slot-games__text-center {
    text-align: center;
    margin-top: 30px;
}

/* Features Section */
.page-slot-games__features-section {
    background-color: var(--dark-bg);
    color: #ffffff;
}

.page-slot-games__features-section .page-slot-games__section-title,
.page-slot-games__features-section .page-slot-games__feature-title {
    color: #ffffff;
}

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

.page-slot-games__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__feature-item p {
    font-size: 16px;
    color: #f0f0f0;
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

/* Tips Section */
.page-slot-games__tips-section {
    background-color: #ffffff;
}

.page-slot-games__grid--two-columns {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.page-slot-games__tips-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

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

.page-slot-games__promo-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__promo-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-slot-games__promo-card p {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-slot-games__promo-button {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Security Section */
.page-slot-games__security-section {
    background-color: #ffffff;
}

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

.page-slot-games__security-item {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.page-slot-games__security-title {
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--light-bg);
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
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: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--heading-color);
}
.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: var(--text-color);
}

/* Blog Section */
.page-slot-games__blog-section {
    background-color: var(--dark-bg);
    color: #ffffff;
}

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

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

.page-slot-games__blog-card {
    display: block;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__blog-card img {
    width: 100%;
    height: 220px; /* Fixed height for blog images */
    object-fit: cover;
    display: block;
}

.page-slot-games__blog-content {
    padding: 20px;
}

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

.page-slot-games__blog-excerpt {
    font-size: 15px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__grid--two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-image {
        margin-bottom: 20px;
    }

    .page-slot-games__hero-content {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        width: 100%;
        padding: 20px;
        background: rgba(0, 0, 0, 0.6);
    }

    .page-slot-games__main-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .page-slot-games__description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

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

    .page-slot-games__card,
    .page-slot-games__feature-item,
    .page-slot-games__promo-card,
    .page-slot-games__security-item,
    .page-slot-games__blog-card {
        padding: 20px;
    }

    .page-slot-games__card img,
    .page-slot-games__promo-card img,
    .page-slot-games__blog-card img {
        
    }

    .page-slot-games__card-title,
    .page-slot-games__feature-title,
    .page-slot-games__promo-title,
    .page-slot-games__security-title,
    .page-slot-games__blog-title {
        font-size: 18px;
    }

    .page-slot-games__card-text,
    .page-slot-games__feature-item p,
    .page-slot-games__promo-card p,
    .page-slot-games__security-item p,
    .page-slot-games__blog-excerpt,
    .page-slot-games p,
    .page-slot-games li {
        font-size: 15px;
    }

    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-qtext {
        font-size: 16px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .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;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column; 
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: 20px;
    }
    .page-slot-games__description {
        font-size: 14px;
    }
    .page-slot-games__section-title {
        font-size: 24px;
    }
    .page-slot-games__card img,
    .page-slot-games__promo-card img,
    .page-slot-games__blog-card img {
        
    }
}