/* style/about.css */
.page-about {
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    min-height: 100vh; /* Ensure page takes full viewport height */
}

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

.page-about__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 500px; /* Minimum height for hero section */
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(0, 0, 0, 0.9));
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

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

.page-about__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-about__intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-about__story-section {
    padding: 80px 20px;
    background-color: #1A1A1A;
}

.page-about__story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__story-image-wrapper {
    text-align: center;
}

.page-about__story-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__story-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-about__why-choose-section {
    padding: 80px 20px;
    background-color: #0F0F0F;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__feature-card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-about__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-about__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #c0c0c0;
    flex-grow: 1;
}

.page-about__cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.page-about__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-about__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-about__responsible-gaming-section {
    padding: 80px 20px;
    background-color: #1A1A1A;
}

.page-about__content-flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__content-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-about__link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-about__link:hover {
    text-decoration: underline;
}

.page-about__responsible-gaming-image-wrapper {
    text-align: center;
}

.page-about__responsible-gaming-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__cta-final-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #0F0F0F;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
    .page-about__hero-title {
        font-size: 4.5em;
    }

    .page-about__hero-description {
        font-size: 1.3em;
    }

    .page-about__story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__story-image-wrapper {
        order: 2;
    }

    .page-about__story-content {
        order: 1;
    }

    .page-about__content-flex {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__intro-text {
        font-size: 0.9em;
    }

    .page-about__feature-card {
        padding: 20px;
    }

    .page-about__feature-card p {
        font-size: 0.9em;
    }

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .page-about__hero-image-wrapper img,
    .page-about__story-image,
    .page-about__feature-icon,
    .page-about__responsible-gaming-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }

    .page-about__hero-description {
        font-size: 0.9em;
    }

    .page-about__section-title {
        font-size: 1.8em;
    }

    .page-about__intro-text {
        font-size: 0.85em;
    }

    .page-about__feature-card {
        padding: 15px;
    }

    .page-about__card-title {
        font-size: 1.4em;
    }
}