/* style/index-user-guide.css */

/* Base styles for the page content */
.page-index-user-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* Light background for the main content area */
}

/* Container for sections */
.page-index-user-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section general styling */
.page-index-user-guide__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #ffffff; /* Default section background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-user-guide__section--intro {
    background-color: #ffffff;
    color: #333333;
}

.page-index-user-guide__section--deposit {
    background-color: var(--secondary-color); /* #000080 */
    color: #ffffff;
}

.page-index-user-guide__section--deposit .page-index-user-guide__feature-title {
    color: var(--primary-color); /* #FFD700 */
}

.page-index-user-guide__section--promotions {
    background-color: #fdfae6; /* A lighter shade of primary for background */
    color: #333333;
}

.page-index-user-guide__section--safety {
    background-color: #ffffff;
    color: #333333;
}

.page-index-user-guide__section--conclusion {
    background-color: var(--secondary-color); /* #000080 */
    color: #ffffff;
    text-align: center;
}

/* Headings */
.page-index-user-guide__heading {
    font-size: 2.5em;
    color: var(--secondary-color); /* #000080 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-user-guide__section--deposit .page-index-user-guide__heading,
.page-index-user-guide__section--conclusion .page-index-user-guide__heading {
    color: var(--primary-color); /* #FFD700 */
}

.page-index-user-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-index-user-guide__paragraph a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-user-guide__paragraph a:hover {
    text-decoration: underline;
}

/* Highlight for keywords */
.page-index-user-guide .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* HERO Section */
.page-index-user-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand colors for gradient */
    color: #ffffff;
    overflow: hidden; /* Ensure no overflow from images */
}

.page-index-user-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 1; /* Ensure content is above image if image is background-like */
}

.page-index-user-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-user-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px; /* Ensure image itself has border-radius */
    min-width: 200px;
    min-height: 200px;
}

.page-index-user-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.page-index-user-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color); /* #FFD700 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 900;
}

.page-index-user-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index-user-guide__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
}

.page-index-user-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
}

.page-index-user-guide__cta-button--primary {
    background: var(--primary-color); /* #FFD700 */
    color: var(--secondary-color); /* #000080 */
    border: 2px solid var(--primary-color);
}

.page-index-user-guide__cta-button--primary:hover {
    background: #e6c200; /* Slightly darker gold */
    color: #ffffff;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-user-guide__cta-button--secondary {
    background: var(--secondary-color); /* #000080 */
    color: var(--primary-color); /* #FFD700 */
    border: 2px solid var(--primary-color);
}

.page-index-user-guide__cta-button--secondary:hover {
    background: #000066; /* Slightly darker navy */
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-user-guide__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Step-by-Step Grid */
.page-index-user-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-user-guide__step-item {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-user-guide__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-user-guide__step-item img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    min-width: 200px;
    min-height: 200px;
}

.page-index-user-guide__step-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-index-user-guide__step-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}