/* Download center page */
.download-center-page {
    --dc-gold: #d1a46f;
    --dc-orange: #ff671d;
    --dc-orange-deep: #f4510b;
    --dc-black: #000;
    --dc-panel: #1e1e1e;
    --dc-line: rgba(119, 95, 95, 0.1);
    --dc-muted: #bebebe;
    --dc-card-text: #222;
    background: var(--dc-black);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
}

.download-center-page *,
.download-center-page *::before,
.download-center-page *::after {
    box-sizing: border-box;
}

.download-center-page h1,
.download-center-page h2,
.download-center-page h3,
.download-center-page p {
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.download-center-page a {
    color: inherit;
    text-decoration: none;
}

.download-center-page img {
    display: block;
    max-width: 100%;
}

/* landing.css hides the shared footer until its homepage reveal script runs. */
.footer {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.dc-container {
    width: min(1232px, calc(100% - 48px));
    margin: 0 auto;
}

.dc-container--wide {
    width: min(1242px, calc(100% - 48px));
}

.dc-hero {
    position: relative;
    height: 800px;
    overflow: hidden;
    background: #030303 url("../images/download-center/hero-bg.png") center / cover no-repeat;
}

.dc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, #000 100%);
    pointer-events: none;
}

.dc-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1216px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 232px;
    text-align: center;
}

.dc-hero h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.dc-hero p {
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.35;
}

.dc-download {
    background: #000;
        padding: 0 0 106px 0;
}

.dc-tabs {
    display: grid;
    width: 630px;
    margin: 0 auto;
    padding: 0px 8px;
    grid-template-columns: 303px 311px;
    overflow: hidden;
}

.dc-tab {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 62px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: #1E1E1E;
    color: #bfbfbf;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.dc-tab:hover,
.dc-tab:focus-visible {
    color: #fff;
}

.dc-tab.is-active {
    background: var(--dc-gold);
    color: #fff;
}

.dc-panel {
    display: grid;
    margin-top: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dc-panel[hidden] {
    display: none;
}

.dc-download-card {
    min-width: 0;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--dc-card-text);
    text-align: center;
}

.dc-panel--app .dc-download-card {
    min-height: 423px;
    padding: 41px 39px 32px;
}

.dc-panel--mt5 .dc-download-card {
    min-height: 355px;
    padding: 41px 39px 32px;
}

.dc-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    object-fit: contain;
}

.dc-card-icon--android,
.dc-card-icon--ios {
    width: 64px;
}

.dc-download-card h2 {
    color: #1A1C1C;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
}

.dc-download-card p {
    margin-top: 25px;
    color: #5F5E5E;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.dc-qr-link {
    display: block;
    width: 200px;
    height: 200px;
    margin: 24px auto 0;
}

.dc-qr-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-primary-button {
    display: inline-flex;
    width: 315px;
    max-width: 100%;
    height: 54px;
    margin-top: 67px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff7a22 0%, #ff5b12 100%);
    box-shadow: 0 8px 12px rgba(244, 81, 11, 0.28);
    color: #fff !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dc-primary-button:hover,
.dc-primary-button:focus-visible,
.dc-primary-button:visited {
    color: #fff !important;
}

.dc-primary-button:hover,
.dc-primary-button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 10px 16px rgba(244, 81, 11, 0.32);
}

.dc-panel--mt5 .dc-primary-button {
    margin-top: 25px;
}

/* (0,2,0) so a later .dc-primary-button display rule cannot reveal it on desktop */
.dc-download-card .dc-card-mobile-btn {
    display: none;
}

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

.dc-section-heading h2,
.dc-related h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 42px;
    letter-spacing: 0;
}

.dc-section-heading p {
    margin-top: 30px;
    color: var(--dc-muted);
    font-size: 24px;
    font-weight: 500;
    line-height: 25.6px;
}

.dc-section-heading--single {
    margin-bottom: 0;
}

.dc-guide {
    padding-top: 31px;
}

.dc-guide .dc-accordion {
    margin-top: 50px;
}

.dc-accordion {
    width: 100%;
}

.dc-accordion-item {
    border: 1px solid var(--dc-line);
    border-radius: 4px;
    background: var(--dc-panel);
}

.dc-accordion-item + .dc-accordion-item {
    margin-top: 12px;
}

.dc-accordion-item summary {
    position: relative;
    display: flex;
    min-height: 64px;
    padding: 16px 62px 16px 24px;
    align-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    cursor: pointer;
    list-style: none;
}

.dc-accordion-item summary::-webkit-details-marker {
    display: none;
}

.dc-accordion-item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 28px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.18s ease;
}

.dc-accordion-item[open] summary::after {
    width: 10px;
    height: 2px;
    border: 0;
    background: #fff;
    transform: translateY(-50%) rotate(0deg);
}

