/* Custom Colors */
:root {
    --okivip-primary: #2F6BFF;
    --okivip-secondary: #6FA3FF;
    --okivip-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --okivip-card-bg: #FFFFFF;
    --okivip-bg: #F4F7FB;
    --okivip-text-main: #1F2D3D;
    --okivip-text-black: #000000;
    --okivip-border: #D6E2FF;
    --okivip-glow: #A5C4FF;
}

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

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

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

.page-about__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--okivip-text-main);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-about__section-title--light {
    color: var(--okivip-card-bg);
}

.page-about__text-block {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--okivip-text-main);
}

.page-about__description {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    color: var(--okivip-text-main);
}

.page-about__description--light {
    color: rgba(255, 255, 255, 0.9);
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--okivip-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-about__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

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

.page-about__btn-secondary:hover {
    background: var(--okivip-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* HERO SECTION */
.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background-color: var(--okivip-primary);
}

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

.page-about__hero-content {
    padding: 40px 15px;
    text-align: center;
    max-width: 900px;
    z-index: 1;
    color: #ffffff;
}

.page-about__main-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-about__hero-content .page-about__description {
    color: rgba(255, 255, 255, 0.9);
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* STORY SECTION */
.page-about__story-section .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__story-content {
    flex: 1;
}

.page-about__story-image {
    flex: 1;
    min-width: 200px;
}

.page-about__story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

/* WHY CHOOSE SECTION */
.page-about__why-choose-section {
    background-color: var(--okivip-primary);
    color: var(--okivip-card-bg);
}

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

.page-about__feature-card {
    background: var(--okivip-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--okivip-text-main);
}

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

.page-about__feature-icon {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-about__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--okivip-text-main);
}

.page-about__feature-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
}

/* RESPONSIBLE GAMING SECTION */
.page-about__responsible-gaming-section .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__responsible-gaming-content {
    flex: 1;
}

.page-about__responsible-gaming-image {
    flex: 1;
    min-width: 200px;
}

.page-about__responsible-gaming-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

/* FAQ SECTION */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--okivip-border);
  overflow: hidden;
  background: var(--okivip-card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
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;
  font-size: 17px;
  color: var(--okivip-text-main);
}
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: #f5f8fc;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--okivip-text-main);
}
details.page-about__faq-item[open] .page-about__faq-qtext {
    color: var(--okivip-primary);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--okivip-primary);
  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: #f9fbfd;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
}

/* CTA BOTTOM SECTION */
.page-about__cta-bottom-section {
    background-color: var(--okivip-primary);
    color: var(--okivip-card-bg);
    text-align: center;
}

.page-about__cta-bottom-content {
    max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-section {
        padding-top: 10px;
    }

    .page-about__main-title {
        font-size: 42px;
    }

    .page-about__description {
        font-size: 17px;
    }

    .page-about__section-title {
        font-size: 30px;
    }

    .page-about__story-section .page-about__container,
    .page-about__responsible-gaming-section .page-about__container {
        flex-direction: column;
        text-align: center;
    }

    .page-about__story-image,
    .page-about__responsible-gaming-image {
        order: -1; /* Image above text for smaller screens */
        margin-bottom: 30px;
    }
    .page-about__story-image img, .page-about__responsible-gaming-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    .page-about__feature-card {
        padding: 25px;
    }

    .page-about__feature-title {
        font-size: 20px;
    }

    .page-about__btn-primary, .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* Top section (padding-top already handled by hero-section) */
    .page-about__hero-section {
        padding-top: 10px;
    }

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

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

    .page-about__description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-about__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Buttons */
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 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;
    }

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

    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__story-section .page-about__container,
    .page-about__responsible-gaming-section .page-about__container {
        gap: 30px;
    }

    .page-about__story-image img, .page-about__responsible-gaming-image img {
        max-width: 100%;
    }

    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__feature-card {
        padding: 20px;
    }

    .page-about__feature-title {
        font-size: 18px;
    }

    /* FAQ */
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-qtext {
        font-size: 16px;
    }
    .page-about__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
    }

    .page-about__cta-bottom-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 28px;
    }

    .page-about__section-title {
        font-size: 24px;
    }

    .page-about__hero-content {
        padding: 30px 10px;
    }

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