/* style/resources-how-to-play-sun-52-club.css */
:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #000080; /* Xanh navy */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f5f5f5;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-resources-how-to-play-sun-52-club {
    color: var(--text-light); /* Assuming --dark-bg-1 is dark */
    background-color: var(--dark-bg-1);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-resources-how-to-play-sun-52-club__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-how-to-play-sun-52-club__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Desktop padding-top to clear fixed header */
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000040 100%);
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.page-resources-how-to-play-sun-52-club__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-resources-how-to-play-sun-52-club__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.page-resources-how-to-play-sun-52-club__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-how-to-play-sun-52-club__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-play-sun-52-club__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-play-sun-52-club__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-play-sun-52-club__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-play-sun-52-club__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-play-sun-52-club__section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
    color: var(--text-light);
}

.page-resources-how-to-play-sun-52-club__section:nth-of-type(even) {
    background-color: #1a1a1a;
}

.page-resources-how-to-play-sun-52-club__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources-how-to-play-sun-52-club__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: #cccccc;
}

.page-resources-how-to-play-sun-52-club__content-block {
    margin-top: 40px;
}

.page-resources-how-to-play-sun-52-club__feature-grid,
.page-resources-how-to-play-sun-52-club__game-grid,
.page-resources-how-to-play-sun-52-club__promo-grid,
.page-resources-how-to-play-sun-52-club__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-play-sun-52-club__card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-resources-how-to-play-sun-52-club__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-play-sun-52-club__feature-icon,
.page-resources-how-to-play-sun-52-club__security-icon {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.page-resources-how-to-play-sun-52-club__feature-title,
.page-resources-how-to-play-sun-52-club__game-title,
.page-resources-how-to-play-sun-52-club__promo-title,
.page-resources-how-to-play-sun-52-club__security-title,
.page-resources-how-to-play-sun-52-club__step-title,
.page-resources-how-to-play-sun-52-club__block-title,
.page-resources-how-to-play-sun-52-club__support-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-how-to-play-sun-52-club__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-how-to-play-sun-52-club__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-resources-how-to-play-sun-52-club__step-item .page-resources-how-to-play-sun-52-club__btn-primary {
    margin-top: 20px;
    width: auto;
    padding: 10px 25px;
    font-size: 1em;
}

.page-resources-how-to-play-sun-52-club__transaction-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-how-to-play-sun-52-club__transaction-block ul,
.page-resources-how-to-play-sun-52-club__important-notes ul,
.page-resources-how-to-play-sun-52-club__support-item ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 20px;
}

.page-resources-how-to-play-sun-52-club__transaction-block li,
.page-resources-how-to-play-sun-52-club__important-notes li,
.page-resources-how-to-play-sun-52-club__support-item li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-resources-how-to-play-sun-52-club__transaction-block li::before,
.page-resources-how-to-play-sun-52-club__important-notes li::before,
.page-resources-how-to-play-sun-52-club__support-item li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.5;
}

.page-resources-how-to-play-sun-52-club__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-how-to-play-sun-52-club__contact-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-resources-how-to-play-sun-52-club__faq-section {
    background-color: #1a1a1a;
}

.page-resources-how-to-play-sun-52-club__faq-list {
    margin-top: 40px;
}

.page-resources-how-to-play-sun-52-club__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-play-sun-52-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-resources-how-to-play-sun-52-club__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-play-sun-52-club__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    pointer-events: none;
}

.page-resources-how-to-play-sun-52-club__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-resources-how-to-play-sun-52-club__faq-item.active .page-resources-how-to-play-sun-52-club__faq-toggle {
    transform: rotate(45deg);
    color: var(--text-light);
}

.page-resources-how-to-play-sun-52-club__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #cccccc;
    text-align: left;
}

.page-resources-how-to-play-sun-52-club__faq-item.active .page-resources-how-to-play-sun-52-club__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
}

.page-resources-how-to-play-sun-52-club__faq-answer p {
    margin: 0;
    padding: 0;
}

.page-resources-how-to-play-sun-52-club__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-how-to-play-sun-52-club__inline-link:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: underline;
}

.page-resources-how-to-play-sun-52-club__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-play-sun-52-club__main-title {
        font-size: 2.8em;
    }

    .page-resources-how-to-play-sun-52-club__section-title {
        font-size: 2em;
    }

    .page-resources-how-to-play-sun-52-club__feature-grid,
    .page-resources-how-to-play-sun-52-club__game-grid,
    .page-resources-how-to-play-sun-52-club__promo-grid,
    .page-resources-how-to-play-sun-52-club__security-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-play-sun-52-club__hero-section {
        padding: 100px 0 60px; /* Mobile padding-top to clear fixed header */
    }

    .page-resources-how-to-play-sun-52-club__main-title {
        font-size: 2.2em;
        line-height: 1.3;
    }

    .page-resources-how-to-play-sun-52-club__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-resources-how-to-play-sun-52-club__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-how-to-play-sun-52-club__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-how-to-play-sun-52-club__section {
        padding: 60px 0;
    }

    .page-resources-how-to-play-sun-52-club__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-resources-how-to-play-sun-52-club__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-resources-how-to-play-sun-52-club__container {
        padding: 0 15px;
    }

    .page-resources-how-to-play-sun-52-club__feature-grid,
    .page-resources-how-to-play-sun-52-club__game-grid,
    .page-resources-how-to-play-sun-52-club__promo-grid,
    .page-resources-how-to-play-sun-52-club__security-features,
    .page-resources-how-to-play-sun-52-club__step-by-step,
    .page-resources-how-to-play-sun-52-club__transaction-content,
    .page-resources-how-to-play-sun-52-club__support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-how-to-play-sun-52-club__card {
        padding: 20px;
    }

    .page-resources-how-to-play-sun-52-club__feature-icon,
    .page-resources-how-to-play-sun-52-club__security-icon {
        width: 100px;
    }

    .page-resources-how-to-play-sun-52-club__feature-title,
    .page-resources-how-to-play-sun-52-club__game-title,
    .page-resources-how-to-play-sun-52-club__promo-title,
    .page-resources-how-to-play-sun-52-club__security-title,
    .page-resources-how-to-play-sun-52-club__step-title,
    .page-resources-how-to-play-sun-52-club__block-title,
    .page-resources-how-to-play-sun-52-club__support-title {
        font-size: 1.3em;
    }

    .page-resources-how-to-play-sun-52-club__game-image {
        height: 150px;
    }

    .page-resources-how-to-play-sun-52-club img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-how-to-play-sun-52-club__section,
    .page-resources-how-to-play-sun-52-club__card,
    .page-resources-how-to-play-sun-52-club__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-play-sun-52-club__faq-question {
        padding: 15px;
    }

    .page-resources-how-to-play-sun-52-club__faq-question h3 {
        font-size: 1em;
    }

    .page-resources-how-to-play-sun-52-club__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    .page-resources-how-to-play-sun-52-club__faq-answer {
        padding: 0 15px;
    }

    .page-resources-how-to-play-sun-52-club__faq-item.active .page-resources-how-to-play-sun-52-club__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-play-sun-52-club__main-title {
        font-size: 1.8em;
    }

    .page-resources-how-to-play-sun-52-club__section-title {
        font-size: 1.5em;
    }

    .page-resources-how-to-play-sun-52-club__hero-section {
        padding: 80px 0 40px;
    }
}