/* ============================================================
   筑阁工作室 - 品牌视觉系统 CSS v2.0
   基于筑阁VI1.12视觉识别系统
   品牌色：深蓝藏青 #1B3A5C + 宣纸米白 + 印章朱红
   ============================================================ */

:root {
    /* === 品牌主色 === */
    --zhuge-navy: #1B3A5C;
    --zhuge-navy-light: #2A527A;
    --zhuge-navy-dark: #0F2538;
    --zhuge-navy-soft: #3D5A78;

    /* === 辅助色 === */
    --zhuge-ink: #2C3E50;
    --zhuge-ink-light: #5A6C7D;
    --zhuge-ink-muted: #9AA5B1;

    /* === 宣纸色系 === */
    --zhuge-paper: #F7F5F0;
    --zhuge-paper-warm: #F0EDE6;
    --zhuge-paper-card: #FEFDFB;
    --zhuge-paper-dark: #E8E4DB;

    /* === 印章红 === */
    --zhuge-seal: #8B2D2D;
    --zhuge-seal-light: #B84545;
    --zhuge-seal-soft: #F5E8E8;

    /* === 水墨蓝灰 === */
    --zhuge-ink-blue: #6B8BA4;
    --zhuge-ink-blue-soft: #E8EFF5;
    --zhuge-ink-blue-light: #C5D5E3;

    /* === 金/沙色 === */
    --zhuge-gold: #C9A96E;
    --zhuge-gold-soft: #F5EFE0;

    /* === 功能色 === */
    --zhuge-success: #4A7C59;
    --zhuge-warning: #B8860B;

    /* === 阴影 === */
    --shadow-soft: 0 2px 16px rgba(27, 58, 92, 0.08);
    --shadow-medium: 0 4px 24px rgba(27, 58, 92, 0.12);
    --shadow-deep: 0 8px 32px rgba(27, 58, 92, 0.16);

    /* === 圆角 === */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* === 字体 === */
    --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif;
    --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--zhuge-paper);
    color: var(--zhuge-ink);
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   页面容器
   ============================================================ */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   登录页专用 - 深蓝藏青背景 + 水墨质感
   ============================================================ */
.login-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(27, 58, 92, 0.92) 0%, rgba(15, 37, 56, 0.95) 100%),
        url('/static/assets/images/bg-texture.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-page .login-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.login-page .login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-page .login-logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(27, 58, 92, 0.15));
}

.login-page .login-logo .brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--zhuge-navy);
    letter-spacing: 8px;
    margin-top: 12px;
}

.login-page .login-logo .brand-sub {
    font-size: 0.75rem;
    color: var(--zhuge-ink-muted);
    letter-spacing: 4px;
    margin-top: 4px;
}

.login-page .login-logo .brand-motto {
    font-size: 0.8rem;
    color: var(--zhuge-seal);
    letter-spacing: 2px;
    margin-top: 8px;
    font-style: italic;
}

.login-page .form-input {
    background: #FAFAF8;
    border: 1.5px solid var(--zhuge-paper-dark);
}

.login-page .form-input:focus {
    border-color: var(--zhuge-navy);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

/* ============================================================
   顶部导航 - 白色简约风格（参考VI移动端UI）
   ============================================================ */
.header {
    background: #ffffff;
    color: var(--zhuge-navy);
    padding: 16px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--zhuge-paper-dark);
}

.header h1 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--zhuge-navy);
}

.header .subtitle {
    font-size: 0.7rem;
    color: var(--zhuge-ink-muted);
    margin-top: 4px;
    letter-spacing: 2px;
}

.header .motto {
    font-size: 0.7rem;
    color: var(--zhuge-seal);
    margin-top: 4px;
    letter-spacing: 1px;
    font-style: italic;
}

.header .back-btn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--zhuge-navy);
    font-size: 1.25rem;
    text-decoration: none;
    padding: 4px;
    z-index: 1;
}

/* ============================================================
   Banner区域 - 水墨风格
   ============================================================ */
