:root {
    --warm-white: #fff7ed;
    --card: #ffffff;
    --pink: #f9a8d4;
    --pink-light: #fce7f3;
    --purple: #a78bfa;
    --cyan: #67e8f9;
    --yellow: #fde68a;
    --text: #374151;
    --muted: #6b7280;
    --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
    position: relative;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--warm-white);
    font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background-image: var(--desktop-bg);
    background-position: center top;
    background-size: cover;
    opacity: .15;
    content: "";
}

body::after {
    position: fixed;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,247,237,.66), rgba(255,247,237,.82));
    content: "";
}

.page-shell {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 82px 0 88px;
}

.page-title {
    width: max-content;
    max-width: 100%;
    margin: 0 auto 72px;
    padding: 0;
    border: 0;
    color: #4b4350;
    background: none;
    font-size: clamp(38px, 4.8vw, 56px);
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.15;
    text-align: center;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.activity-card {
    display: flex;
    min-width: 0;
    min-height: 320px;
    flex-direction: column;
    padding: 30px;
    border: 2px solid #fbcfe8;
    border-radius: 28px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 25px rgba(219,128,174,.10), 0 2px 8px rgba(107,114,128,.05);
    transition: transform .28s var(--spring), box-shadow .28s ease, border-color .2s ease;
}

.activity-card:nth-child(4n + 2),
.activity-card:nth-child(4n + 3) { border-color: #ddd6fe; }

.activity-card:hover {
    border-color: var(--pink);
    box-shadow: 0 16px 32px rgba(219,128,174,.16), 0 4px 10px rgba(107,114,128,.06);
    transform: translateY(-4px) scale(1.018);
}

.activity-card:active { transform: scale(.985); }

.activity-content {
    width: 100%;
    min-height: 0;
    padding: 0;
    flex: 1;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.activity-content h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
}

.activity-description {
    max-width: 70ch;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.activity-cover {
    display: block;
    width: 100%;
    max-height: 240px;
    margin-bottom: 22px;
    border: 0;
    border-radius: 20px;
    object-fit: cover;
}

.enter-button {
    display: flex;
    width: 100%;
    min-height: 50px;
    margin-top: 26px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fbcfe8;
    border-radius: 999px;
    color: #9d426e;
    background: linear-gradient(105deg, #f9a8d4 0%, #fff 52%, #fbcfe8 100%);
    background-size: 180% 100%;
    box-shadow: 0 6px 14px rgba(219,128,174,.13);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s var(--spring), background-position .25s ease, box-shadow .25s ease;
}

.enter-button:hover {
    background-position: 100% 0;
    box-shadow: 0 10px 20px rgba(219,128,174,.20);
    transform: scaleX(1.025) scaleY(.975);
}

.enter-button:active {
    box-shadow: 0 3px 8px rgba(219,128,174,.13);
    transform: scaleX(.96) scaleY(.92);
}

.enter-button:focus-visible { outline: 4px solid rgba(249,168,212,.32); outline-offset: 3px; }

.banner-list { display: grid; gap: 24px; margin: 52px auto 0; }

.banner {
    display: block;
    padding: 8px;
    overflow: hidden;
    border: 2px solid #fbcfe8;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(219,128,174,.10);
    transition: transform .28s var(--spring), box-shadow .25s ease;
}

.banner:hover { box-shadow: 0 16px 30px rgba(219,128,174,.16); transform: translateY(-3px) scale(1.012); }
.banner:active { transform: scale(.985); }
.banner:focus-visible { outline: 4px solid rgba(249,168,212,.32); outline-offset: 3px; }
.banner img { display: block; width: 100%; height: auto; border-radius: 20px; }
.empty-state { margin: 96px 0; color: var(--muted); font-weight: 500; text-align: center; }

@media (max-width: 700px) {
    body::before { background-image: var(--mobile-bg); opacity: .13; }
    .page-shell { width: min(100% - 32px, 480px); padding: 60px 0 64px; }
    .page-title { margin-bottom: 52px; font-size: 38px; }
    .activity-grid { grid-template-columns: 1fr; gap: 24px; }
    .activity-card { min-height: 270px; padding: 24px; border-radius: 24px; }
    .activity-content h2 { font-size: 19px; }
    .enter-button { margin-top: 22px; }
    .banner-list { margin-top: 34px; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
