body {
    background: #0e061c;
}

.mjj-about-page {
    --about-bg: #0e061c;
    --about-purple: #8300d5;
    --about-purple-light: #af59ff;
    --about-gold: #e9c349;
    --about-card-gold: #f1ca8f;
    background: var(--about-bg);
    color: #fff;
    font-family: "OPPOSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
    overflow: hidden;
}

.mjj-about-page,
.mjj-about-page * {
    box-sizing: border-box;
}

.mjj-about-page img {
    display: block;
    max-width: 100%;
}

.about-hero {
    position: relative;
    height: 893px;
    overflow: hidden;
    text-align: center;
    background: #020817 url("../images/about/about-hero-banner.png") center top / cover no-repeat;
}

.about-hero::before,
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-hero::before {
    background: rgba(34, 30, 34, 0.28);
    mix-blend-mode: darken;
}

.about-hero::after {
    background: linear-gradient(0deg, var(--about-bg) 0%, rgba(0, 0, 0, 0) 26%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    /* padding-top: 225px; */
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.about-hero-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 0;
    color: #fff;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.22;
    white-space: nowrap;
}

.about-hero-title-accent {
    color: transparent;
    background: linear-gradient(to left, #F5C20B 0%, #FCE8CA 99%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-copy {
    width: min(561px, 100%);
    margin: 80px auto 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 2.2;
    overflow-wrap: anywhere;
}

.about-story {
    position: relative;
    min-height: 1638px;
    overflow: hidden;
    background: #020a1b url("../images/about/about-story-bg.png") center top / 1920px 1662px no-repeat;
}

.about-story-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    padding-top: 58px;
}

.about-story-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 0;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.28;
    text-align: center;
    white-space: nowrap;
}

.about-story-title span:first-child {
    color: #fff;
}

.about-story-title span:last-child {
    background: linear-gradient(270deg, var(--about-purple) 0%, var(--about-purple-light) 99%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-story-lead {
    display: grid;
    grid-template-columns: 588px 640px;
    gap: 52px;
    align-items: start;
    margin-top: 104px;
}

.about-story-copy {
    min-height: 281px;
    margin-top: 74px;
    padding: 25px 0 25px 46px;
    display: flex;
    align-items: center;
}

.about-story-copy p {
    width: 494px;
    margin: 0;
    color: #d9d9d9;
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
    overflow-wrap: anywhere;
}

.about-story-copy strong {
    color: #f4f0ff;
    font-weight: 800;
}

.about-story-image {
    width: 640px;
    height: 429px;
    margin: 0;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 25px;
    box-shadow: 0 4px 104.6px rgba(230, 0, 199, 0.41);
}

.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-principles {
    margin-top: 104px;
}

.about-principle-card {
    position: relative;
    min-height: 340px;
    border-radius: 25px;
    color: #000;
    overflow: hidden;
}

.about-principle-card-main {
    background: #a87fdd url("../images/about/about-card-mission-bg.png") center / cover no-repeat;
}

.about-principle-card-gold {
    background: var(--about-card-gold);
}

.about-principle-card-cream {
    background: #fbf4ed url("../images/about/about-card-value-bg.png") center / cover no-repeat;
}

.about-principle-content {
    width: calc(100% - 180px);
    margin-left: 90px;
    padding-top: 56px;
    text-align: left;
}

.about-principle-content span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 2px;
}

.about-principle-content h3 {
    margin: 70px 0 0;
    font-size: 48px;
    font-weight: 800;
    line-height: 0.8;
}

.about-principle-content p {
    margin: 55px 0 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 2px;
    overflow-wrap: anywhere;
}

.about-principle-row {
    display: grid;
    grid-template-columns: 499px 1fr;
    gap: 30px;
    margin-top: 23px;
}

.about-section-heading {
    text-align: center;
}

.about-section-heading h2,
.about-timeline h2 {
    margin: 0;
    color: #e2e2e2;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.about-section-heading span {
    display: block;
    width: 96px;
    height: 4px;
    margin: 28px auto 0;
    background: var(--about-gold);
}

.about-safety {
    position: relative;
    height: 705px;
    padding: 122px 0 80px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(18, 20, 20, 0.82) 58%, #121414 100%),
        url("../images/about/about-safety-bg.png") center bottom / cover no-repeat,
        #121414;
}

.about-safety::before {
    content: "";
    position: absolute;
    left: -15%;
    right: -15%;
    bottom: -56px;
    height: 330px;
    opacity: 0.42;
    transform: perspective(520px) rotateX(58deg);
    transform-origin: bottom center;
    background:
        linear-gradient(180deg, rgba(18, 20, 20, 0), rgba(18, 20, 20, 0.65) 72%),
        repeating-linear-gradient(90deg, rgba(72, 83, 94, 0.42) 0 1px, transparent 1px 52px),
        repeating-linear-gradient(0deg, rgba(72, 83, 94, 0.28) 0 1px, transparent 1px 28px);
    pointer-events: none;
}

.about-safety-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
}

