/* style/about.css */

/* General page styling */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #8B0000;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-about__text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #555;
}

/* Hero Section */
.page-about__hero {
    background: linear-gradient(135deg, #FFD700, #8B0000);
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Buttons */
.page-about__btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-about__btn--primary {
    background-color: #FFD700;
    color: #8B0000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn--secondary {
    background-color: #8B0000;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn--secondary:hover {
    background-color: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

/* Grid Layout for sections */
.page-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-about__grid--reverse {
    grid-template-areas: "image content";
}

.page-about__grid--reverse .page-about__image-wrapper {
    grid-area: image;
}

.page-about__grid--reverse .page-about__content {
    grid-area: content;
}

.page-about__content {
    padding-right: 20px;
}

.page-about__content p {
    margin-bottom: 15px;
    color: #444;
}

.page-about__content strong {
    color: #8B0000;
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="%23FFD700" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.05em;
}

.page-about__image-wrapper {
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-about__image:hover {
    transform: scale(1.02);
}

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

.page-about__benefit-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #FFD700;
}

.page-about__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-about__benefit-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-about__benefit-description {
    color: #555;
    font-size: 0.95em;
}

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

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

.page-about__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__game-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #FFD700;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-about__game-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-about__game-description {
    color: #555;
    font-size: 0.9em;
}

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

.page-about__team-member {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #eee;
}

.page-about__team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #FFD700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__member-name {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-about__member-role {
    color: #555;
    font-size: 1em;
}

.page-about__text--small {
    font-size: 0.9em;
    color: #777;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }

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

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

    .page-about__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-about__grid--reverse {
        grid-template-areas: unset;
    }

    .page-about__content {
        padding-right: 0;
    }

    .page-about__list {
        text-align: left;
    }

    .page-about__image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }
    .page-about__grid--reverse .page-about__image-wrapper {
        order: unset;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 80px 15px;
    }

    .page-about__hero-title {
        font-size: 2.2em;
    }

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

    .page-about__section {
        padding: 40px 0;
    }

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

    .page-about__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-about__benefits-grid,
    .page-about__game-grid,
    .page-about__team-grid {
        grid-template-columns: 1fr;
    }
}

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

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

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

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__btn {
        width: 100%;
        margin: 5px 0;
    }
    .page-about__cta-wrapper {
        flex-direction: column;
    }
}

/* Ensure link colors have enough contrast */
.page-about a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Specific link within content, like in ul li */
.page-about__content p a {
    font-weight: bold;
}

/* Ensure no image filters are used */
.page-about img {
    filter: none !important;
}