/* Biến màu sắc */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

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

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

.page-slot-games-new-releases__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games-new-releases__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.page-slot-games-new-releases__text-block {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-slot-games-new-releases__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-slot-games-new-releases__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games-new-releases__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-slot-games-new-releases__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up over the image a bit */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-border);
}

.page-slot-games-new-releases__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-slot-games-new-releases__hero-description {
    font-size: 19px;
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games-new-releases__btn-primary,
.page-slot-games-new-releases__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games-new-releases__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 4px 15px rgba(var(--color-button-gradient-start), 0.4);
}

.page-slot-games-new-releases__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--color-button-gradient-start), 0.6);
}

.page-slot-games-new-releases__btn-secondary {
    background: transparent;
    color: var(--color-button-gradient-start);
    border: 2px solid var(--color-button-gradient-start);
}

.page-slot-games-new-releases__btn-secondary:hover {
    background: var(--color-button-gradient-start);
    color: var(--color-text-main);
    transform: translateY(-3px);
}

.page-slot-games-new-releases__introduction-section,
.page-slot-games-new-releases__how-to-play-section,
.page-slot-games-new-releases__promo-section,
.page-slot-games-new-releases__cta-bottom-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

.page-slot-games-new-releases__features-section,
.page-slot-games-new-releases__latest-releases-section,
.page-slot-games-new-releases__faq-section {
    padding: 60px 0;
    background-color: var(--color-card-bg);
}

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

.page-slot-games-new-releases__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

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

.page-slot-games-new-releases__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games-new-releases__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.page-slot-games-new-releases__card-title {
    font-size: 24px;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-slot-games-new-releases__card-title a {
    color: var(--color-gold);
    text-decoration: none;
}

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

.page-slot-games-new-releases__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games-new-releases__list-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-new-releases__list-item strong {
    color: var(--color-gold);
    font-weight: 700;
}

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

.page-slot-games-new-releases__product-card {
    background: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-slot-games-new-releases__product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games-new-releases__product-image {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
    display: block;
}

.page-slot-games-new-releases__product-info {
    padding: 20px;
    text-align: center;
}

.page-slot-games-new-releases__product-info .page-slot-games-new-releases__card-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.page-slot-games-new-releases__btn-play {
    display: inline-block;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-slot-games-new-releases__btn-play:hover {
    filter: brightness(1.1);
}

.page-slot-games-new-releases__button-group {
    margin-top: 40px;
}

/* FAQ Styles */
details.page-slot-games-new-releases__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-card-bg);
}
details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__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;
  color: var(--color-text-main);
}
details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question:hover {
  background: var(--color-deep-green);
}
.page-slot-games-new-releases__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--color-text-main);
}
.page-slot-games-new-releases__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games-new-releases__faq-item .page-slot-games-new-releases__faq-answer {
  padding: 0 20px 20px;
  background: var(--color-background);
  border-radius: 0 0 5px 5px;
  color: var(--color-text-secondary);
}

/* General image responsiveness */
.page-slot-games-new-releases img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-slot-games-new-releases__hero-content {
        margin-top: -80px;
        padding: 30px 20px;
    }
    .page-slot-games-new-releases__main-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-slot-games-new-releases__hero-description {
        font-size: 18px;
    }
    .page-slot-games-new-releases__btn-primary,
    .page-slot-games-new-releases__btn-secondary {
        padding: 12px 25px;
        font-size: 17px;
        min-width: 160px;
    }
    .page-slot-games-new-releases__features-grid,
    .page-slot-games-new-releases__products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-slot-games-new-releases__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
    .page-slot-games-new-releases__text-block {
        font-size: 16px;
    }
    .page-slot-games-new-releases__list-item {
        font-size: 17px;
        padding: 18px 20px;
    }
    .page-slot-games-new-releases__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-slot-games-new-releases__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-slot-games-new-releases__hero-section {
        padding-top: 10px;
    }
    .page-slot-games-new-releases__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games-new-releases__hero-content {
        margin-top: 20px; /* Adjust margin for mobile */
        padding: 25px 15px;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.7);
    }
    .page-slot-games-new-releases__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 10px;
    }
    .page-slot-games-new-releases__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-slot-games-new-releases__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games-new-releases__btn-primary,
    .page-slot-games-new-releases__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
        min-width: unset;
    }

    /* 产品展示图区域 */
    .page-slot-games-new-releases__products-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        gap: 20px;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games-new-releases__product-card {
        margin-bottom: 0;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-slot-games-new-releases__section-title {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 25px;
    }
    .page-slot-games-new-releases__text-block {
        font-size: 15px;
        text-align: left;
    }
    .page-slot-games-new-releases__introduction-section,
    .page-slot-games-new-releases__features-section,
    .page-slot-games-new-releases__how-to-play-section,
    .page-slot-games-new-releases__latest-releases-section,
    .page-slot-games-new-releases__promo-section,
    .page-slot-games-new-releases__faq-section,
    .page-slot-games-new-releases__cta-bottom-section {
        padding: 40px 0;
    }

    /* 通用图片与容器 */
    .page-slot-games-new-releases img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games-new-releases__feature-card,
    .page-slot-games-new-releases__product-card {
        padding: 20px;
    }
    .page-slot-games-new-releases__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-slot-games-new-releases__card-title {
        font-size: 20px;
    }
    .page-slot-games-new-releases__list-item {
        font-size: 16px;
        padding: 15px 18px;
    }
    
    /* FAQ */
    details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question { padding: 15px; }
    .page-slot-games-new-releases__faq-qtext { font-size: 15px; }
    details.page-slot-games-new-releases__faq-item .page-slot-games-new-releases__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
    .page-slot-games-new-releases__products-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
}