.about-safety-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.about-safety-card {
    min-height: 297px;
    padding: 33px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(74, 69, 77, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.about-safety-card img {
    width: 208px;
    height: 127px;
    object-fit: contain;
}

.about-safety-check {
    position: relative;
    width: 18px;
    height: 18px;
    margin-top: 17px;
    border: 2px solid var(--about-gold);
    border-radius: 50%;
}

.about-safety-check::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--about-gold);
    border-bottom: 2px solid var(--about-gold);
    transform: rotate(-45deg);
}

.about-safety-card p {
    margin: 14px 0 0;
    color: #e2e2e2;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625;
    overflow-wrap: anywhere;
}

.about-timeline {
    position: relative;
    height: 1010px;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #1a0630 0%, #121414 100%);
}

.about-timeline-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    text-align: center;
}

.about-timeline-decor {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
    user-select: none;
    will-change: transform;
}

.about-timeline-coin {
    top: 165px;
    left: max(24px, calc(50% - 874px));
    width: 234px;
    animation: aboutTimelineCoinFloat 6.2s ease-in-out infinite alternate;
}

.about-timeline-chart {
    top: 516px;
    left: calc(50% + 465px);
    width: 509px;
    animation: aboutTimelineChartFloat 7s ease-in-out infinite alternate;
    animation-delay: -1.4s;
}

.about-timeline-list {
    position: relative;
    width: 100%;
    height: 568px;
    margin-top: 105px;
}

.about-timeline h2 {
    line-height: 45px;
}

.about-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, rgba(233, 195, 73, 0), #e9c349 12%, #e9c349 88%, rgba(233, 195, 73, 0));
    transform: translateX(-50%);
}

.about-timeline-mark {
    position: absolute;
    top: 0;
    left: calc(50% + 48px);
    width: 146px;
    height: 102px;
    object-fit: contain;
}

.about-timeline-item {
    position: absolute;
    width: calc(50% - 40px);
    min-height: 106px;
    display: flex;
    align-items: flex-start;
}

.about-timeline-left {
    left: 0;
    justify-content: flex-end;
}

.about-timeline-right {
    left: calc(50% + 40px);
    justify-content: flex-start;
}

.about-timeline-2010 {
    top: 0;
}

.about-timeline-2015 {
    top: 154px;
}

.about-timeline-2019 {
    top: 308px;
}

.about-timeline-2024 {
    top: 462px;
}

