/* style/index-brand-story.css */

/* Base styles for the page content */
.page-index-brand-story {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

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

.page-index-brand-story__section-title {
    font-size: 2.5em;
    color: #ffffff; /* White for dark sections */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-brand-story__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for better readability on dark */
    text-align: justify;
}

/* Hero Section */
.page-index-brand-story__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

.page-index-brand-story__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-index-brand-story__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-index-brand-story__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-index-brand-story__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
}

.page-index-brand-story__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-index-brand-story__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-index-brand-story__btn-primary,
.page-index-brand-story__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-index-brand-story__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-index-brand-story__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #ffffff;
}

.page-index-brand-story__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-index-brand-story__btn-secondary:hover {
    background-color: #ffffff;
    color: #C30808; /* Register/Login color */
    border-color: #ffffff;
}

/* Section specific styles */
.page-index-brand-story__light-bg .page-index-brand-story__section-title,
.page-index-brand-story__light-bg .page-index-brand-story__paragraph,
.page-index-brand-story__light-bg .page-index-brand-story__history-year,
.page-index-brand-story__light-bg .page-index-brand-story__commitment-title,
.page-index-brand-story__light-bg .page-index-brand-story__card-title a,
.page-index-brand-story__light-bg .page-index-brand-story__vision-title,
.page-index-brand-story__light-bg .page-index-brand-story__faq-question,
.page-index-brand-story__light-bg .page-index-brand-story__faq-title,
.page-index-brand-story__light-bg .page-index-brand-story__faq-toggle,
.page-index-brand-story__light-bg .page-index-brand-story__faq-answer p {
    color: #333333; /* Dark text for light background */
}

.page-index-brand-story__light-bg {
    background-color: #ffffff; /* White background for these sections */
}

.page-index-brand-story__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff; /* White text for dark background */
}

/* Image content */
.page-index-brand-story__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

/* History Section */
.page-index-brand-story__history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-brand-story__history-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-index-brand-story__history-year {
    font-size: 1.5em;
    color: #FFFF00; /* Highlight year */
    margin-bottom: 15px;
    font-weight: bold;
}

/* Philosophy Section */
.page-index-brand-story__commitment-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-brand-story__commitment-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-brand-story__commitment-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Ecosystem Section - Game Grid */
.page-index-brand-story__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-brand-story__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-index-brand-story__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be object-fit */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-index-brand-story__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffffff; /* Default for dark background */
}

.page-index-brand-story__card-title a {
    color: #FFFF00; /* Highlight link */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-brand-story__card-title a:hover {
    color: #ffffff;
}

.page-index-brand-story__game-card .page-index-brand-story__paragraph {
    padding: 0 15px;
    font-size: 0.95em;
    color: #f0f0f0;
    text-align: center;
}

/* Team Section */
/* No specific styles beyond general paragraph/image */

/* Future Section */
.page-index-brand-story__future-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-brand-story__vision-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-index-brand-story__vision-title {
    font-size: 1.4em;
    color: #FFFF00; /* Highlight title */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-brand-story__cta-buttons--center {
    margin-top: 40px;
}

/* FAQ Section */
.page-index-brand-story__faq-list {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.page-index-brand-story__faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.page-index-brand-story__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    transition: background-color 0.3s ease;
}

.page-index-brand-story__faq-question:hover {
    background-color: #f5f5f5;
}

.page-index-brand-story__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #333333;
}

.page-index-brand-story__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}