/* style/resources-sunwin-sic-bo-gameplay-tips.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-sunwin-sic-bo-gameplay-tips {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #0a0a0a; /* Ensure body background is respected */
}

/* Hero Section */
.page-resources-sunwin-sic-bo-gameplay-tips__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 600px;
    overflow: hidden;
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
}

.page-resources-sunwin-sic-bo-gameplay-tips__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-resources-sunwin-sic-bo-gameplay-tips__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dimmed to make text readable */
}

.page-resources-sunwin-sic-bo-gameplay-tips__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-resources-sunwin-sic-bo-gameplay-tips__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom font color for H1 as per brand guide (Register/Login font) */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-sunwin-sic-bo-gameplay-tips__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-resources-sunwin-sic-bo-gameplay-tips__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Button Styles */
.page-resources-sunwin-sic-bo-gameplay-tips__btn-primary,
.page-resources-sunwin-sic-bo-gameplay-tips__btn-secondary,
.page-resources-sunwin-sic-bo-gameplay-tips a[class*="button"],
.page-resources-sunwin-sic-bo-gameplay-tips a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-sunwin-sic-bo-gameplay-tips__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-sunwin-sic-bo-gameplay-tips__btn-primary:hover {
    background-color: #e02a2a;
    transform: translateY(-3px);
}

.page-resources-sunwin-sic-bo-gameplay-tips__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-sunwin-sic-bo-gameplay-tips__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Content Area */
.page-resources-sunwin-sic-bo-gameplay-tips__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #0a0a0a; /* Ensure content area background matches body for consistency */
    color: #ffffff;
}

.page-resources-sunwin-sic-bo-gameplay-tips__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-sunwin-sic-bo-gameplay-tips__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFFF00; /* Accent for title underline */
    border-radius: 2px;
}

.page-resources-sunwin-sic-bo-gameplay-tips__sub-section-title {
    font-size: 1.8em;
    color: #017439; /* Primary brand color for sub-section titles */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-sunwin-sic-bo-gameplay-tips__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff; /* Light text on dark background */
}

.page-resources-sunwin-sic-bo-gameplay-tips__paragraph a {
    color: #FFFF00; /* Link color */
    text-decoration: underline;
}

.page-resources-sunwin-sic-bo-gameplay-tips__paragraph a:hover {
    color: #e02a2a; /* Link hover color */
}

.page-resources-sunwin-sic-bo-gameplay-tips__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-sunwin-sic-bo-gameplay-tips__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-sunwin-sic-bo-gameplay-tips__list-item strong {
    color: #FFFF00;
}

/* Step-by-step cards */
.page-resources-sunwin-sic-bo-gameplay-tips__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-sunwin-sic-bo-gameplay-tips__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-resources-sunwin-sic-bo-gameplay-tips__step-card:hover {
    transform: translateY(-5px);
}

.page-resources-sunwin-sic-bo-gameplay-tips__step-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-resources-sunwin-sic-bo-gameplay-tips__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Image container */
.page-resources-sunwin-sic-bo-gameplay-tips__image-container {
    text-align: center;
    margin: 40px 0;
}

.page-resources-sunwin-sic-bo-gameplay-tips__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure no extra space below image */
    margin: 0 auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Video Section */
.page-resources-sunwin-sic-bo-gameplay-tips__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-sunwin-sic-bo-gameplay-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-resources-sunwin-sic-bo-gameplay-tips__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5em;
    text-align: center;
    transition: background-color 0.3s ease;
    z-index: 2;
    pointer-events: none; /* Allow click to pass through to video/link */
}

.page-resources-sunwin-sic-bo-gameplay-tips__video-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.page-resources-sunwin-sic-bo-gameplay-tips__video-text {
    margin-bottom: 20px;
    color: #ffffff;
    pointer-events: none;
}

.page-resources-sunwin-sic-bo-gameplay-tips__video-button {
    pointer-events: auto; /* Make button clickable */
}

/* FAQ Section */
.page-resources-sunwin-sic-bo-gameplay-tips__faq-list {
    margin-top: 40px;
}