:root {
    --jcc-canvas: #0B0E14;
    --jcc-surface: rgba(22, 28, 38, 0.85);
    --jcc-surface-hot: rgba(32, 40, 54, 0.95);
    --jcc-gold: #F0B232;
    --jcc-gold-soft: #FFD875;
    --jcc-cyan: #00D2FF;
    --jcc-ink: #FFFFFF;
    --jcc-ink-2: #E2E8F0;
    --jcc-ink-3: #8A99AD;
    --jcc-line: rgba(240, 178, 50, 0.22);
    --jcc-glow: 0 0 20px rgba(240, 178, 50, 0.25);
    --jcc-round-lg: 14px;
    --jcc-round-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--jcc-canvas);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(240, 178, 50, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(0, 210, 255, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--jcc-ink);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

.jcc-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 14, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--jcc-line);
}

.jcc-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jcc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jcc-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--jcc-round-sm);
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.jcc-brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, #FFFFFF 30%, var(--jcc-gold-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.jcc-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.jcc-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--jcc-round-sm);
    background: rgba(15, 20, 30, 0.7);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.jcc-menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--jcc-gold-soft);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.jcc-menu-btn.is-open .jcc-menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.jcc-menu-btn.is-open .jcc-menu-bar:nth-child(2) {
    opacity: 0;
}

.jcc-menu-btn.is-open .jcc-menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.jcc-menu-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.jcc-menu-item a {
    font-size: 14px;
    font-weight: 500;
    color: var(--jcc-ink-3);
    padding: 6px 0;
    position: relative;
    transition: color 0.3s;
}

.jcc-menu-item a:hover,
.jcc-menu-item.is-current a {
    color: var(--jcc-gold-soft);
}

.jcc-menu-item.is-current a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--jcc-gold);
    border-radius: 2px;
    box-shadow: var(--jcc-glow);
}

.jcc-page {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jcc-panel {
    background: var(--jcc-surface);
    border: 1px solid var(--jcc-line);
    border-radius: var(--jcc-round-lg);
    padding: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.jcc-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jcc-ink);
    border-left: 4px solid var(--jcc-gold);
    padding-left: 10px;
}

.jcc-lead {
    font-size: 13px;
    color: var(--jcc-ink-3);
    line-height: 1.7;
    margin-bottom: 20px;
}

.jcc-pay-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.jcc-pay-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jcc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jcc-label {
    font-size: 14px;
    color: var(--jcc-ink-2);
    font-weight: 600;
}

.jcc-input {
    padding: 12px 16px;
    background: rgba(10, 14, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--jcc-round-sm);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    flex: 1;
    min-width: 200px;
}

.jcc-input:focus {
    border-color: var(--jcc-gold);
    box-shadow: 0 0 8px rgba(240, 178, 50, 0.3);
}

.jcc-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.jcc-tier {
    background: rgba(15, 20, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--jcc-round-sm);
    padding: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jcc-tier input[type="radio"],
.jcc-channel input[type="radio"],
.jcc-platform input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.jcc-tier:hover {
    border-color: rgba(240, 178, 50, 0.5);
    background: var(--jcc-surface-hot);
}

.jcc-tier.is-on,
.jcc-tier:has(input:checked) {
    border-color: var(--jcc-gold);
    background: rgba(240, 178, 50, 0.12);
    box-shadow: var(--jcc-glow);
}

.jcc-tier-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FF4B4B, #FF2E93);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-bottom-left-radius: 6px;
}

.jcc-tier-rmb {
    font-size: 20px;
    font-weight: 800;
    color: #FFF;
}

.jcc-tier-coin {
    font-size: 13px;
    color: var(--jcc-gold-soft);
    font-weight: 600;
    margin-top: 4px;
}

.jcc-tier-extra {
    font-size: 11px;
    color: var(--jcc-ink-3);
}

.jcc-channel-row,
.jcc-platform-row {
    display: flex;
    gap: 12px;
}

.jcc-channel,
.jcc-platform {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(15, 20, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--jcc-round-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.jcc-channel.is-on,
.jcc-channel:has(input:checked),
.jcc-platform.is-on,
.jcc-platform:has(input:checked) {
    border-color: var(--jcc-gold);
    background: rgba(240, 178, 50, 0.12);
}

.jcc-channel-icon,
.jcc-platform-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.jcc-ticket {
    background: rgba(12, 16, 24, 0.8);
    border: 1px solid rgba(240, 178, 50, 0.3);
    border-radius: var(--jcc-round-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: fit-content;
}

.jcc-ticket-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--jcc-ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.jcc-ticket-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--jcc-ink-3);
}

.jcc-ticket-line span:last-child {
    color: var(--jcc-ink);
    font-weight: 600;
}

.jcc-ticket-pay {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 12px;
    margin-top: 4px;
}

.jcc-ticket-pay .jcc-ticket-rmb {
    font-size: 24px;
    color: var(--jcc-gold);
    font-weight: 900;
}

.jcc-commit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #F0B232 0%, #E09612 100%);
    border: none;
    border-radius: var(--jcc-round-sm);
    color: #0E121A;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(240, 178, 50, 0.3);
}

