:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main-color: #333333;
    --border-color: #E0E0E0;
    --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

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

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

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

.page-about__section--intro,
.page-about__section--mission,
.page-about__section--security-support {
    background-color: var(--card-bg-color);
    padding: 80px 0;
}

.page-about__section--games,
.page-about__section--promotions,
.page-about__section--faq,
.page-about__section--news-blog {
    background-color: var(--background-color);
    padding: 80px 0;
}

.page-about__section-title {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-about__section-description {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__sub-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.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;
    background-color: var(--background-color);
}

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

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

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-about__main-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__intro-text {
    font-size: 20px;
    color: var(--text-main-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    border: none;
    cursor: pointer;
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.page-about__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
}

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

.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

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

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

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

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

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--text-main-color);
    text-align: left;
}

.page-about__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

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

.page-about__card {
    background: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-about__card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-about__card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 10px;
    color: var(--primary-color);
}

.page-about__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__card-title a:hover {
    color: var(--secondary-color);
}

.page-about__card p {
    font-size: 15px;
    color: var(--text-main-color);
    padding: 0 20px;
    margin-bottom: 15px;
}

.page-about__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 0 20px 20px;
    transition: color 0.3s ease;
}

.page-about__read-more:hover {
    color: var(--secondary-color);
}

.page-about__contact-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.5);
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-about__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.2);
    transform: translateY(-2px);
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  text-align: left;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--text-main-color);
}
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: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: var(--text-main-color);
  line-height: 1.6;
}
details.page-about__faq-item[open] .page-about__faq-question {
    background-color: #f0f0f0;
    border-bottom: 1px solid var(--border-color);
}
details.page-about__faq-item[open] .page-about__faq-qtext {
    color: var(--primary-color);
}
details.page-about__faq-item[open] .page-about__faq-toggle {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 42px;
    }
    .page-about__intro-text {
        font-size: 18px;
    }
    .page-about__section-title {
        font-size: 34px;
    }
    .page-about__sub-title {
        font-size: 24px;
    }
    .page-about__content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-about__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-about__cta-button {
        padding: 15px 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__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-about__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-about__text-block p,
    .page-about__list-item {
        font-size: 15px;
    }

    .page-about__game-cards,
    .page-about__promo-cards,
    .page-about__blog-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__card img {
        
    }

    .page-about__card-title {
        font-size: 20px;
        margin: 15px 15px 8px;
    }

    .page-about__card p {
        padding: 0 15px;
        font-size: 14px;
    }

    .page-about__read-more {
        margin: 0 15px 15px;
    }

    .page-about__contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-about__contact-buttons,
    .page-about__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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