.about-timeline-dot {
    position: absolute;
    top: 45px;
    width: 16px;
    height: 16px;
    border: 4px solid #121414;
    border-radius: 50%;
    background: var(--about-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.about-timeline-left .about-timeline-dot {
    right: -80px;
}

.about-timeline-right .about-timeline-dot {
    left: -80px;
}

.about-timeline-card {
    max-width: 560px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    text-align: left;
}

.about-timeline-card h3 {
    margin: 0;
    color: var(--about-gold);
    font-size: 32px;
    font-weight: 800;
    line-height: 24px;
}

.about-timeline-card p {
    margin: 0;
    color: #ccc4ce;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
    overflow-wrap: anywhere;
}

@keyframes aboutSectionIn {
    from {
        opacity: 0;
        transform: translateY(34px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes aboutTimelineCoinFloat {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(10px, -16px, 0);
    }
}

@keyframes aboutTimelineChartFloat {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-14px, -18px, 0);
    }
}

.about-animate-ready .about-timeline {
    opacity: 0;
}

.about-animate-ready .about-timeline.in-view {
    animation: aboutSectionIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    .about-animate-ready .about-timeline,
    .about-timeline-decor {
        opacity: 1;
        animation: none !important;
        transform: none !important;
    }
}

.about-final-cta {
    height: 490px;
    padding: 139px 0 0;
    background-color: #220069;
    background-image: url("../images/academy/academy-final-cta.png");
    background-size: cover;
    background-position: center;
    text-align: center;
}

.about-final-cta-inner {
    width: min(768px, calc(100% - 48px));
    margin: 0 auto;
}

.about-final-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 64px;
    font-weight: 900;
    line-height: 68px;
}

.about-final-cta p {
    margin: 26px 0 0;
    color: #f3f4f6;
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    overflow-wrap: anywhere;
}

.about-final-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 52px;
    min-width: 200px;
    margin-top: 40px;
    padding: 0 32px;
    border-radius: 60px;
    background: linear-gradient(180deg, #f1ca8f 0%, #c89547 100%);
    box-shadow: 0 4px 12.5px rgba(206, 162, 113, 0.25);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(206, 162, 113, 0.28);
    color: #fff;
}

@media (max-width: 1320px) {
    .about-story-lead {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
        gap: 36px;
    }

    .about-story-image {
        width: 100%;
        height: auto;
        aspect-ratio: 640 / 429;
    }

    .about-story-copy {
        padding-left: 24px;
    }

    .about-story-copy p {
        width: 100%;
    }

    .about-principle-row {
        grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
    }

    .about-principle-content {
        width: calc(100% - 96px);
        margin-left: 48px;
    }

    .about-safety-card {
        padding: 28px 22px;
    }

    .about-timeline-card p {
        white-space: normal;
    }
}

@media (max-width: 1080px) {
    .about-hero {
        height: 720px;
    }

    .about-hero-inner {
        width: min(100%, calc(100% - 32px));
        padding-top: 190px;
    }

    .about-hero-title,
    .about-story-title {
        font-size: 52px;
    }

    .about-hero-copy {
        margin-top: 56px;
        font-size: 15px;
        line-height: 1.9;
    }

    .about-story {
        min-height: auto;
        padding-bottom: 100px;
        background-size: auto 100%;
    }

    .about-story-inner {
        width: min(100%, calc(100% - 32px));
        padding-top: 56px;
    }

    .about-story-lead {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 64px;
    }

    .about-story-copy {
        min-height: 0;
        margin-top: 0;
        padding: 0;
        order: 2;
    }

    .about-story-copy p {
        max-width: 760px;
        margin: 0 auto;
        font-size: 18px;
        line-height: 1.9;
        text-align: center;
    }

    .about-story-image {
        width: min(640px, 100%);
        order: 1;
        max-width: 640px;
        margin: 0 auto;
    }

    .about-principles {
        margin-top: 68px;
    }

    .about-principle-card {
        min-height: 280px;
    }

    .about-principle-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .about-principle-content {
        width: min(560px, calc(100% - 64px));
        margin: 0 auto;
        padding-top: 42px;
    }

    .about-principle-content h3 {
        margin-top: 52px;
        font-size: 46px;
    }

    .about-principle-content p {
        margin-top: 36px;
        font-size: 21px;
        white-space: normal;
    }

    .about-safety {
        height: auto;
        padding: 88px 0 96px;
    }

    .about-safety-inner,
    .about-timeline-inner {
        width: min(100%, calc(100% - 32px));
    }

    .about-section-heading h2,
    .about-timeline h2 {
        font-size: 42px;
        line-height: 1.1;
    }

    .about-safety-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
        margin: 54px auto 0;
    }

    .about-timeline {
        height: auto;
        padding: 88px 0 104px;
    }

    .about-timeline-decor {
        display: none;
    }

    .about-timeline-list {
        max-width: 760px;
        height: auto;
        margin: 72px auto 0;
        display: grid;
        gap: 32px;
        text-align: left;
    }

    .about-timeline-line {
        left: 23px;
    }

    .about-timeline-mark {
        display: none;
    }

    .about-timeline-item {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-height: 0;
        padding-left: 64px;
        justify-content: flex-start;
    }

    .about-timeline-left,
    .about-timeline-right {
        left: auto;
        justify-content: flex-start;
    }

    .about-timeline-left .about-timeline-dot,
    .about-timeline-right .about-timeline-dot {
        left: 15px;
        right: auto;
        top: 28px;
    }

    .about-timeline-card {
        width: 100%;
        max-width: none;
    }

    .about-final-cta {
        height: 460px;
        padding: 108px 0 0;
    }

    .about-final-cta h2 {
        font-size: 48px;
        line-height: 1.18;
    }

    .about-final-cta p {
        font-size: 24px;
        line-height: 1.45;
        text-wrap: balance;
    }
}

