/* style/about.css */

:root {
    --bg-primary: #08160F;
    --bg-card: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --btn-text-color: #F2FFF6;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --vf555-primary: #11A84E;
    --vf555-secondary: #22C768;
}

.page-about {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px;
}

.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, 48px);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__section-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__sub-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background: var(--btn-gradient);
    color: var(--btn-text-color);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--vf555-secondary);
    border: 2px solid var(--border-color);
}

.page-about__btn-secondary:hover {
    background-color: rgba(34, 199, 104, 0.1);
    color: var(--glow-color);
    border-color: var(--glow-color);
}

.page-about__btn-text {
    background: none;
    border: none;
    color: var(--vf555-secondary);
    padding: 0;
    font-weight: 600;
    font-size: 16px;
}

.page-about__btn-text:hover {
    color: var(--glow-color);
}

.page-about__arrow {
    margin-left: 8px;
    font-weight: bold;
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    overflow: hidden;
    text-align: center;
}

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

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-main);
    max-width: 900px;
}

.page-about__main-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-about__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    color: var(--text-secondary);
}

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

.page-about__dark-section {
    background-color: var(--bg-card);
    padding: 60px 0;
}

.page-about__mission-vision-section .page-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-about__card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-about__card-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-about__card p {
    color: var(--text-secondary);
    font-size: 16px;
}

.page-about__why-choose-us-section {
    padding: 60px 0;
}

.page-about__grid--3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__feature-card {
    text-align: center;
}

.page-about__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-about__feature-card .page-about__card-title {
    color: var(--vf555-secondary);
}

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

.page-about__game-offerings-section {
    padding: 60px 0;
}

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

.page-about__game-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.page-about__game-card .page-about__card-title {
    color: var(--text-main);
}

.page-about__responsible-gaming-section {
    padding: 60px 0;
}

.page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

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

.page-about__text-block {
    flex: 1;
    color: var(--text-secondary);
}

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

.page-about__text-block li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-about__text-block li::before {
    content: '•';
    color: var(--vf555-secondary);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.page-about__list-highlight {
    color: var(--text-main);
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
}

.page-about__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.page-about__faq-section {
    padding: 60px 0;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
    color: var(--vf555-secondary);
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer a.page-about__btn {
    margin-top: 15px;
}

.page-about__contact-cta-section {
    padding: 60px 0;
    text-align: center;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-about__hero-content {
        padding: 0 15px;
    }
    .page-about__mission-vision-section .page-about__grid {
        grid-template-columns: 1fr;
    }
    .page-about__content-wrapper,
    .page-about__content-wrapper--reverse {
        flex-direction: column;
        text-align: center;
    }
    .page-about__text-block ul {
        text-align: left;
    }
    .page-about__image-block {
        order: -1; /* Image appears above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-about__hero-section,
    .page-about__dark-section,
    .page-about__why-choose-us-section,
    .page-about__game-offerings-section,
    .page-about__responsible-gaming-section,
    .page-about__faq-section,
    .page-about__contact-cta-section {
        padding: 40px 0;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-about__main-title {
        font-size: 32px;
    }
    .page-about__hero-description {
        font-size: 18px;
    }
    .page-about__section-title {
        font-size: 28px;
    }
    .page-about__section-description {
        font-size: 16px;
    }
    .page-about__card-title {
        font-size: 22px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 15px 20px;
    }

    /* Images responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsive (if any, generic rules) */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-about__main-title {
        font-size: 28px;
    }
    .page-about__hero-description {
        font-size: 16px;
    }
    .page-about__section-title {
        font-size: 24px;
    }
    .page-about__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
    }
}