.jcc-commit:active {
    transform: scale(0.98);
}

.jcc-guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jcc-guide-item {
    position: relative;
    padding-left: 18px;
    color: var(--jcc-ink-3);
    font-size: 13px;
    line-height: 1.6;
}

.jcc-guide-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--jcc-gold);
    font-weight: bold;
}

.jcc-qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.jcc-qa {
    background: rgba(10, 14, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
    border-radius: var(--jcc-round-sm);
}

.jcc-qa-ask {
    font-size: 14px;
    font-weight: 700;
    color: var(--jcc-ink);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.jcc-qa-mark {
    color: var(--jcc-gold);
    font-weight: 900;
}

.jcc-qa-reply {
    font-size: 12px;
    color: var(--jcc-ink-3);
    line-height: 1.6;
}

.jcc-get-wrap {
    display: flex;
    justify-content: center;
}

.jcc-get-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.jcc-get-code {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: var(--jcc-round-sm);
    background: #fff;
    padding: 8px;
    box-shadow: 0 0 18px rgba(240, 178, 50, 0.18);
}

.jcc-get-hint {
    font-size: 13px;
    color: var(--jcc-ink-3);
}

.jcc-os-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.jcc-os-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(10, 14, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--jcc-round-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--jcc-ink-2);
    user-select: none;
    cursor: default;
}

.jcc-os-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.jcc-bottom {
    background: #06080C;
    border-top: 1px solid var(--jcc-line);
    padding: 32px 16px;
    margin-top: 32px;
}

.jcc-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.jcc-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.jcc-legal a {
    font-size: 12px;
    color: var(--jcc-ink-3);
    transition: color 0.2s;
}

.jcc-legal a:hover {
    color: var(--jcc-gold);
}

.jcc-meta {
    font-size: 11px;
    color: #5A697B;
    line-height: 1.8;
}

.jcc-beian {
    color: #5A697B;
    display: inline-flex;
    align-items: center;
}

.jcc-bonus-num {
    color: #FF4B4B;
}

.jcc-total-coin {
    color: var(--jcc-gold-soft);
}

@media (max-width: 900px) {
    .jcc-pay-grid {
        grid-template-columns: 1fr;
    }

    .jcc-ticket {
        order: 2;
    }
}

@media (max-width: 768px) {
    .jcc-brand {
        min-width: 0;
        flex: 1;
    }

    .jcc-brand-name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .jcc-menu-btn {
        display: flex;
        flex-shrink: 0;
    }

    .jcc-menu-list {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        min-width: 168px;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        background: rgba(12, 16, 24, 0.98);
        border: 1px solid var(--jcc-line);
        border-radius: var(--jcc-round-sm);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
        z-index: 120;
    }

    .jcc-menu-list.is-open {
        display: flex;
    }

    .jcc-menu-item a {
        display: block;
        font-size: 14px;
        padding: 12px 14px;
        border-radius: 6px;
    }

    .jcc-menu-item a:hover,
    .jcc-menu-item.is-current a {
        background: rgba(240, 178, 50, 0.1);
    }

    .jcc-menu-item.is-current a::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .jcc-topbar-inner {
        height: 56px;
        padding: 0 12px;
    }

    .jcc-brand-name {
        font-size: 15px;
    }

    .jcc-brand-mark {
        width: 30px;
        height: 30px;
    }

    .jcc-page {
        padding: 0 12px;
        margin: 16px auto;
        gap: 16px;
    }

    .jcc-panel {
        padding: 16px;
        border-radius: 10px;
    }

    .jcc-heading {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .jcc-lead {
        margin-bottom: 16px;
    }

    .jcc-tier-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .jcc-tier {
        padding: 12px 10px;
    }

    .jcc-tier-rmb {
        font-size: 18px;
    }

    .jcc-tier-coin {
        font-size: 12px;
    }

    .jcc-channel-row,
    .jcc-platform-row {
        flex-direction: row;
    }

    .jcc-channel,
    .jcc-platform {
        padding: 10px;
        font-size: 13px;
    }

    .jcc-get-code {
        width: 120px;
        height: 120px;
    }
}
