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

:root {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #fafafa;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #a1a1a6;
    --accent: #c0651e;
    --accent-light: #e8943a;
    --accent-bg: rgba(192, 101, 30, 0.06);
    --border: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.08);
    --radius: 20px;
    --radius-lg: 28px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Legacy aliases keep every management page on the same visual system. */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --border-light: rgba(255, 255, 255, 0.62);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #c0651e 52%, #843a16 100%);
    --text-light: var(--text-secondary);
    --text-muted: var(--text-secondary);
    --card-bg: var(--bg-secondary);
    --accent-color: var(--accent);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Noto Serif SC', 'PingFang SC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: rgba(192, 101, 30, 0.2);
    color: var(--text-primary);
}

/* ===== 导航栏 ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

nav .logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

nav .logo img {
    width: 32px;
    height: 32px;
}

nav .nav-links {
    display: flex;
    gap: 36px;
}

nav .nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    color: var(--text-primary);
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 1px;
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after {
    width: 100%;
}

/* ===== Hero 区域 ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 40px 100px;
    position: relative;
    background: var(--bg-primary);
}

.hero-section .hero-badge-row {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .hero-badge {
    padding: 8px 18px;
    background: var(--bg-secondary);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hero-section .hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-section h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: 72px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 6px;
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
}

.hero-section .subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 12px;
    animation: fadeInUp 1s ease-out 0.15s both;
    letter-spacing: 2px;
}

.hero-section .desc {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-section .hero-stats {
    display: flex;
    gap: 80px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-section .hero-stat {
    text-align: center;
}

.hero-section .hero-stat .stat-number {
    font-family: 'Noto Serif SC', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1;
}

.hero-section .hero-stat .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-section .scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-tertiary);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-section .scroll-hint i {
    animation: bounce 2s infinite;
    font-size: 16px;
}

/* ===== 通用 Section ===== */
.section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 4px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 72px;
    letter-spacing: 1px;
}

/* ===== 通知公告 ===== */
.notices-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.notices-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.notices-section h3 i {
    color: var(--accent);
    font-size: 20px;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.notice-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    padding-left: 12px;
}

.notice-item:hover .notice-title {
    color: var(--accent);
}

.notice-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.notice-title .tag {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 4px;
    font-weight: 600;
}

.notice-time {
    font-size: 13px;
    color: var(--text-tertiary);
    font-family: 'Inter', monospace;
}

/* ===== 轮播横幅 ===== */
.banner-section {
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--bg-secondary);
}

.banner-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
    min-width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf8f5 0%, #f0ebe4 100%);
}

.banner-slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    width: 100%;
    max-width: 1200px;
}

.banner-slide-text h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.banner-slide-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.banner-slide-text .banner-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--text-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.banner-slide-text .banner-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 101, 30, 0.3);
}

.banner-slide-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.banner-nav:hover {
    background: var(--text-primary);
    color: #fff;
}

.banner-nav.prev { left: 20px; }
.banner-nav.next { right: 20px; }

.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--text-primary);
    width: 24px;
    border-radius: 4px;
}

/* ===== 社区活动 ===== */
.activities-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.activities-track::-webkit-scrollbar {
    display: none;
}

