/* Remder 服务器官网样式 - 仿虚空幻境暖棕深色 + 橙色主题 */
:root {
    --bg-deep: #221a14;
    --bg-card: #2c231c;
    --bg-panel: #322217;
    --bg-elevated: #3a2e24;
    --orange: #ff8c42;
    --orange-light: #ff9f5a;
    --orange-deep: #ff6b35;
    --pink: #ff6b9d;
    --green: #4ade80;
    --red: #f87171;
    --text: #f5efe8;
    --text-dim: #b8a89a;
    --text-faint: #8a7a6c;
    --border: rgba(255, 140, 66, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景粒子层 */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 40% at 20% 10%, rgba(255, 140, 66, 0.12), transparent),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255, 107, 157, 0.08), transparent),
        radial-gradient(ellipse 70% 50% at 50% 90%, rgba(255, 111, 53, 0.06), transparent),
        var(--bg-deep);
}

/* ===== 导航 ===== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(34, 26, 20, 0.85);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}
.logo-icon { font-size: 24px; }
.logo-text {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-btn {
    padding: 8px 16px;
    color: var(--text-dim);
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    transition: all .2s;
}
.nav-btn:hover { color: var(--text); background: var(--bg-elevated); }
.nav-btn.active { color: var(--orange); }
.nav-actions { display: flex; gap: 10px; }
.nav-btn-qq {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}
.nav-btn-qq:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35); }

/* ===== Hero ===== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px 60px;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--orange-light);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    background: rgba(255, 140, 66, 0.08);
}
.hero-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff, var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    text-shadow: 0 0 60px rgba(255, 140, 66, 0.3);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 36px;
}
.hero-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.addr-label { color: var(--text-faint); font-size: 14px; }
.addr-copy {
    padding: 12px 28px;
    background: var(--bg-panel);
    border: 1px dashed var(--orange-deep);
    border-radius: 12px;
    color: var(--orange-light);
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s;
}
.addr-copy:hover { background: var(--bg-elevated); border-color: var(--orange); transform: translateY(-2px); }

/* ===== 在线状态卡片 ===== */
.server-status-card {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--bg-panel), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--text-dim);
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-faint);
    animation: pulse 1.5s infinite;
}
.status-dot.online { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-dot.offline { background: var(--red); box-shadow: 0 0 10px var(--red); animation: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stat-card-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 16px;
}
.stat-label { font-size: 13px; color: var(--text-faint); margin-bottom: 8px; }
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}
.stat-value.highlight { color: var(--orange); }

/* ===== 通用 section ===== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px;
}
.section-title {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-desc {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 44px;
    font-size: 16px;
}

/* ===== 特色卡片 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all .25s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange-deep);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.15);
}
.feature-icon { font-size: 38px; margin-bottom: 16px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--orange-light); }
.feature-card p { color: var(--text-dim); font-size: 14px; }

/* ===== 指南步骤 ===== */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.guide-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    color: #fff;
}
.guide-step h3 { font-size: 18px; margin-bottom: 10px; color: var(--orange-light); }
.guide-step p { color: var(--text-dim); font-size: 14px; }

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-q::after { content: '+'; color: var(--orange); font-size: 20px; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: var(--text-dim);
    padding: 0 22px;
    font-size: 14px;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a b { color: var(--orange-light); }

/* ===== 底部 ===== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 24px;
    text-align: center;
    color: var(--text-faint);
    font-size: 14px;
}
.footer-inner p { margin-bottom: 6px; }

/* ===== 复制提示 ===== */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) translateY(20px);
    background: var(--orange);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
    z-index: 999;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 46px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .guide-steps { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-inner { gap: 12px; }
}

/* ===== 多页面内容样式 ===== */
.page-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px 20px;
    text-align: center;
}
.page-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--orange-light), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.page-subtitle {
    color: var(--text-dim);
    font-size: 17px;
}
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    transition: all .25s;
}
.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange-deep);
    box-shadow: 0 10px 28px rgba(255, 140, 66, 0.14);
}
.detail-card h3 {
    font-size: 18px;
    color: var(--orange-light);
    margin-bottom: 10px;
}
.detail-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
}
.text-block {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 30px;
}
.text-block p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}
.text-block b { color: var(--orange-light); }
.text-block .hl {
    color: var(--orange);
    background: rgba(255, 140, 66, 0.12);
    padding: 2px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', Consolas, monospace;
}
.text-block .tip {
    color: var(--text-faint);
    font-size: 13px;
    background: rgba(255, 159, 90, 0.08);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--orange);
}
.cmd-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmd-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 20px;
}
.cmd {
    color: var(--orange-light);
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 12px;
    border-radius: 8px;
    min-width: 180px;
}
.cmd-desc { color: var(--text-dim); font-size: 14px; }
a.feature-card { text-decoration: none; display: block; }
a.guide-step { text-decoration: none; display: block; }
.quick-links { padding-top: 20px; }

@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 32px; }
    .cmd-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cmd { min-width: auto; }
}
