/* style/about.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

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

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* body already handles --header-offset */
    background-color: var(--deep-green-color);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-about__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-about__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: var(--text-main-color);
}

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

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

.page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-about__section-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto;
}

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

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

.page-about__mission-section .page-about__text-block h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-about__mission-section .page-about__image-block {
    flex: 1;
    text-align: center;
}

.page-about__mission-section .page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    padding: 20px 0;
}

.page-about__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--divider-color);
    transform: translateX(-50%);
    z-index: 0;
}

.page-about__timeline-item {
    background-color: var(--deep-green-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__timeline-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    z-index: 1;
}

.page-about__timeline-year {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__timeline-event {
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

.page-about__card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-about__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__card p {
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.page-about__card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-about__card-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-about__image-block--center {
    text-align: center;
    margin-top: 40px;
}

.page-about__image-block--center img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__responsible-gaming-section .page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__responsible-gaming-section .page-about__text-block {
    flex: 1;
}

.page-about__responsible-gaming-section .page-about__text-block h3 {
    color: var(--gold-color);
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-about__responsible-gaming-section .page-about__image-block {
    flex: 1;
    text-align: center;
}

.page-about__responsible-gaming-section .page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary--center {
    display: block;
    margin: 30px auto 0 auto;
    width: fit-content;
}

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

.page-about__feature-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__feature-item p {
    color: var(--text-secondary-color);
}

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

.page-about__team-member {
    background-color: var(--deep-green-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__team-member img {
    
    
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

.page-about__member-name {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__member-role {
    color: var(--text-secondary-color);
    font-style: italic;
}

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

.page-about__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
    font-weight: 600;
    font-size: 1.15em;
    position: relative;
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    padding: 20px 25px 25px 25px;
    color: var(--text-secondary-color);
    font-size: 1em;
    line-height: 1.7;
    border-top: 1px solid var(--divider-color);
}

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

.page-about__faq-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-about__faq-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-about__cta-content {
    text-align: center;
}

.page-about__cta-content .page-about__section-title {
    margin-bottom: 20px;
}

.page-about__cta-content .page-about__section-description {
    margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-about__mission-section .page-about__content-wrapper,
    .page-about__responsible-gaming-section .page-about__content-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-section .page-about__image-block,
    .page-about__responsible-gaming-section .page-about__image-block {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-about__timeline::before {
        left: 20px;
        transform: translateX(0);
    }
    .page-about__timeline-item {
        margin-left: 40px;
        text-align: left;
    }
    .page-about__timeline-item::before {
        left: 0;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .page-about__section-padding {
        padding: 50px 0;
    }
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-about__main-title {
        font-size: 2.2em;
    }
    .page-about__description {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__content-wrapper,
    .page-about__timeline,
    .page-about__advantages-grid,
    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__team-grid,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-about__hero-image-wrapper {
        padding: 0;
    }
    .page-about__hero-image {
        border-radius: 0;
    }
    .page-about__timeline-item {
        margin-left: 30px;
        padding: 20px;
    }
    .page-about__timeline::before {
        left: 15px;
    }
    .page-about__timeline-item::before {
        left: 0;
    }
    .page-about__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 15px 20px;
    }
}

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