.dc-accordion-item[open] {
    border-color: transparent;
    background: transparent;
}

.dc-accordion-item[open] summary {
    border: 1px solid var(--dc-line);
    border-radius: 4px;
    background: var(--dc-panel);
}

.dc-accordion-body {
    padding: 13px 24px 27px 4px;
    background: #000;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
}

.dc-accordion-body p {
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.dc-system {
    padding-top: 143px;
}

.dc-table-wrap {
    margin-top: 72px;
    overflow: hidden;
    border-radius: 15px;
    background: #383838;
}

.dc-system-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.dc-system-table thead{
    background: #1E1E1E;
}

.dc-system-table th,
.dc-system-table td {
    padding: 0 24px;
    text-align: left;
    vertical-align: middle;
}

.dc-system-table th {
    height: 68px;
    border-bottom: 1px solid rgba(209, 197, 180, 0.1);
    color: #bebebe;
    font-size: 16px;
    font-weight: 600;
    line-height: 12px;
}

.dc-system-table td {
    height: 78.5px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
}

.dc-system-table th:nth-child(1),
.dc-system-table td:nth-child(1) {
    width: 25.3%;
}

.dc-system-table th:nth-child(2),
.dc-system-table td:nth-child(2) {
    width: 39.9%;
}

.dc-system-table th:nth-child(3),
.dc-system-table td:nth-child(3) {
    width: 34.8%;
}

.dc-faq {
    padding-top: 146px;
}

.dc-faq .dc-accordion {
    margin-top: 49px;
}

.dc-related {
    height: 450px;
    margin-top: 69px;
    padding-top: 101px;
    background: linear-gradient(180deg, #000000 0%, #7e5b38 100%);
}

.dc-related h2 {
    text-align: center;
}

.dc-related-grid {
    display: grid;
    margin-top: 58px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dc-resource-card {
    position: relative;
    display: flex;
    min-height: 128px;
    padding: 31px 72px 28px 32px;
    flex-direction: column;
    justify-content: center;
    border-radius: 6px;
    background: #f8f8f8;
    color: #333;
    transition: transform 0.18s ease, background 0.18s ease;
}

.dc-resource-card,
.dc-resource-card:visited {
    color: #333 !important;
}

.dc-resource-card:hover,
.dc-resource-card:focus-visible {
    background: #f59e0b;
    color: #fff !important;
    transform: translateY(-2px);
}

.dc-resource-card--primary {
    background: #f59e0b;
    color: #fff !important;
}

.dc-resource-card--primary:visited {
    color: #fff !important;
}

.dc-related-grid:has(.dc-resource-card:not(.dc-resource-card--primary):hover) .dc-resource-card--primary,
.dc-related-grid:has(.dc-resource-card:not(.dc-resource-card--primary):focus-visible) .dc-resource-card--primary {
    background: #f8f8f8;
    color: #333 !important;
}

.dc-resource-card span {
    display: block;
    color: currentColor;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.72;
}

.dc-resource-card strong {
    display: block;
    margin-top: 8px;
    color: currentColor;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.dc-resource-card i {
    position: absolute;
    top: 50%;
    right: 34px;
    width: 14px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1280px) {
    .dc-container,
    .dc-container--wide {
        width: min(100% - 40px, 1232px);
    }

    .dc-panel {
        gap: 18px;
    }

    .dc-download-card h2 {
        font-size: 25px;
    }

    .dc-primary-button {
        width: 100%;
    }
}

@media (max-width: 1080px) {
    .dc-container,
    .dc-container--wide {
        width: calc(100% - 32px);
    }

    .dc-hero {
        height: 520px;
        background-position: center;
    }

    .dc-hero__inner {
        padding-top: 150px;
    }

    .dc-hero h1 {
        font-size: 42px;
    }

    .dc-hero p {
        width: min(420px, 100%);
        margin-left: auto;
        margin-right: auto;
        margin-top: 22px;
        font-size: 18px;
    }

    .dc-download {
        height: auto;
        padding-bottom: 0;
    }

    .dc-tabs {
        width: min(630px, 100%);
        padding: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .dc-tab {
        font-size: 16px;
    }

    .dc-panel,
    .dc-related-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .dc-panel {
        margin-top: 32px;
    }

    .dc-related-grid {
        margin-top: 40px;
    }

    .dc-panel--app .dc-download-card,
    .dc-panel--mt5 .dc-download-card {
        min-height: 0;
        padding: 32px 24px 28px;
    }

    .dc-download-card p {
        margin-top: 10px;
    }

    .dc-qr-link {
        width: 160px;
        height: 160px;
        margin-top: 18px;
    }

    .dc-primary-button {
        width: min(315px, 100%);
        height: 52px;
        margin-top: 28px;
        font-size: 20px;
    }

    .dc-download-card .dc-card-mobile-btn {
        display: inline-flex;
        margin-top: 18px;
    }

    .dc-section-heading h2,
    .dc-related h2 {
        font-size: 36px;
        line-height: 1.15;
    }

    .dc-section-heading p {
        width: min(420px, 100%);
        margin-left: auto;
        margin-right: auto;
        margin-top: 14px;
        font-size: 18px;
        line-height: 1.5;
    }

    .dc-guide,
    .dc-system,
    .dc-faq {
        padding-top: 72px;
    }

    .dc-guide .dc-accordion,
    .dc-faq .dc-accordion {
        margin-top: 32px;
    }

    .dc-table-wrap {
        margin-top: 32px;
        overflow: hidden;
        border-radius: 0;
        background: transparent;
    }

    .dc-system-table,
    .dc-system-table tbody,
    .dc-system-table tr,
    .dc-system-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .dc-system-table thead {
        display: none;
    }

    .dc-system-table tr {
        padding: 14px 16px;
        border-radius: 10px;
        background: #383838;
    }

    .dc-system-table tr + tr {
        margin-top: 12px;
    }

    .dc-system-table th,
    .dc-system-table td {
        height: auto;
        padding: 10px 0;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        white-space: normal;
        word-break: normal;
    }

    .dc-system-table td {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 14px;
    }

    .dc-system-table td + td {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dc-system-table td::before {
        content: attr(data-label);
        color: #bebebe;
        font-weight: 600;
    }

    .dc-system-table th:nth-child(1),
    .dc-system-table td:nth-child(1),
    .dc-system-table th:nth-child(2),
    .dc-system-table td:nth-child(2),
    .dc-system-table th:nth-child(3),
    .dc-system-table td:nth-child(3) {
        width: 100%;
    }

    .dc-accordion-body {
        padding: 14px 24px 22px;
        font-size: 16px;
    }

    .dc-related {
        height: auto;
        margin-top: 0;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .dc-resource-card {
        min-height: 108px;
    }
}

@media (max-width: 560px) {
    .dc-container,
    .dc-container--wide {
        width: calc(100% - 32px);
    }

    .dc-hero {
        height: 440px;
    }

    .dc-hero__inner {
        padding-top: 112px;
    }

    .dc-hero h1 {
        font-size: 34px;
    }

    .dc-hero p {
        width: min(300px, 100%);
        font-size: 15px;
        line-height: 1.5;
    }

    .dc-tabs {
        width: 100%;
        padding: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .dc-tab {
        min-width: 0;
        padding: 0 6px;
        height: 48px;
        font-size: 13px;
        line-height: 1.2;
        white-space: normal;
    }

    .dc-table-wrap {
        overflow: hidden;
        border-radius: 0;
        background: transparent;
    }

    .dc-system-table,
    .dc-system-table tbody,
    .dc-system-table tr,
    .dc-system-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .dc-system-table thead {
        display: none;
    }

    .dc-system-table tr {
        padding: 12px 14px;
        border-radius: 10px;
        background: #383838;
    }

    .dc-system-table tr + tr {
        margin-top: 10px;
    }

    .dc-system-table th,
    .dc-system-table td {
        height: auto;
        padding: 9px 0;
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: anywhere;
        white-space: normal;
        word-break: normal;
    }

    .dc-system-table td {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    .dc-system-table td::before {
        content: attr(data-label);
        color: #bebebe;
        font-weight: 600;
    }

    .dc-system-table th:nth-child(1),
    .dc-system-table td:nth-child(1),
    .dc-system-table th:nth-child(2),
    .dc-system-table td:nth-child(2),
    .dc-system-table th:nth-child(3),
    .dc-system-table td:nth-child(3) {
        width: 100%;
    }

    .dc-panel {
        margin-top: 28px;
    }

    .dc-panel--app .dc-download-card,
    .dc-panel--mt5 .dc-download-card {
        padding: 28px 20px 26px;
    }

    .dc-download-card h2 {
        font-size: 22px;
    }

    .dc-qr-link {
        width: 140px;
        height: 140px;
    }

    .dc-primary-button {
        font-size: 18px;
    }

    .dc-accordion-item summary {
        min-height: 56px;
        padding: 12px 46px 12px 18px;
        font-size: 16px;
    }

    .dc-accordion-item summary::after {
        right: 18px;
    }

    .dc-accordion-body {
        padding: 12px 18px 20px;
        font-size: 15px;
    }

    .dc-section-heading h2,
    .dc-related h2 {
        font-size: 30px;
    }

    .dc-related-grid {
        margin-top: 36px;
    }

    .dc-resource-card {
        min-height: 108px;
        padding: 24px 58px 24px 24px;
    }
}