@media (max-width: 720px) {
    .about-hero {
        height: 620px;
        background-position: center top;
    }

    .about-hero-inner {
        padding-top: 164px;
    }

    .about-hero-title {
        display: block;
        font-size: 42px;
        line-height: 1.16;
        white-space: normal;
    }

    .about-hero-title span {
        display: block;
    }

    .about-hero-copy {
        margin-top: 28px;
        font-size: 14px;
        line-height: 1.8;
    }

    .about-story {
        padding-bottom: 72px;
        background-size: cover;
    }

    .about-story-title {
        display: block;
        font-size: 36px;
        line-height: 1.25;
        white-space: normal;
    }

    .about-story-title span {
        display: inline;
    }

    .about-story-lead {
        margin-top: 42px;
    }

    .about-story-copy p {
        font-size: 16px;
        line-height: 1.85;
        text-align: left;
    }

    .about-story-image {
        width: 100%;
        max-width: 100%;
        border-width: 2px;
        border-radius: 18px;
    }

    .about-principle-card {
        min-height: 244px;
        border-radius: 18px;
    }

    .about-principle-content {
        width: calc(100% - 48px);
        padding-top: 32px;
    }

    .about-principle-content span {
        font-size: 13px;
    }

    .about-principle-content h3 {
        margin-top: 38px;
        font-size: 36px;
    }

    .about-principle-content p {
        margin-top: 26px;
        font-size: 17px;
        letter-spacing: 1px;
    }

    .about-safety {
        padding: 72px 0 78px;
    }

    .about-section-heading h2,
    .about-timeline h2 {
        font-size: 34px;
        line-height: 1.1;
    }

    .about-section-heading span {
        width: 72px;
        margin-top: 20px;
    }

    .about-safety-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 42px;
    }

    .about-safety-card {
        min-height: 230px;
        padding: 26px;
    }

    .about-safety-card img {
        width: 166px;
        height: auto;
    }

    .about-safety-card p {
        font-size: 15px;
    }

    .about-timeline {
        padding: 72px 0 84px;
    }

    .about-timeline-list {
        margin-top: 48px;
        gap: 24px;
    }

    .about-timeline-item {
        padding-left: 48px;
    }

    .about-timeline-left .about-timeline-dot,
    .about-timeline-right .about-timeline-dot {
        left: 15px;
    }

    .about-timeline-card {
        padding: 22px;
        border-radius: 14px;
    }

    .about-timeline-card h3 {
        font-size: 28px;
    }

    .about-timeline-card p {
        font-size: 15px;
    }

    .about-final-cta {
        height: auto;
        min-height: 360px;
        padding: 76px 0 82px;
    }

    .about-final-cta-inner {
        padding: 0;
    }

    .about-final-cta h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .about-final-cta p {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.5;
        text-wrap: balance;
    }

    .about-final-cta-button {
        margin-top: 34px;
    }
}

@media (max-width: 420px) {
    .about-hero {
        height: 580px;
    }

    .about-hero-title {
        font-size: 36px;
    }

    .about-hero-copy {
        font-size: 13px;
    }

    .about-story-copy p,
    .about-timeline-card p {
        font-size: 14px;
    }

    .about-safety-card {
        padding: 22px;
    }
}
