/* style/about.css */

/* Core Styles for .page-about */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
    background-color: #26A9E0; /* Brand main color for hero */
    background-image: linear-gradient(135deg, #26A9E0 0%, #007bff 100%); /* Subtle gradient */
    overflow: hidden;
}

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

.page-about__hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

.page-about__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
    background-color: #d16e00;
    border-color: #d16e00;
}

.page-about__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand main color */
    border: 2px solid #26A9E0;
    margin-left: 20px;
}

.page-about__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1a8ccf;
    border-color: #1a8ccf;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Content Sections */
.page-about__intro-section,
.page-about__games-section,
.page-about__promotions-section,
.page-about__future-section,
.page-about__cta-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

.page-about__values-section,
.page-about__security-section,
.page-about__support-section,
.page-about__faq-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand main color for dark sections */
    color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title {
    color: #ffffff;
}

.page-about__dark-bg .page-about__section-description {
    color: #f0f0f0;
}

.page-about__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-about__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-about__text-block a {
    color: #26A9E0; /* Default link color for light background */
    text-decoration: underline;
}

.page-about__dark-bg .page-about__text-block a {
    color: #f0f0f0; /* Link color for dark background */
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-about__value-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-about__value-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}

.page-about__value-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Games Section */
.page-about__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-about__game-card:hover {
    transform: translateY(-5px);
}

.page-about__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be overridden by responsive */
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-about__game-title {
    font-size: 1.3em;
    margin: 20px 15px 10px 15px;
    color: #26A9E0;
    font-weight: bold;
}

.page-about__game-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__game-title a:hover {
    text-decoration: underline;
}

.page-about__game-card p {
    font-size: 0.9em;
    color: #666666;
    padding: 0 15px 20px 15px;
    line-height: 1.6;
}

/* Promotions Section */
.page-about__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}