/* Base styles for page-slot-games */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #F3F8FF; /* Text Main */
    background-color: var(--deep-navy-color); /* Inherited from shared.css body */
}

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

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #F2C14E 50%, transparent 100%); /* Gold */
    border-radius: 2px;
}

.page-slot-games__content-area {
    line-height: 1.8;
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}

.page-slot-games__content-area p {
    margin-bottom: 15px;
}

.page-slot-games__content-area strong {
    color: #F3F8FF;
}

.page-slot-games__content-area a {
    color: #4FA8FF; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__content-area a:hover {
    color: #F2C14E; /* Gold */
    text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: #F3F8FF; /* Text Main */
    border: 2px solid #2B73F6;
    box-shadow: 0 4px 15px rgba(29, 95, 209, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: rgba(43, 115, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 95, 209, 0.4);
}

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

.page-slot-games__game-card {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 168, 255, 0.5);
}

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

.page-slot-games__game-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-card-description {
    font-size: 15px;
    color: #AFC4E8; /* Text Secondary */
    padding: 0 20px;
}

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

.page-slot-games__benefit-item {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-slot-games__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__benefit-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-slot-games__benefit-item p {
    font-size: 15px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 0;
}

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

/* Guide Section */
.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: guide-counter;
}

.page-slot-games__guide-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}

.page-slot-games__guide-list li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #1D5FD1; /* Auxiliary color */
    color: #F3F8FF; /* Text Main */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Strategy Section */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__strategy-list li {
    background-color: #10233F; /* Card BG */
    border-left: 5px solid #F2C14E; /* Gold */
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__strategy-list li:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
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;
  color: #F3F8FF; /* Text Main */
}
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: #1B3357; /* Divider */
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  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: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 15px;
}

.page-slot-games__faq-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 40px auto 0;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Call to Action Section */
.page-slot-games__call-to-action {
    background-color: #113B7A;
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__call-to-action .page-slot-games__section-title {
    color: #F3F8FF; /* Text Main */
}

.page-slot-games__call-to-action .page-slot-games__hero-description {
    font-size: 18px;
    margin-bottom: 40px;
}

.page-slot-games__copyright-info {
    padding: 20px 0;
    text-align: center;
    background-color: #08162B; /* Deep Navy */
    border-top: 1px solid #1B3357; /* Divider */
}

.page-slot-games__copyright-text {
    font-size: 14px;
    color: #AFC4E8; /* Text Secondary */
    margin: 0;
}

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

.page-slot-games__section,
.page-slot-games__container,
.page-slot-games__game-card,
.page-slot-games__benefit-item,
.page-slot-games__faq-item,
.page-slot-games__cta-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries */

/* For screens smaller than 1024px (tablet landscape and below) */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 42px;
    }

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

    .page-slot-games__hero-description {
        font-size: 17px;
    }

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

    .page-slot-games__benefit-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* For screens smaller than 849px (specific for hero image object-fit) */
@media (max-width: 849px) {
    .page-slot-games__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
}

/* For screens smaller than 768px (mobile) */
@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }

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

    /* HERO 主图区域 */
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* Small top padding, prevent double offset */
        padding-bottom: 40px;
        min-height: 60vh;
    }

    .page-slot-games__hero-image-wrapper {
        height: 100%;
    }

    .page-slot-games__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important; /* Reset aspect ratio */
    }

    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* 按钮与按钮容器 */
    .page-slot-games__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

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

    .page-slot-games__content-area {
        font-size: 15px;
    }

    /* 产品展示图区域 */
    .page-slot-games__game-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        gap: 20px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-slot-games__game-card-image {
        height: 160px;
    }

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

    .page-slot-games__benefit-list {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }

    .page-slot-games__benefit-item {
        padding: 25px;
    }

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

    .page-slot-games__guide-list li {
        padding-left: 45px;
        margin-bottom: 20px;
    }

    .page-slot-games__guide-list li::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .page-slot-games__strategy-list li {
        padding: 15px 20px;
    }

    /* 通用图片与容器 */
    .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__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Section */
    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;
        height: 24px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-slot-games__faq-image {
        margin-top: 25px;
    }

    .page-slot-games__call-to-action {
        padding: 50px 0;
    }
}