/* About Us — Magic Academy + interactive developer character cards */
.about-page {
    min-height: 100vh;
    background: #06142c;
    color: #f4e3be;
}
.about-page .about-topbar {
    background: rgba(5, 17, 38, .94) !important;
    border-bottom: 1px solid rgba(214, 166, 74, .34);
}
.about-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    font-weight: 800;
}
.about-nav a { text-decoration: none; }
.about-nav .is-active { color: #f0c96f; }
.about-us-main { padding-bottom: 96px; }
.about-us-hero { min-height: 560px; }
.about-crest-showcase { min-height: 470px; }
.about-symbol-section { padding-bottom: 82px; }

.arcane-team-section {
    padding: 88px 0 24px;
    border-top: 1px solid rgba(214, 166, 74, .24);
}
.arcane-team-heading { max-width: 820px; margin-bottom: 34px; }
.arcane-team-heading > p {
    margin: 13px 0 0;
    color: rgba(239,220,182,.66);
    font-size: 15px;
    line-height: 1.6;
}

.arcane-member-stage {
    position: relative;
    min-height: 620px;
    border: 1px solid rgba(216, 169, 78, .38);
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 50%, rgba(203, 153, 66, .14), transparent 28%),
        linear-gradient(135deg, rgba(14, 37, 72, .98), rgba(5, 19, 42, .98));
    box-shadow: 0 26px 70px rgba(0,0,0,.33), inset 0 0 70px rgba(211,158,61,.04);
}
.arcane-member-stage::before,
.arcane-member-stage::after {
    content: "✦";
    position: absolute;
    z-index: 3;
    color: #d5a855;
    font-size: 18px;
    opacity: .85;
}
.arcane-member-stage::before { top: 20px; left: 24px; }
.arcane-member-stage::after { right: 24px; bottom: 20px; }

.arcane-member-panel {
    min-height: 620px;
    display: none;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    padding: 38px 54px 38px 38px;
}
.arcane-member-panel.is-active { display: grid; animation: member-reveal 240ms ease-out; }
@keyframes member-reveal {
    from { opacity: .2; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.arcane-feature-portrait {
    width: min(100%, 420px);
    margin: 0 auto;
    display: grid;
    place-items: center;
}
.arcane-feature-portrait img {
    width: 100%;
    max-height: 540px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 24px 35px rgba(0,0,0,.42));
}
.arcane-member-copy { max-width: 670px; }
.arcane-rarity {
    display: inline-flex;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid rgba(213,168,85,.45);
    border-radius: 999px;
    color: #d8ae5c;
    background: rgba(213,168,85,.08);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .12em;
}
.arcane-member-copy h3 {
    margin: 20px 0 5px;
    color: #fff0ca;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}
.arcane-member-copy h4 {
    margin: 0;
    color: #dcb65f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}
.arcane-member-copy blockquote {
    margin: 27px 0 24px;
    padding: 17px 0 17px 22px;
    border-left: 2px solid #d5a855;
    color: #f0cb78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.45;
}
.arcane-member-copy p {
    max-width: 640px;
    margin: 0 0 14px;
    color: rgba(239,220,182,.74);
    font-size: 15px;
    line-height: 1.72;
}

.arcane-card-deck {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.arcane-select-card {
    position: relative;
    min-width: 0;
    padding: 10px 10px 13px;
    overflow: hidden;
    border: 1px solid rgba(213,168,85,.28);
    border-radius: 18px;
    background: linear-gradient(180deg, #0f2548, #071833);
    color: #f6e6bf;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.arcane-select-card:hover {
    border-color: rgba(224,181,92,.68);
    transform: translateY(-2px);
}
.arcane-select-card.is-active {
    border-color: #e0b55c;
    background: linear-gradient(180deg, #173262, #0b2042);
    box-shadow: 0 0 0 1px rgba(224,181,92,.22), 0 14px 32px rgba(0,0,0,.3), 0 0 24px rgba(213,168,85,.08);
}
.arcane-select-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 12px;
    background: #030a16;
}
.arcane-card-number {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(230,188,99,.48);
    border-radius: 999px;
    background: rgba(4,15,34,.82);
    color: #e7bd67;
    font-size: 10px;
    font-weight: 900;
}
.arcane-select-card strong {
    display: block;
    margin: 10px 2px 2px;
    overflow: hidden;
    color: #ffeab9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.arcane-select-card small {
    display: block;
    margin: 0 2px;
    overflow: hidden;
    color: rgba(224,201,155,.62);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.about-us-footer {
    min-height: 76px;
    padding: 0 max(32px, calc((100vw - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(214,166,74,.25);
    color: rgba(230,208,166,.58);
    font-size: 11px;
}

@media (max-width: 980px) {
    .arcane-member-panel {
        grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
        gap: 32px;
        padding: 30px;
    }
    .arcane-member-stage { min-height: 560px; }
    .arcane-member-panel { min-height: 560px; }
    .arcane-card-deck { grid-template-columns: repeat(5, 180px); overflow-x: auto; padding-bottom: 8px; }
}

@media (max-width: 760px) {
    .about-us-hero { min-height: auto; }
    .arcane-member-stage { min-height: 0; }
    .arcane-member-panel,
    .arcane-member-panel.is-active {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 22px 30px;
    }
    .arcane-feature-portrait { width: min(100%, 340px); }
    .arcane-feature-portrait img { max-height: 450px; }
    .arcane-member-copy h3 { font-size: 44px; }
    .arcane-member-copy h4 { font-size: 19px; }
    .arcane-member-copy blockquote { font-size: 18px; }
}

@media (max-width: 560px) {
    .about-nav { gap: 10px; }
    .arcane-team-section { padding-top: 62px; }
    .arcane-card-deck { grid-template-columns: repeat(5, 150px); }
    .arcane-select-card strong { font-size: 14px; }
    .about-us-footer { align-items: flex-start; flex-direction: column; padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .arcane-member-panel.is-active { animation: none; }
    .arcane-select-card { transition: none; }
}
