/* style/index-security-guarantee.css */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --card-bg-color: #10233F;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-index-security-guarantee {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Body background is dark, so main text is light */
    background-color: var(--deep-navy);
}

.page-index-security-guarantee__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-index-security-guarantee__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-index-security-guarantee__description {
    font-size: 18px;
    color: var(--text-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-security-guarantee__card {
    background: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-index-security-guarantee__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-security-guarantee__card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-index-security-guarantee__card h3 {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-index-security-guarantee__card p {
    font-size: 16px;
    color: var(--text-secondary-color);
}

.page-index-security-guarantee__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-security-guarantee__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(43, 115, 246, 0.4);
}

.page-index-security-guarantee__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: var(--gold-color);
    text-decoration: none;
    border: 2px solid var(--gold-color);
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-security-guarantee__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.2);
}

/* HERO Section */
.page-index-security-guarantee__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, header offset handled by shared body */
    background-color: var(--deep-navy);
}

.page-index-security-guarantee__hero-container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-security-guarantee__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-security-guarantee__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-security-guarantee__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-index-security-guarantee__hero-content h1 {
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-index-security-guarantee__hero-content p {
    font-size: 20px;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-index-security-guarantee__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-security-guarantee__cta-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-index-security-guarantee__intro-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-index-security-guarantee__feature-item h3 {
    color: var(--gold-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.page-index-security-guarantee__feature-item p {
    color: var(--text-secondary-color);
    font-size: 15px;
}

/* Quick Access Section */
.page-index-security-guarantee__quick-access-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-index-security-guarantee__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Game Showcase Section */
.page-index-security-guarantee__game-showcase-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-index-security-guarantee__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-security-guarantee__game-card {
    text-align: center;
}

.page-index-security-guarantee__game-card h3 {
    color: var(--gold-color);
    font-size: 22px;
}

.page-index-security-guarantee__game-card p {
    color: var(--text-secondary-color);
    font-size: 15px;
    margin-bottom: 20px;
}

.page-index-security-guarantee__game-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-security-guarantee__game-link:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* Promotions Section */
.page-index-security-guarantee__promotions-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

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

.page-index-security-guarantee__promo-card {
    text-align: center;
}

.page-index-security-guarantee__promo-card h3 {
    color: var(--gold-color);
    font-size: 22px;
}

.page-index-security-guarantee__promo-card p {
    color: var(--text-secondary-color);
    font-size: 15px;
    margin-bottom: 20px;
}

.page-index-security-guarantee__promo-card .page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__promo-card .page-index-security-guarantee__btn-secondary {
    margin-top: 15px;
}

/* Security & Customer Section */
.page-index-security-guarantee__security-customer-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-index-security-guarantee__security-item h3 {
    color: var(--gold-color);
    font-size: 22px;
}

.page-index-security-guarantee__security-item p {
    color: var(--text-secondary-color);
    font-size: 15px;
}

/* FAQ Section */
.page-index-security-guarantee__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

details.page-index-security-guarantee__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-index-security-guarantee__faq-item summary.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--gold-color);
  font-weight: bold;
}
details.page-index-security-guarantee__faq-item summary.page-index-security-guarantee__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index-security-guarantee__faq-item summary.page-index-security-guarantee__faq-question:hover {
  background: rgba(var(--primary-color), 0.2);
}
.page-index-security-guarantee__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-index-security-guarantee__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-index-security-guarantee__faq-item .page-index-security-guarantee__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--deep-navy), 0.5);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary-color);
  font-size: 16px;
}

/* Blog Section */
.page-index-security-guarantee__blog-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-index-security-guarantee__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-security-guarantee__blog-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.page-index-security-guarantee__blog-card h3 a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-security-guarantee__blog-card h3 a:hover {
    color: var(--glow-color);
}

.page-index-security-guarantee__blog-card p {
    color: var(--text-secondary-color);
    font-size: 15px;
}

.page-index-security-guarantee__view-all {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-security-guarantee__section-title {
        font-size: 32px;
    }
    .page-index-security-guarantee__description {
        font-size: 16px;
    }
    .page-index-security-guarantee__hero-content h1 {
        font-size: 40px;
    }
    .page-index-security-guarantee__hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-index-security-guarantee {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-security-guarantee__container {
        padding: 30px 15px;
    }
    .page-index-security-guarantee__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-index-security-guarantee__description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-index-security-guarantee__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-security-guarantee__hero-image img {
        border-radius: 8px;
    }
    .page-index-security-guarantee__hero-content h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .page-index-security-guarantee__hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-index-security-guarantee__cta-button {
        padding: 14px 35px;
        font-size: 17px;
        border-radius: 8px;
    }
    .page-index-security-guarantee__features-grid,
    .page-index-security-guarantee__game-grid,
    .page-index-security-guarantee__promo-grid,
    .page-index-security-guarantee__security-grid,
    .page-index-security-guarantee__blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-index-security-guarantee__card {
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-index-security-guarantee__card h3 {
        font-size: 20px;
    }
    .page-index-security-guarantee__card p {
        font-size: 14px;
    }
    .page-index-security-guarantee__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-security-guarantee__btn-primary,
    .page-index-security-guarantee__btn-secondary,
    .page-index-security-guarantee a[class*="button"],
    .page-index-security-guarantee 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-index-security-guarantee__game-link {
        padding: 10px 20px;
        font-size: 15px;
    }
    details.page-index-security-guarantee__faq-item summary.page-index-security-guarantee__faq-question { padding: 15px; }
    .page-index-security-guarantee__faq-qtext { font-size: 16px; }
    .page-index-security-guarantee__faq-toggle { font-size: 24px; width: 24px; }
    details.page-index-security-guarantee__faq-item .page-index-security-guarantee__faq-answer {
        padding: 0 15px 15px;
    }
    .page-index-security-guarantee img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-security-guarantee__intro-section,
    .page-index-security-guarantee__quick-access-section,
    .page-index-security-guarantee__game-showcase-section,
    .page-index-security-guarantee__promotions-section,
    .page-index-security-guarantee__security-customer-section,
    .page-index-security-guarantee__faq-section,
    .page-index-security-guarantee__blog-section {
        padding: 40px 0;
    }
}