@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700;900&display=swap');

:root {
    --ink: #332725;
    --muted: #786967;
    --paper: #fffaf6;
    --rose: #e95d77;
    --line: rgba(67, 42, 38, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background:
        radial-gradient(circle at 9% 12%, rgba(255, 176, 151, 0.32), transparent 28rem),
        radial-gradient(circle at 91% 75%, rgba(236, 146, 179, 0.23), transparent 25rem),
        #fff8f3;
}

a { color: inherit; text-decoration: none; }

.home-shell {
    width: min(1320px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 34px 54px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
    border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px 14px 14px 5px;
    color: #fff;
    background: linear-gradient(135deg, #ef7790, #d94169);
    box-shadow: 0 10px 24px rgba(217, 65, 105, 0.24);
}

.admin-link {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    transition: .2s ease;
}

.admin-link:hover { color: var(--rose); border-color: rgba(233, 93, 119, .4); }

.hero {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(44px, 7vw, 100px);
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 58px 0 28px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--rose);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .19em;
}

h1, h2, p { margin-top: 0; }

h1 {
    margin-bottom: 24px;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.22;
    letter-spacing: -.04em;
}

h1 em { color: var(--rose); font-style: normal; }

.subtitle {
    max-width: 520px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.feature-row { display: flex; flex-wrap: wrap; gap: 10px; }

.feature-row span {
    padding: 8px 13px;
    border-radius: 99px;
    color: #8a5d58;
    font-size: 12px;
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 0 0 1px var(--line);
}

.mode-panel {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 34px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 30px 90px rgba(103, 62, 55, .13);
    backdrop-filter: blur(24px);
}

.section-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; font-family: "Noto Serif SC", serif; font-size: clamp(26px, 3vw, 36px); }
.step-badge { color: #aa9995; font: 700 12px monospace; }
.mode-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.mode-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 132px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(255,255,255,.78);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.mode-card::after {
    content: '';
    position: absolute;
    right: -35px;
    bottom: -50px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--mode-color);
    opacity: .1;
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--mode-color) 45%, transparent);
    box-shadow: 0 18px 38px color-mix(in srgb, var(--mode-color) 16%, transparent);
}

.mode-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 17px;
    color: #fff;
    font-family: "Noto Serif SC", serif;
    font-weight: 900;
    background: var(--mode-color);
}

.mode-content { display: grid; gap: 3px; min-width: 0; }
.mode-meta { color: var(--mode-color); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.mode-content strong { font-family: "Noto Serif SC", serif; font-size: 19px; }
.mode-content small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mode-arrow { margin-left: auto; color: var(--mode-color); font-size: 20px; }
.loading-card { grid-column: 1 / -1; padding: 50px; color: var(--muted); text-align: center; }

.intimate-card {
    min-height: 146px;
    border-color: rgba(205, 174, 116, .28);
    color: #f7ead4;
    background:
        radial-gradient(circle at 92% 18%, rgba(202, 160, 94, .18), transparent 34%),
        linear-gradient(135deg, #29151c, #160f16 72%);
    box-shadow: inset 0 1px rgba(255,255,255,.06), 0 18px 40px rgba(42, 16, 27, .18);
}

.intimate-card::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(213, 181, 121, .13);
    border-radius: 17px;
    pointer-events: none;
}

.intimate-card::after { background: #bd8e55; opacity: .13; }
.intimate-card .mode-icon { color: #241319; background: linear-gradient(145deg, #f0d6a2, #a97740); box-shadow: 0 10px 28px rgba(194, 147, 76, .2); }
.intimate-card .mode-meta,.intimate-card .mode-arrow { color: #d9b97d; }
.intimate-card .mode-content small { color: rgba(247,234,212,.62); }
.intimate-card:hover { border-color: rgba(218, 181, 111, .55); box-shadow: 0 22px 46px rgba(42,16,27,.3); }
.private-badge { position: absolute; top: 11px; right: 13px; padding: 4px 7px; border: 1px solid rgba(219,185,123,.2); border-radius: 99px; color: #d9b97d; font-size: 7px; font-weight: 900; letter-spacing: .08em; background: rgba(217,185,125,.07); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 42px; }
    .hero-copy { text-align: center; }
    .subtitle { margin-left: auto; margin-right: auto; }
    .feature-row { justify-content: center; }
}

@media (max-width: 600px) {
    .home-shell { padding: 0 16px 28px; }
    .topbar { height: 70px; }
    .hero { gap: 34px; padding-top: 34px; }
    h1 { font-size: 43px; }
    .mode-panel { padding: 20px; border-radius: 26px; }
    .mode-list { grid-template-columns: 1fr; }
    .mode-card { min-height: 108px; }
}
