/* Base Styles */
.page-card-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

.page-card-games__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

.page-card-games__dark-section {
    background-color: #111111; /* Card BG */
    color: #FFF6D6;
}

.page-card-games__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #F2C14E; /* Main Color */
    line-height: 1.2;
}

.page-card-games__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    color: #FFD36B; /* Glow */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-card-games__article-body p {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: justify;
}

.page-card-games__article-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-card-games__article-body li {
    font-size: 17px;
    margin-bottom: 10px;
}

.page-card-games__text-link {
    color: #FFD36B;
    text-decoration: underline;
}

.page-card-games__text-link:hover {
    color: #F2C14E;
}

/* Buttons */
.page-card-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-card-games__btn-primary,
.page-card-games__btn-secondary,
.page-card-games__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-card-games__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: 2px solid transparent;
}

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

.page-card-games__btn-secondary {
    background: #111111;
    color: #F2C14E;
    border: 2px solid #F2C14E;
}

.page-card-games__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
}

.page-card-games__btn-play {
    padding: 8px 20px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
    font-size: 15px;
}

.page-card-games__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-card-games__btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

/* Hero Section */
.page-card-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Specific top padding */
    background-color: #0A0A0A;
}

.page-card-games__hero-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

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

.page-card-games__hero-content {
    padding: 40px 15px;
    max-width: 900px;
    z-index: 1;
}

.page-card-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #F2C14E;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.page-card-games__hero-description {
    font-size: 19px;
    color: #FFD36B;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Games List Section */
.page-card-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-card-games__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-card-games__game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-card-games__game-card-title {
    font-size: 22px;
    color: #F2C14E;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-card-games__game-card-title a {
    color: inherit;
    text-decoration: none;
}

.page-card-games__game-card-title a:hover {
    text-decoration: underline;
}

.page-card-games__game-card-text {
    font-size: 16px;
    color: #FFF6D6;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-card-games__more-games-cta {
    text-align: center;
    margin-top: 40px;
}

/* Benefits Section */
.page-card-games__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-card-games__benefits-list li {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
}

.page-card-games__benefits-item-title {
    font-size: 24px;
    color: #FFD36B;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Guide Section */
.page-card-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-card-games__guide-step {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding-bottom: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-card-games__guide-step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
    display: block;
}

.page-card-games__guide-step-title {
    font-size: 24px;
    color: #F2C14E;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-card-games__guide-step p {
    font-size: 16px;
    color: #FFF6D6;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-card-games__promotions-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-card-games__promotions-list li {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
}

.page-card-games__promotions-item-title {
    font-size: 24px;
    color: #FFD36B;
    margin-bottom: 10px;
    font-weight: 600;
}

/* FAQ Section */
details.page-card-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-card-games__faq-item summary.page-card-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-card-games__faq-item summary.page-card-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-card-games__faq-item summary.page-card-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-card-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-card-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-card-games__faq-item .page-card-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
}
.page-card-games__faq-answer p {
    font-size: 16px;
    margin-bottom: 0;
}

/* Conclusion Section */
.page-card-games__conclusion-section {
    text-align: center;
    padding-bottom: 60px;
}

.page-card-games__final-cta {
    margin-top: 40px;
}

/* General Image Styling */
.page-card-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-card-games__article-body {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-card-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-card-games__hero-description {
        font-size: 18px;
    }

    .page-card-games__section-title {
        font-size: 32px;
    }

    .page-card-games__benefits-list,
    .page-card-games__guide-steps,
    .page-card-games__promotions-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-card-games__container {
        padding: 15px;
    }

    /* HERO 主图区域 */
    .page-card-games__hero-section {
        padding-top: 10px; /* 約 10px 頂距 */
    }
    .page-card-games__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        height: auto !important;
        width: 100% !important;
    }
    .page-card-games__hero-content {
        padding: 30px 10px;
    }
    .page-card-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-card-games__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 产品展示图区域 */
    .page-card-games__games-grid {
        grid-template-columns: 1fr 1fr; /* 2 列 */
        gap: 15px;
        overflow-x: hidden;
    }
    .page-card-games__games-list-section {
        overflow-x: hidden;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-card-games__section-title {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .page-card-games__section-description {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    .page-card-games__article-body {
        padding: 0 10px;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-card-games__article-body p,
    .page-card-games__article-body li {
        font-size: 16px;
        text-align: left;
    }
    .page-card-games__benefits-list,
    .page-card-games__guide-steps,
    .page-card-games__promotions-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-card-games__benefits-item-title,
    .page-card-games__guide-step-title,
    .page-card-games__promotions-item-title {
        font-size: 20px;
    }

    /* 通用图片与容器 */
    .page-card-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-card-games__section,
    .page-card-games__card,
    .page-card-games__container,
    .page-card-games__games-list-section,
    .page-card-games__intro-section,
    .page-card-games__benefits-section,
    .page-card-games__guide-section,
    .page-card-games__promotions-section,
    .page-card-games__faq-section,
    .page-card-games__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-card-games__game-card-image {
        height: 150px; /* Adjust height for mobile cards */
    }
    .page-card-games__guide-step-image {
        height: 120px;
    }

    /* 按钮与按钮容器 */
    .page-card-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-card-games__btn-primary,
    .page-card-games__btn-secondary,
    .page-card-games__btn-play,
    .page-card-games a[class*="button"],
    .page-card-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-card-games__cta-buttons,
    .page-card-games__button-group,
    .page-card-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* FAQ */
    details.page-card-games__faq-item summary.page-card-games__faq-question { padding: 15px; }
    .page-card-games__faq-qtext { font-size: 15px; }
    details.page-card-games__faq-item .page-card-games__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
    .page-card-games__games-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .page-card-games__hero-image {
        max-height: 400px;
    }
}