.banner {
    background:
        linear-gradient(180deg, rgba(27, 58, 92, 0.85) 0%, rgba(15, 37, 56, 0.9) 100%),
        url('/static/assets/images/bg-landscape.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M20 50c0-20 15-35 30-35s30 15 30 35-15 35-30 35-30-15-30-35z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.banner .banner-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 6px;
    position: relative;
    z-index: 1;
}

.banner .banner-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 8px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.banner .banner-motto {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 6px;
    letter-spacing: 2px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ============================================================
   主内容区
   ============================================================ */
.main-content {
    flex: 1;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
}

/* ============================================================
   卡片
   ============================================================ */
.card {
    background: var(--zhuge-paper-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 58, 92, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-medium);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--zhuge-navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.card-title .icon {
    font-size: 1.1rem;
}

/* ============================================================
   表单
   ============================================================ */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--zhuge-ink-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--zhuge-paper-dark);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--zhuge-paper-card);
    color: var(--zhuge-ink);
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--zhuge-navy-soft);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.08);
}

.form-input::placeholder {
    color: var(--zhuge-ink-muted);
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    letter-spacing: 2px;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--zhuge-navy) 0%, var(--zhuge-navy-dark) 100%);
    color: white;
}

.btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--zhuge-navy);
    color: var(--zhuge-navy);
}

.btn-outline:hover {
    background: var(--zhuge-navy);
    color: white;
}

.btn-secondary {
    background: var(--zhuge-ink-blue-soft);
    color: var(--zhuge-navy);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    width: auto;
    letter-spacing: 1px;
}

.btn-group {
    display: flex;
    gap: 12px;
}

.btn-group .btn {
    flex: 1;
}

/* ============================================================
   分隔线
   ============================================================ */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--zhuge-ink-muted);
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--zhuge-paper-dark);
}

.divider span {
    padding: 0 16px;
}

/* ============================================================
   提示消息
   ============================================================ */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    background: var(--zhuge-navy);
    color: white;
    font-size: 0.9rem;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
    box-shadow: var(--shadow-deep);
    letter-spacing: 1px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--zhuge-success);
}

.toast.error {
    background: var(--zhuge-seal);
}

/* ============================================================
   加载中
   ============================================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 245, 240, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--zhuge-paper-dark);
    border-top-color: var(--zhuge-navy);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--zhuge-ink-muted);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

.empty-state .title {
    font-size: 1rem;
    color: var(--zhuge-ink-light);
    margin-bottom: 4px;
}

.empty-state .desc {
    font-size: 0.875rem;
}

/* ============================================================
   底部导航
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--zhuge-navy);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 8px;
    box-shadow: 0 -4px 20px rgba(27, 58, 92, 0.2);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 16px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.65rem;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-item .nav-icon {
    font-size: 1.3rem;
}

.nav-item.active {
    color: white;
}

/* ============================================================
   会员信息卡片 - 深蓝渐变 + 水墨质感
   ============================================================ */
.member-header {
    background:
        linear-gradient(135deg, var(--zhuge-navy) 0%, var(--zhuge-navy-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 28px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.member-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.member-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.member-header .member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.member-header .member-no {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.member-header .points-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.member-header .points-value {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.member-header .points-label {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.member-header .level-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(201, 169, 110, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--zhuge-gold);
    letter-spacing: 1px;
}

/* ============================================================
   列表项
   ============================================================ */
.list-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--zhuge-paper-dark);
}

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

.list-item .item-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--zhuge-ink-blue-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 14px;
    flex-shrink: 0;
}

.list-item .item-content {
    flex: 1;
    min-width: 0;
}

.list-item .item-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--zhuge-ink);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item .item-subtitle {
    font-size: 0.8rem;
    color: var(--zhuge-ink-muted);
}

.list-item .item-meta {
    text-align: right;
    flex-shrink: 0;
}

.list-item .item-meta .points {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--zhuge-navy);
}

.list-item .item-meta .status {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 4px;
}

.status-confirmed {
    background: #E8F5E9;
    color: var(--zhuge-success);
}

.status-pending {
    background: #FFF8E1;
    color: var(--zhuge-warning);
}

.status-waitlist {
    background: #E3F2FD;
    color: var(--zhuge-navy-soft);
}

/* ============================================================
   课程卡片
   ============================================================ */