.activity-card {
    min-width: 360px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover img {
    transform: scale(1.05);
}

.activity-card .activity-img-wrap {
    overflow: hidden;
}

.activity-card .activity-body {
    padding: 28px;
}

.activity-card h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.activity-card h4:hover {
    color: var(--accent);
}

.activity-card .activity-meta {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
}

.activity-card .activity-meta i {
    margin-right: 4px;
}

.activity-card .btn-signup {
    display: block;
    text-align: center;
    padding: 12px 24px;
    background: var(--text-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.activity-card .btn-signup:hover {
    background: var(--accent);
}

/* ===== 快捷入口 ===== */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shortcut-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 48px 36px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.shortcut-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.shortcut-card .icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--accent-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.shortcut-card:hover .icon-wrap {
    background: var(--accent);
}

.shortcut-card .icon-wrap i {
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.shortcut-card:hover .icon-wrap i {
    color: #fff;
}

.shortcut-card h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.shortcut-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== 好人好事 ===== */
.stories-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.stories-track::-webkit-scrollbar {
    display: none;
}

.story-card {
    min-width: 320px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.story-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.story-card .story-body {
    padding: 24px;
}

.story-card h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.story-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 寻物启事 ===== */
.lost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.lost-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.lost-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.lost-card .img-wrap {
    position: relative;
}

.lost-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lost-card .tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lost-card .lost-body {
    padding: 24px;
}

.lost-card h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.lost-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.lost-card .contact {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ===== 投诉建议 ===== */
.complaint-section {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    max-width: 520px;
    margin: 0 auto;
}

.complaint-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px var(--accent-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--text-primary);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 101, 30, 0.3);
}

.result-message {
    text-align: center;
    padding: 60px 40px;
    display: none;
}

.result-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.result-message i {
    font-size: 64px;
    color: #34c759;
    margin-bottom: 20px;
}

.result-message h4 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.result-message p {
    color: var(--text-secondary);
}

/* ===== 最美物业人员投票 ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.staff-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.staff-card.voted {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.staff-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--border);
    transition: var(--transition);
}

.staff-card:hover img {
    border-color: var(--accent);
    transform: scale(1.05);
}

.staff-card .staff-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.staff-card .staff-role {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.staff-card .staff-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 66px;
}

.staff-card .vote-count {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    font-family: 'Noto Serif SC', serif;
}

.staff-card .vote-count span {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 400;
    margin-left: 4px;
}

.staff-card .vote-progress {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 16px 0;
    overflow: hidden;
}

.staff-card .vote-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.staff-card .vote-btn {
    width: 100%;
    padding: 12px;
    background: var(--text-primary);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.staff-card .vote-btn:hover:not(:disabled) {
    background: var(--accent);
}

.staff-card .vote-btn:disabled {
    background: var(--border);
    color: var(--text-tertiary);
    cursor: not-allowed;
}

/* ===== 关于我们 ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-text h3 i {
    color: var(--accent);
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 20px;
}

.about-text .phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--bg-secondary);
    border-radius: 100px;
    border: 1px solid var(--border);
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-text .phone-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.about-text .phone-pill i {
    color: var(--accent);
}

.about-img-wrap {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: -20px;
    bottom: -20px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.08;
    z-index: 0;
    filter: blur(30px);
}

.about-img-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== 联系我们 ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 36px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card h3 i {
    color: var(--accent);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    transition: var(--transition);
}

.info-row:hover {
    background: var(--accent-bg);
    transform: translateX(4px);
}

.info-row i {
    font-size: 20px;
    color: var(--accent);
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.info-row .info-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.info-row .info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.map-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 39px, var(--border) 39px, var(--border) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, var(--border) 39px, var(--border) 40px);
    opacity: 0.5;
}

.map-card-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 60px;
}

.map-card-inner i {
    font-size: 64px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.6;
}

.map-card-inner p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===== 高德地图 ===== */
.map-card::before { display: none; }
.amap-frame {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #f4f4f2;
}
.map-location-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(29, 29, 31, 0.16);
}
.map-location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    color: #fff;
    border-radius: 12px;
    background: var(--gradient-accent);
}
.map-location-card div { min-width: 0; flex: 1; }
.map-location-card strong, .map-location-card span { display: block; }
.map-location-card strong { font-size: 14px; color: var(--text-primary); }
.map-location-card span { margin-top: 1px; overflow: hidden; color: var(--text-secondary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.map-location-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50%;
    background: rgba(29, 29, 31, 0.06);
    transition: var(--transition);
}
.map-location-card a:hover { color: #fff; background: var(--accent); }

.map-card-static {
    display: block;
    min-height: 0;
    padding-bottom: 22px;
}
.map-static-image {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
}
.map-card-static .map-location-card {
    position: relative;
    inset: auto;
    margin: -42px 20px 0;
}
.transport-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 20px 0;
}
.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    color: var(--text-secondary);
    border-radius: 12px;
    background: var(--bg-tertiary);
    font-size: 12px;
    line-height: 1.55;
}
.transport-item > i { width: 16px; padding-top: 3px; color: var(--accent); }
.transport-item strong { display: inline; margin-right: 4px; color: var(--text-primary); font-size: 13px; }

/* ===== Footer ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand img {
    width: 44px;
    height: 44px;
}

.footer-brand h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 后台 ===== */
.admin-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.admin-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    overflow-y: auto;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin: 0 12px;
    border-radius: 12px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: var(--accent-bg);
    color: var(--accent);
}

.admin-sidebar a i {
    width: 20px;
    text-align: center;
}

.admin-content {
    margin-left: 240px;
    padding: 96px 40px 40px;
    max-width: 960px;
}

.admin-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.data-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--bg-tertiary);
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--text-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-add:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-delete {
    padding: 6px 14px;
    background: rgba(255, 59, 48, 0.08);
    color: #ff3b30;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-delete:hover {
    background: rgba(255, 59, 48, 0.15);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 480px;
    max-width: 90%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-cancel {
    padding: 12px 24px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-card i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== 移动端汉堡菜单按钮 ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 平板适配 ===== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 30px;
    }

    .section-title {
        font-size: 40px;
    }

    .hero-section h1 {
        font-size: 56px;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ===== 手机适配 ===== */
@media (max-width: 768px) {
    /* 导航栏 - 汉堡菜单 */
    .nav-toggle {
        display: flex;
    }

    nav .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.mobile-open {
        max-height: 300px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .nav-links a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }

    /* Hero 区域 */
    .hero-section {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .hero-section .subtitle {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .hero-section .desc {
        font-size: 14px;
    }

    .hero-section .hero-badge-row {
        gap: 8px;
        margin-bottom: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-section .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section .hero-stat .stat-number {
        font-size: 28px;
    }

    .hero-section .hero-stat .stat-label {
        font-size: 11px;
    }

    .hero-section .scroll-hint {
        display: none;
    }

    /* 通用 Section */
    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }

    /* 通知公告 */
    .notices-section {
        padding: 28px 20px;
        border-radius: var(--radius);
    }

    .notices-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 16px 0;
    }

    .notice-title {
        font-size: 14px;
    }

    .notice-time {
        font-size: 12px;
    }

    /* 轮播横幅 */
    .banner-section {
        padding: 0 20px;
    }

    .banner-slide {
        height: auto;
        min-height: 320px;
    }

    .banner-slide-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 24px;
    }

    .banner-slide-text h3 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .banner-slide-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .banner-slide-img {
        height: 180px;
    }

    .banner-nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .banner-nav.prev { left: 10px; }
    .banner-nav.next { right: 10px; }

    /* 活动卡片 */
    .activity-card {
        min-width: 280px;
    }

    .activity-card .activity-body {
        padding: 20px;
    }

    .activity-card h4 {
        font-size: 16px;
    }

    /* 快捷入口 */
    .shortcuts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shortcut-card {
        padding: 32px 24px;
    }

    /* 好人好事 */
    .story-card {
        min-width: 260px;
    }

    .story-card .story-body {
        padding: 20px;
    }

    /* 寻物启事 */
    .lost-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* 投诉建议 */
    .complaint-section {
        padding: 28px 20px;
        border-radius: var(--radius);
    }

    .complaint-section h3 {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 15px;
    }

    /* 投票区域 */
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-card {
        padding: 28px 20px;
    }

    .staff-card img {
        width: 80px;
        height: 80px;
    }

    .staff-card .staff-name {
        font-size: 17px;
    }

    .staff-card .staff-desc {
        font-size: 13px;
        min-height: auto;
    }

    /* 关于我们 */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-img-wrap img {
        height: 260px;
    }

    /* 联系我们 */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-card h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .info-row {
        padding: 12px;
        gap: 12px;
    }

    .info-row i {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .info-row .info-value {
        font-size: 14px;
    }

    .map-card-inner {
        padding: 40px 20px;
    }

    .map-card-inner i {
        font-size: 48px;
    }

    /* Footer */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* 后台管理 */
    .admin-sidebar {
        width: 180px;
    }

    .admin-content {
        margin-left: 180px;
        padding: 76px 16px 16px;
    }

    .admin-content h2 {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card h3 {
        font-size: 24px;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }

    .modal-content {
        padding: 28px 20px;
        width: 95%;
    }
}

/* ===== 小屏幕手机 ===== */
@media (max-width: 380px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section .subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-section .hero-stats {
        gap: 16px;
    }

    .hero-section .hero-stat .stat-number {
        font-size: 22px;
    }

    .banner-slide-text h3 {
        font-size: 20px;
    }

    .activity-card {
        min-width: 240px;
    }

    .staff-card img {
        width: 64px;
        height: 64px;
    }
}

/* ===== 2026 Refined interface layer ===== */
body {
    background:
        radial-gradient(circle at 7% -8%, rgba(245, 158, 11, 0.16), transparent 30rem),
        radial-gradient(circle at 97% 7%, rgba(192, 101, 30, 0.10), transparent 28rem),
        var(--bg-primary);
}

nav, .admin-nav {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 0 rgba(29, 29, 31, 0.04);
}

nav .container { height: 64px; }
nav .logo { font-size: 19px; letter-spacing: 2px; }
nav .logo img { width: 34px; height: 34px; }

.hero-section {
    min-height: min(850px, 100vh);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 40%, rgba(255,255,255,0.96), rgba(255,255,255,0.38) 42%, transparent 72%),
        linear-gradient(160deg, #fdfcf9 0%, #f4f1eb 52%, #f8f5ef 100%);
}
.hero-section::before, .hero-section::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.42;
}
.hero-section::before { background: #f9c879; top: 10%; left: -200px; }
.hero-section::after { background: #d99258; bottom: -300px; right: -180px; }
.hero-section h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
    font-size: clamp(54px, 7vw, 92px);
    letter-spacing: -4px;
    font-weight: 700;
}
.hero-section .subtitle { color: #515154; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: 0; }
.hero-section .desc { font-size: 15px; color: #6e6e73; }
.hero-section .hero-badge {
    background: rgba(255,255,255,0.64);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 12px 32px rgba(93, 62, 35, 0.06);
}
.hero-section .hero-stat .stat-number { color: #ad541d; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; }

.section { padding-top: 112px; padding-bottom: 112px; }
.section-title { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; letter-spacing: -2px; }
.section-subtitle { max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.notices-section, .complaint-section, .contact-card, .map-card, .data-table {
    border-color: rgba(29,29,31,0.07);
    box-shadow: 0 16px 45px rgba(68, 48, 29, 0.06);
}
.shortcut-card, .staff-card, .stat-card {
    border-color: rgba(29,29,31,0.07);
    box-shadow: 0 12px 28px rgba(29, 29, 31, 0.05);
}
.shortcut-card:hover, .staff-card:hover, .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(29, 29, 31, 0.10);
}
.banner-carousel { box-shadow: 0 24px 60px rgba(64, 47, 28, 0.16); }
.btn-submit, .btn-add, .banner-btn { background: #1d1d1f; box-shadow: 0 8px 18px rgba(29,29,31,0.14); }
.btn-submit:hover, .btn-add:hover, .banner-btn:hover { background: #ad541d; box-shadow: 0 12px 24px rgba(173,84,29,0.22); }

/* Admin: calmer product-dashboard layout, without changing page functionality. */
.admin-sidebar {
    top: 64px;
    width: 256px;
    padding: 24px 12px;
    background: rgba(255,255,255,0.64);
    backdrop-filter: blur(24px);
    border-right-color: rgba(29,29,31,0.06);
}
.admin-sidebar a { padding: 12px 14px; margin: 3px 0; border-radius: 12px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(192,101,30,0.10); color: #a44c18; }
.admin-content { margin-left: 256px; max-width: 1320px; padding: 112px 48px 56px; }
.admin-content h2 { letter-spacing: -1px; margin-bottom: 12px; }
.admin-content > p { font-size: 15px; }
.admin-content > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
.admin-content > div[style*="grid-template-columns"] > div {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(29,29,31,0.07);
    border-radius: 18px !important;
    box-shadow: 0 12px 32px rgba(29,29,31,0.05);
    transition: var(--transition);
}
.admin-content > div[style*="grid-template-columns"] > div:hover { transform: translateY(-5px); box-shadow: 0 22px 40px rgba(29,29,31,0.10); }
.admin-content > div[style*="grid-template-columns"] > div::after {
    content: '';
    position: absolute;
    width: 100px; height: 100px;
    right: -36px; bottom: -45px;
    background: rgba(192,101,30,0.08);
    border-radius: 50%;
}
.admin-content > div[style*="grid-template-columns"] i { font-size: 34px !important; }

/* Login becomes a focused, high-end entry point. */
.login-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f5ef 0%, #f3ede4 48%, #fbfaf8 100%);
}
.login-container::before, .login-container::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7;
}
.login-container::before { width: 520px; height: 520px; top: -240px; left: -180px; background: rgba(246, 187, 101, .35); }
.login-container::after { width: 440px; height: 440px; bottom: -230px; right: -160px; background: rgba(192, 101, 30, .18); }
.login-form { z-index: 1; background: rgba(255,255,255,0.72) !important; border-color: rgba(255,255,255,0.85) !important; box-shadow: 0 30px 80px rgba(80,54,27,0.15) !important; }
.login-form::before { height: 3px !important; }
.login-logo h2 { background: none !important; -webkit-text-fill-color: #1d1d1f !important; color: #1d1d1f; letter-spacing: 2px !important; }
.login-logo img { filter: drop-shadow(0 10px 16px rgba(139, 69, 19, 0.2)) !important; }

@media (max-width: 768px) {
    .hero-section h1 { letter-spacing: -2px; }
    .admin-sidebar { width: 74px; padding: 18px 10px; }
    .admin-sidebar a { justify-content: center; padding: 14px 8px; font-size: 0; }
    .admin-sidebar a i { font-size: 16px; width: auto; }
    .admin-content { margin-left: 74px; padding: 92px 20px 36px; }
    .admin-content > div[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}

/* Compact mobile composition: preserve each function while reducing page length. */
@media (max-width: 768px) {
    body { font-size: 15px; }
    .hero-section {
        min-height: 580px;
        padding: 94px 20px 42px;
        justify-content: flex-start;
    }
    .hero-section .hero-badge-row { margin-bottom: 26px; }
    .hero-section .hero-badge:nth-child(3) { display: none; }
    .hero-section h1 { margin-top: 32px; margin-bottom: 12px; font-size: 46px; }
    .hero-section .subtitle { font-size: 18px; margin-bottom: 8px; }
    .hero-section .desc { max-width: 250px; margin: 0 auto 30px; font-size: 13px; line-height: 1.8; }
    .hero-section .hero-stats {
        width: min(100%, 330px);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 8px;
    }
    .hero-section .hero-stat { padding: 4px 0; }
    .hero-section .hero-stat .stat-number { font-size: 26px; }

    .section { padding: 48px 20px; }
    .section-title { font-size: 27px; letter-spacing: -1px; margin-bottom: 8px; }
    .section-subtitle { font-size: 14px; line-height: 1.65; margin-bottom: 28px; }
    .notices-section, .complaint-section { padding: 22px 18px; }
    .notices-section h3, .complaint-section h3 { font-size: 17px; margin-bottom: 16px; }
    .notice-item { padding: 12px 0; }
    .notice-title { line-height: 1.55; }

    .banner-section { padding: 0 20px 8px; }
    .banner-slide { min-height: 0; }
    .banner-slide-content { display: block; padding: 28px 24px; }
    .banner-slide-text h3 { font-size: 22px; margin-bottom: 10px; }
    .banner-slide-text p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
    .banner-slide-img { display: none; }
    .banner-dots { bottom: 12px; }
    .banner-nav { display: none; }

    .activities-track, .stories-track { gap: 12px; padding: 2px 0 14px; }
    .activity-card { min-width: 238px; border-radius: 16px; }
    .activity-card img { height: 124px; }
    .activity-card .activity-body { padding: 15px; }
    .activity-card h4, .story-card h4 { font-size: 15px; margin-bottom: 8px; }
    .activity-card .activity-meta { font-size: 12px; gap: 10px; }
    .activity-card .btn-signup { margin-top: 12px; padding: 9px 14px; }
    .story-card { min-width: 238px; border-radius: 16px; }
    .story-card img { height: 124px; }
    .story-card .story-body { padding: 15px; }
    .story-card p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    .shortcuts-grid { gap: 10px; }
    .shortcut-card { min-height: 82px; padding: 16px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; text-align: left; align-items: center; }
    .shortcut-card .icon-wrap { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
    .shortcut-card h3 { font-size: 15px; margin: 0 0 2px; }
    .shortcut-card p { font-size: 12px; line-height: 1.5; }

    .lost-grid { gap: 12px; }
    .lost-card { display: grid; grid-template-columns: 105px 1fr; min-height: 116px; }
    .lost-card .img-wrap { height: 100%; }
    .lost-card img { height: 100%; }
    .lost-card .lost-body { padding: 14px; }
    .lost-card h4 { font-size: 15px; margin-bottom: 5px; }
    .lost-card p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .lost-card .contact { margin-top: 8px; font-size: 12px; }

    .form-group { margin-bottom: 13px; }
    .form-group textarea { min-height: 108px; }
    .staff-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-right: -20px;
        padding: 2px 20px 14px 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .staff-card {
        flex: 0 0 260px;
        padding: 18px 16px;
        display: grid;
        grid-template-columns: 74px 1fr;
        column-gap: 14px;
        text-align: left;
        align-items: center;
        scroll-snap-align: start;
    }
    .staff-card img { width: 68px; height: 68px; margin: 0; grid-row: span 5; }
    .staff-card .staff-name { font-size: 16px; }
    .staff-card .staff-role { margin-bottom: 6px; }
    .staff-card .staff-desc { display: none; }
    .staff-card .vote-count { font-size: 21px; margin: 0; }
    .staff-card .vote-progress { margin: 8px 0; }
    .staff-card .vote-btn { padding: 9px; }

    .about-layout { gap: 24px; }
    .about-text p { font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
    .about-text p:nth-of-type(2) { display: none; }
    .about-img-wrap img { height: 190px; }
    .contact-card { padding: 20px 16px; }
    .contact-card h3 { margin-bottom: 16px; }
    .info-row { margin-bottom: 10px; }
    .map-card { min-height: 250px; }
    .map-location-card { left: 14px; right: 14px; bottom: 14px; padding: 11px 12px; }
    .map-card-static { min-height: 0; padding-bottom: 14px; }
    .map-static-image { height: 205px; }
    .map-card-static .map-location-card { margin: -36px 14px 0; }
    .transport-guide { grid-template-columns: 1fr; gap: 7px; padding: 14px 14px 0; }
    .transport-item { padding: 9px 10px; }
    footer { padding: 32px 20px 18px; }
    .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
    .footer-brand { grid-column: 1 / -1; gap: 9px; }
    .footer-brand img { width: 38px; height: 38px; }
    .footer-brand h4 { font-size: 18px; }
    .footer-brand p { font-size: 12px; }
    .footer-col h5 { font-size: 12px; margin-bottom: 12px; letter-spacing: 0; }
    .footer-col a { font-size: 12px; line-height: 1.4; margin-bottom: 10px; overflow-wrap: anywhere; }
}
