@font-face {
    font-family: 'sc-display';
    src: url('../fonts/Sekuya-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'sc-body';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-display: swap;
}

/* ===== 主题变量 ===== */
:root {
    --sc-bg: #05070f;
    --sc-bg2: #080c17;
    --sc-panel: #0f1524;
    --sc-panel2: #141c2e;
    --sc-line: #1e2a44;
    --sc-gold: #ffc400;
    --sc-amber: #ff9500;
    --sc-red: #ff3b2f;
    --sc-cyan: #29d3ff;
    --sc-purple: #9b4dff;
    --sc-text: #e8eef9;
    --sc-muted: #8c9ab4;
    --sc-font-display: 'sc-display', 'Impact', sans-serif;
    --sc-font-head: 'sc-head', 'Arial Black', sans-serif;
    --sc-font-body: 'sc-body', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.tp-home {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background: var(--sc-bg);
    color: var(--sc-text);
    font-family: var(--sc-font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.tp-home img {
    max-width: 100%;
    border: 0;
}

body.tp-home a {
    text-decoration: none;
    color: inherit;
}

body.tp-home ul,
body.tp-home ol {
    margin: 0;
    padding: 0;
}

body.tp-home li {
    list-style: none !important;
}

body.tp-home h1,
body.tp-home h2,
body.tp-home h3,
body.tp-home h4,
body.tp-home p {
    margin: 0;
}

body.tp-home button {
    font-family: inherit;
}

.gm-bg-body {
    background: var(--sc-bg);
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* ===== 容器 ===== */
.sc-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ===== 按钮 ===== */
.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border: 0;
    cursor: pointer;
    font-family: var(--sc-font-head);
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #14100a;
    background: linear-gradient(135deg, #ffd24a, #ff9500);
    clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
    transition: filter 0.2s, transform 0.2s;
    white-space: nowrap;
}

.sc-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.sc-btn--sm {
    padding: 10px 18px;
    font-size: 11px;
}

/* ===== 通用 TP 按钮(错误页/老页面兼容) ===== */
.tp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--sc-font-head);
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #14100a;
    background: linear-gradient(135deg, #ffd24a, #ff9500);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: filter 0.2s;
}

.tp-btn:hover {
    filter: brightness(1.1);
}

.tp-btn-cyan {
    background: rgba(41, 211, 255, 0.12);
    color: var(--sc-cyan);
    box-shadow: inset 0 0 0 1px rgba(41, 211, 255, 0.45);
}

/* ===== 站点头部 ===== */
.sc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 9, 18, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 196, 0, 0.14);
}

.sc-header__row {
    max-width: 1280px;
    margin: 0 auto;
    height: 72px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sc-brand__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 19px;
    color: #100c00;
    background: linear-gradient(135deg, #ffd24a, #ff7a00);
    clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}

.sc-brand__name {
    font-family: var(--sc-font-display);
    font-size: 19px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff6d0, #ffc400 58%, #ff8a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.sc-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.sc-nav a {
    position: relative;
    padding: 6px 0;
    font-family: var(--sc-font-head);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93a1b8;
    transition: color 0.2s;
}

.sc-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc400, #ff7a00);
    transition: width 0.25s;
}

.sc-nav a:hover {
    color: var(--sc-gold);
}

.sc-nav a:hover::after {
    width: 100%;
}

.sc-header__act {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sc-header__login {
    font-family: var(--sc-font-head);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cbd6e8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 2px;
}

.sc-header__login:hover {
    color: var(--sc-gold);
    border-color: var(--sc-gold);
}

.sc-header__user {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--sc-gold);
    border: 1px solid rgba(255, 196, 0, 0.4);
    border-radius: 50%;
}

/* ===== 站点底部 ===== */
.sc-footer {
    background: #04070e;
    border-top: 1px solid rgba(255, 196, 0, 0.16);
    padding: 54px 0 22px;
}

.sc-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sc-footer__brand p {
    margin-top: 14px;
    max-width: 320px;
    font-size: 12.5px;
    line-height: 1.7;
    color: #7b8aa2;
}

.sc-footer__col h4 {
    font-family: var(--sc-font-head);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sc-gold);
    margin-bottom: 20px !important;
}

.sc-footer__col li {
    margin-bottom: 9px;
}

.sc-footer__col a {
    font-size: 12.5px;
    color: #8c9ab4;
    transition: color 0.2s;
}

.sc-footer__col a:hover {
    color: #e8eef9;
}

.sc-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.sc-footer__bottom p {
    font-size: 12px;
    color: #64718a;
}

.sc-footer__bottom a {
    color: #a8b5c9;
}

.sc-footer__bottom img {
    max-width: 200px !important;
    opacity: 0.8;
}

/* ===== 响应式 ===== */
@media (max-width: 980px) {
    .sc-nav {
        display: none;
    }
    .sc-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }
}

@media (max-width: 640px) {
    .sc-header__row {
        height: 62px;
        padding: 0 16px;
        gap: 12px;
    }
    .sc-brand__name {
        font-size: 16px;
    }
    .sc-brand__mark {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .sc-btn {
        padding: 11px 18px;
        font-size: 11.5px;
    }
    .sc-wrap {
        padding: 0 16px;
    }
    .sc-footer {
        padding-top: 40px;
    }
    .sc-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
