/* style/about.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --text-main-color: #FFF5E1;
    --background-card: #D32F2F;
    --background-body: #B71C1C;
    --border-gold: #F2B544;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Light text for dark body background */
    background-color: var(--background-body); /* Dark background */
}

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

.page-about__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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: var(--border-gold);
    border-radius: 2px;
}

.page-about__text-block p {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-main-color);
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff; /* White text on bright gold gradient */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__cta-center {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

/* HERO Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-body);
    overflow: hidden;
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

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

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-about__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-about__description {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.page-about__intro-section {
    padding: 80px 0;
    background-color: var(--background-body);
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

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

.page-about__feature-card {
    background-color: var(--background-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gold);
}

.page-about__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-about__feature-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-gold);
}

.page-about__feature-card h3 {
    font-size: 24px;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    font-size: 16px;
    color: var(--text-main-color);
}

/* Games Section */
.page-about__games-section {
    padding: 80px 0;
    background-color: var(--background-body);
}

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

.page-about__game-card {
    background-color: var(--background-card);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gold);
}

.page-about__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-about__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for game images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-gold);
}

.page-about__game-card h3 {
    font-size: 22px;
    color: var(--text-main-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__game-card h3 a {
    color: var(--text-main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__game-card h3 a:hover {
    color: var(--border-gold);
}

.page-about__game-card p {
    font-size: 15px;
    color: var(--text-main-color);
}

/* Promotions Section */
.page-about__promotions-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

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

.page-about__promo-card {
    background-color: var(--background-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gold);
}

.page-about__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-about__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-gold);
}

.page-about__promo-card h3 {
    font-size: 22px;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__promo-card p {
    font-size: 16px;
    color: var(--text-main-color);
}

/* Security & Support Section */
.page-about__security-support-section {
    padding: 80px 0;
    background-color: var(--background-body);
}

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

.page-about__info-block {
    background-color: var(--background-card);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-gold);
}

.page-about__info-block h3 {
    font-size: 24px;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__info-block p {
    font-size: 16px;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-about__info-block img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid var(--border-gold);
}

.page-about__inline-link {
    color: var(--border-gold);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__inline-link:hover {
    color: #FFD86A;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.page-about__faq-list {
    margin-top: 40px;
}

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-gold);
    overflow: hidden;
    background: var(--background-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
    display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-about__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-about__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--border-gold);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 25px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
}

details.page-about__faq-item .page-about__faq-answer p {
    font-size: 16px;
    color: var(--text-main-color);
}

/* Blog Section */
.page-about__blog-section {
    padding: 80px 0;
    background-color: var(--background-body);
}

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

.page-about__blog-card {
    background-color: var(--background-card);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gold);
}

.page-about__blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-about__blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-gold);
}

.page-about__blog-content {
    padding: 25px;
}

.page-about__blog-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__blog-content h3 a {
    color: var(--text-main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__blog-content h3 a:hover {
    color: var(--border-gold);
}

.page-about__blog-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.page-about__blog-content p {
    font-size: 16px;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-about__read-more {
    display: inline-block;
    color: var(--border-gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__read-more:hover {
    color: #FFD86A;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: clamp(24px, 3.5vw, 36px);
    }
    .page-about__hero-image {
        margin-bottom: 20px;
    }
    .page-about__hero-image img,
    .page-about__feature-card img,
    .page-about__game-card img,
    .page-about__promo-card img,
    .page-about__info-block img,
    .page-about__blog-card img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image {
        border-radius: 8px;
    }
    .page-about__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__main-title {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: 15px;
    }
    .page-about__description {
        font-size: clamp(15px, 3vw, 18px);
        margin-bottom: 20px;
    }
    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__cta-center {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__section-title {
        font-size: clamp(22px, 5vw, 30px);
        margin-bottom: 30px;
    }
    .page-about__text-block p {
        font-size: 15px;
    }

    .page-about__intro-section,
    .page-about__why-choose-us-section,
    .page-about__games-section,
    .page-about__promotions-section,
    .page-about__security-support-section,
    .page-about__faq-section,
    .page-about__blog-section {
        padding: 50px 0;
    }

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

    .page-about__feature-card,
    .page-about__game-card,
    .page-about__promo-card,
    .page-about__info-block,
    .page-about__blog-card {
        padding: 20px;
    }

    .page-about__feature-card img,
    .page-about__game-card img,
    .page-about__promo-card img,
    .page-about__info-block img,
    .page-about__blog-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }

    .page-about__feature-card h3,
    .page-about__game-card h3,
    .page-about__promo-card h3,
    .page-about__info-block h3,
    .page-about__blog-content h3 {
        font-size: 20px;
    }

    .page-about__feature-card p,
    .page-about__game-card p,
    .page-about__promo-card p,
    .page-about__info-block p,
    .page-about__blog-content p,
    .page-about__faq-item .page-about__faq-answer p {
        font-size: 15px;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px 20px;
    }
    .page-about__faq-qtext {
        font-size: 16px;
    }
    .page-about__faq-toggle {
        font-size: 24px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 20px 20px;
    }

    /* Ensure all image containers are constrained */
    .page-about__hero-container,
    .page-about__features-grid,
    .page-about__game-categories,
    .page-about__promo-grid,
    .page-about__content-grid,
    .page-about__blog-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-about__hero-image {
        border-radius: 4px;
    }
    .page-about__cta-button {
        margin-top: 20px;
    }
    .page-about__feature-card img,
    .page-about__game-card img,
    .page-about__promo-card img,
    .page-about__info-block img,
    .page-about__blog-card img {
        min-
    }
}