.course-card {
    background: var(--zhuge-paper-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(27, 58, 92, 0.06);
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.course-card .course-cover {
    height: 130px;
    background: linear-gradient(135deg, var(--zhuge-navy-light) 0%, var(--zhuge-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.course-card .course-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='rgba(255,255,255,0.05)'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.course-card .course-cover .course-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--zhuge-navy);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.course-card .course-info {
    padding: 18px;
}

.course-card .course-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--zhuge-ink);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.course-card .course-meta {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--zhuge-ink-muted);
    margin-bottom: 14px;
}

.course-card .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card .course-points {
    font-size: 0.85rem;
    color: var(--zhuge-navy-soft);
}

/* ============================================================
   偏好选择
   ============================================================ */
.preference-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.preference-item {
    background: var(--zhuge-paper-card);
    border: 2px solid var(--zhuge-paper-dark);
    border-radius: var(--radius-md);
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preference-item:hover {
    border-color: var(--zhuge-ink-blue-light);
}

.preference-item.selected {
    border-color: var(--zhuge-navy);
    background: var(--zhuge-ink-blue-soft);
}

.preference-item .pref-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.preference-item .pref-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zhuge-ink);
}

.preference-item .pref-check {
    margin-top: 8px;
    font-size: 1.1rem;
    color: var(--zhuge-navy);
    opacity: 0;
    transition: opacity 0.3s;
}

.preference-item.selected .pref-check {
    opacity: 1;
}

/* ============================================================
   标签
   ============================================================ */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tag-primary {
    background: var(--zhuge-ink-blue-soft);
    color: var(--zhuge-navy);
}

.tag-success {
    background: #E8F5E9;
    color: var(--zhuge-success);
}

.tag-seal {
    background: var(--zhuge-seal-soft);
    color: var(--zhuge-seal);
}

/* ============================================================
   链接
   ============================================================ */
.link {
    color: var(--zhuge-navy-soft);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.link:hover {
    text-decoration: underline;
}

/* ============================================================
   隐藏
   ============================================================ */
.hidden {
    display: none !important;
}

/* ============================================================
   品牌精神标语
   ============================================================ */
.brand-spirit {
    text-align: center;
    padding: 12px;
    color: var(--zhuge-ink-muted);
    font-size: 0.75rem;
    letter-spacing: 3px;
    border-top: 1px solid var(--zhuge-paper-dark);
    margin-top: 8px;
}

/* ============================================================
   积分排行特殊样式
   ============================================================ */
.rank-gold {
    color: #D4A843;
}

.rank-silver {
    color: #A0A0A0;
}

.rank-bronze {
    color: #B87333;
}

/* ============================================================
   水墨装饰
   ============================================================ */
.ink-decoration {
    position: relative;
}

.ink-decoration::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--zhuge-navy-soft), transparent);
    opacity: 0.3;
}

/* ============================================================
   印章装饰
   ============================================================ */
.seal-mark {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--zhuge-seal);
    color: white;
    font-size: 0.6rem;
    line-height: 24px;
    text-align: center;
    border-radius: 2px;
    font-family: "Noto Serif SC", serif;
    letter-spacing: 0;
}

/* ============================================================
   快速入口图标
   ============================================================ */
.quick-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    transition: background 0.3s;
    text-decoration: none;
    color: var(--zhuge-ink);
}

.quick-entry:hover {
    background: var(--zhuge-ink-blue-soft);
}

.quick-entry .qe-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--zhuge-navy-light) 0%, var(--zhuge-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.quick-entry .qe-label {
    font-size: 0.75rem;
    color: var(--zhuge-ink-light);
    letter-spacing: 0.5px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 380px) {
    .main-content {
        padding: 16px;
    }

    .card {
        padding: 16px;
    }

    .member-header {
        padding: 22px;
    }

    .login-page .login-card {
        padding: 28px 20px;
    }
}

@media (min-width: 768px) {
    body {
        background: #E5E0D6 url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d5d0c6' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .page-container {
        max-width: 560px;
        margin: 0 auto;
        background: var(--zhuge-paper);
        min-height: 100vh;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
    }

    .login-page {
        background:
            linear-gradient(180deg, rgba(27, 58, 92, 0.92) 0%, rgba(15, 37, 56, 0.95) 100%),
            url('/static/assets/images/bg-texture.jpg');
        background-size: cover;
        background-position: center;
    }

    .bottom-nav {
        max-width: 560px;
        left: 50%;
        transform: translateX(-50%);
    }

    .toast {
        max-width: 480px;
    }
}

@media (min-width: 1024px) {
    .page-container {
        max-width: 640px;
    }

    .bottom-nav {
        max-width: 640px;
    }

    .main-content {
        padding: 24px;
    }
}
