/* ========== 中山大学主题色 ========== */
:root {
    --sysu-green: #005825;
    --sysu-green-light: #0a7a3a;
    --sysu-green-dark: #003d1a;
    --sysu-green-alpha: rgba(0, 88, 37, 0.08);

    --sysu-gold: #c9a050;
    --sysu-gold-light: #d4b76a;
    --sysu-gold-dark: #b08d40;

    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #7a7a7a;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--gray-50);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--sysu-green) 0%, var(--sysu-green-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--sysu-green);
    font-weight: 500;
}

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

.nav-links a {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--sysu-green);
    background: var(--sysu-green-alpha);
}

.btn-nav {
    padding: 10px 24px;
    background: var(--sysu-green);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--sysu-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== 英雄区 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% center;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 56, 23, 0.85) 0%, rgba(0, 88, 37, 0.75) 50%, rgba(10, 122, 58, 0.65) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(201, 160, 80, 0.15) 0%, transparent 60%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 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='%23ffffff' fill-opacity='0.03'%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");
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(201, 160, 80, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-family: "Noto Serif SC", serif;
    font-size: 72px;
    font-weight: 700;
    color: white;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.title-sub {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: var(--sysu-gold);
    letter-spacing: 12px;
    margin-top: 8px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

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

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.hero-stat .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--sysu-gold);
    color: var(--sysu-green-dark);
}

.btn-primary:hover {
    background: var(--sysu-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 160, 80, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.5); }
}

/* ========== 通用区块 ========== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--sysu-green-alpha);
    color: var(--sysu-green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-family: "Noto Serif SC", serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-title.light {
    color: white;
}

.section-desc {
    font-size: 16px;
    color: var(--text-tertiary);
    max-width: 500px;
    margin: 0 auto;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== 场地展示 ========== */
.rooms-section {
    background: white;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.room-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--sysu-gold);
}

.room-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-card.featured .room-image {
    height: 100%;
}

.room-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-icon {
    font-size: 64px;
    z-index: 2;
    opacity: 0.9;
}

.placeholder-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.room-placeholder.conference {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.room-placeholder.vip {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.room-placeholder.meeting {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.room-placeholder.meeting2 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.room-placeholder.lounge {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.room-placeholder.hall {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* 真实图片样式 */
.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* VIP标签 */
.room-badge.vip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.room-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
}

.room-badge.hot {
    background: #ff4757;
    color: white;
}

.room-badge.new {
    background: var(--sysu-gold);
    color: white;
}

.room-content {
    padding: 24px;
}

.room-card.featured .room-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.room-capacity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.room-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.room-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature {
    padding: 4px 12px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========== 预约区 ========== */
.booking-section {
    position: relative;
    background: var(--sysu-green);
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 160, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.booking-section .section-container {
    position: relative;
    z-index: 1;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(760px, 1.45fr) minmax(340px, 0.85fr);
    gap: 40px;
    align-items: start;
}

.booking-info {
    position: sticky;
    top: 120px;
    max-width: 460px;
}

.info-cards {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--sysu-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.info-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.booking-form-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.booking-form {
    padding: 48px;
}

.form-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gray-100);
}

.form-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-section {
    margin-bottom: 32px;
}

.form-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sysu-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sysu-green-alpha);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--gray-50);
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sysu-green);
    background: white;
    box-shadow: 0 0 0 4px var(--sysu-green-alpha);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--gray-500);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

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

/* 自动联想搜索框 */
.autocomplete-group {
    position: relative;
}

.autocomplete-wrapper {
    position: relative;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1.5px solid var(--sysu-green);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    display: none;
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

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

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--sysu-green-alpha);
}

.autocomplete-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sysu-green) 0%, var(--sysu-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.autocomplete-item-info {
    flex: 1;
}

.autocomplete-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.autocomplete-item-meta {
    font-size: 12px;
    color: var(--text-tertiary);
}

.autocomplete-item-highlight {
    color: var(--sysu-green);
    font-weight: 700;
}

.input-hint {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

/* 校友信息卡片 */
.alumni-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--sysu-green-alpha) 0%, rgba(201, 160, 80, 0.08) 100%);
    border: 1.5px solid var(--sysu-green);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
    position: relative;
    z-index: 1;
}

/* 确保输入框始终可编辑 */
#contactPhone,
#participants {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    touch-action: auto !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alumni-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sysu-green) 0%, var(--sysu-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 88, 37, 0.3);
}

.alumni-details {
    flex: 1;
}

.alumni-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.alumni-meta {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.alumni-meta .divider {
    color: var(--gray-400);
}

/* 复选框卡片 */
.checkbox-card {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.checkbox-label:hover {
    background: white;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0.5);
    opacity: 0;
    transition: var(--transition-fast);
    margin-bottom: 2px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--sysu-green);
    border-color: var(--sysu-green);
}

.checkbox-label input:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-content {
    display: flex;
    flex-direction: column;
}

.checkbox-content strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.checkbox-content span {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* 服务芯片 */
.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: flex;
    cursor: pointer;
}

.chip input {
    display: none;
}

.chip span {
    padding: 10px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.chip:hover span {
    border-color: var(--sysu-green);
    color: var(--sysu-green);
}

.chip input:checked + span {
    background: var(--sysu-green);
    border-color: var(--sysu-green);
    color: white;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--sysu-green) 0%, var(--sysu-green-light) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 88, 37, 0.3);
}

/* ========== 记录区 ========== */
.records-section {
    background: var(--gray-50);
}

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

.stat-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.stat-box .stat-icon {
    width: 52px;
    height: 52px;
    background: var(--sysu-green-alpha);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--sysu-green);
    line-height: 1;
}

.stat-name {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    padding: 6px;
    background: white;
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.filter-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tab:hover {
    color: var(--sysu-green);
}

.filter-tab.active {
    background: var(--sysu-green);
    color: white;
}

.booking-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.booking-card:hover {
    border-color: var(--sysu-gold);
    box-shadow: var(--shadow-md);
}

.booking-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--sysu-green);
}

.booking-card.past::before {
    background: var(--gray-400);
}

.booking-card.today::before {
    background: var(--sysu-gold);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.booking-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-title h4 {
    font-size: 18px;
    font-weight: 600;
}

.booking-status {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.status-upcoming {
    background: var(--sysu-green-alpha);
    color: var(--sysu-green);
}

.status-today {
    background: rgba(201, 160, 80, 0.15);
    color: var(--sysu-gold-dark);
}

.status-past {
    background: var(--gray-100);
    color: var(--gray-500);
}

.booking-actions .btn {
    padding: 8px 16px;
    font-size: 13px;
}

.booking-actions .btn-danger {
    background: #fee;
    color: #e74c3c;
}

.booking-actions .btn-danger:hover {
    background: #fcc;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.booking-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: var(--gray-50);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
}

.tag.assistant {
    background: var(--sysu-green-alpha);
    color: var(--sysu-green);
}

.tag.restaurant {
    background: linear-gradient(135deg, rgba(201, 160, 80, 0.15) 0%, rgba(201, 160, 80, 0.25) 100%);
    color: var(--sysu-gold-dark);
    font-weight: 600;
}

/* 预约备注 */
.booking-notes {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--sysu-gold);
}

.notes-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.notes-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 登录提示 */
.login-hint {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

.hint-icon {
    width: 80px;
    height: 80px;
    background: var(--sysu-green-alpha);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--sysu-green);
}

.login-hint h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-hint p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* 当前用户卡片 */
.current-user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--sysu-green) 0%, var(--sysu-green-light) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    color: white;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.user-meta {
    font-size: 14px;
    opacity: 0.85;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* 我的预约内容区 */
.my-bookings-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.empty-illustration {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.empty-icon {
    font-size: 80px;
    opacity: 0.5;
}

.empty-decoration {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--sysu-gold);
    border-radius: 50%;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--gray-900);
    color: white;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 32px 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    background: var(--sysu-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--sysu-green-dark);
}

.footer-text h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-text p {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gray-300);
}

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

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-bottom .motto {
    font-family: "Noto Serif SC", serif;
    font-size: 16px;
    color: var(--sysu-gold);
    letter-spacing: 4px;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--sysu-green);
    color: white;
    padding: 16px 28px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
}

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

.toast.error {
    background: #e74c3c;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-info {
        position: static;
        order: 2;
    }

    .booking-form-wrapper {
        order: 1;
    }

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

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

/* iPad Pro, 小型平板 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .hero-content {
        padding: 20px;
    }

    .title-main {
        font-size: 56px;
    }
}

/* iPad mini, 大型手机 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        height: 60px;
    }

    .logo-badge {
        width: 36px;
        height: 36px;
        font-size: 10px;
    }

    .logo-title {
        font-size: 12px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .btn-nav {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-content {
        padding: 20px 16px;
    }

    .title-main {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .title-sub {
        font-size: 14px;
        letter-spacing: 6px;
    }

    .hero-desc {
        font-size: 15px;
        padding: 0 10px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 28px;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        padding: 0 40px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .section-container {
        padding: 48px 16px;
    }

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

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

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .room-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .room-image {
        height: 180px;
    }

    .room-content {
        padding: 16px;
    }

    .room-name {
        font-size: 17px;
    }

    .booking-form {
        padding: 24px 16px;
    }

    .form-header h3 {
        font-size: 18px;
    }

    .form-section-title {
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-chips {
        gap: 8px;
    }

    .chip span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .booking-info {
        margin-top: 8px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-box {
        padding: 16px;
    }

    .filter-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .booking-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-card {
        padding: 16px;
    }

    .footer-content {
        padding: 40px 16px 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-logo {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    .footer-text h4 {
        font-size: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 24px;
    }

    .footer-bottom .motto {
        font-size: 14px;
        letter-spacing: 2px;
    }

    /* 校友信息卡片移动端适配 */
    .alumni-info-card {
        padding: 12px 16px;
        gap: 12px;
    }

    .alumni-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .alumni-name {
        font-size: 15px;
    }

    .alumni-meta {
        font-size: 12px;
    }

    /* 当前用户卡片移动端 */
    .current-user-card {
        padding: 16px;
        gap: 12px;
    }

    .user-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .user-name {
        font-size: 15px;
    }

    .user-meta {
        font-size: 12px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* 自动联想下拉框移动端 */
    .autocomplete-list {
        max-height: 160px;
    }

    .autocomplete-item {
        padding: 10px 12px;
    }

    .autocomplete-item-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Toast 移动端位置调整 */
    .toast {
        left: 16px;
        right: 16px;
        transform: translateY(100px);
        padding: 12px 20px;
        font-size: 13px;
    }

    .toast.show {
        transform: translateY(0);
    }
}

/* iPhone SE, 小型手机 (375px以下) */
@media (max-width: 375px) {
    .logo-badge {
        width: 32px;
        height: 32px;
        font-size: 9px;
    }

    .logo-title {
        font-size: 11px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .title-main {
        font-size: 28px;
    }

    .title-sub {
        font-size: 12px;
    }

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

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

    .stat-num {
        font-size: 24px;
    }

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

    .room-name {
        font-size: 16px;
    }

    .room-desc {
        font-size: 13px;
    }

    .feature {
        padding: 3px 10px;
        font-size: 11px;
    }
}

/* 华为等安卓手机特殊适配 */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 12px;
    }

    .title-main {
        font-size: 26px;
    }

    .btn-lg {
        padding: 12px 20px;
    }
}

/* 华为三折屏 - 展开状态 */
@media (min-width: 1800px) and (max-height: 1200px) {
    .rooms-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .room-card.featured {
        grid-column: span 2;
    }

    .section-container {
        max-width: 1600px;
    }
}

/* 横屏手机适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .title-main {
        font-size: 36px;
    }

    .hero-stats {
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: row;
        padding: 0;
    }

    .btn-lg {
        width: auto;
    }
}

/* iPhone 灵动岛/刘海屏适配 */
@supports (padding-top: env(safe-area-inset-top)) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }

    .hero {
        padding-top: calc(72px + env(safe-area-inset-top));
    }

    @media (max-width: 768px) {
        .hero {
            padding-top: calc(60px + env(safe-area-inset-top));
        }
    }

    .toast {
        bottom: calc(32px + env(safe-area-inset-bottom));
    }
}

/* ========== 多场地选择样式 ========== */
.rooms-multi-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.room-checkbox {
    cursor: pointer;
    display: block;
}

.room-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.room-checkbox-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    transition: var(--transition-fast);
    text-align: center;
}

.room-checkbox:hover .room-checkbox-box {
    border-color: var(--sysu-green-light);
    background: var(--sysu-green-alpha);
}

.room-checkbox input:checked + .room-checkbox-box {
    border-color: var(--sysu-green);
    background: var(--sysu-green-alpha);
    box-shadow: 0 0 0 3px rgba(0, 88, 37, 0.1);
}

.room-checkbox .room-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.room-checkbox input:checked + .room-checkbox-box .room-name {
    color: var(--sysu-green);
}

.room-checkbox .room-cap {
    font-size: 12px;
    color: var(--text-tertiary);
}

.room-checkbox input:checked + .room-checkbox-box .room-cap {
    color: var(--sysu-green-light);
}

.label-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
    margin-left: 4px;
}

/* ========== 预约卡片状态样式 ========== */
.booking-card.cancelled {
    opacity: 0.7;
    background: var(--gray-100);
}

.booking-card.cancelled .booking-title h4 {
    text-decoration: line-through;
    color: var(--gray-500);
}

.status-cancelled {
    background: var(--gray-400) !important;
    color: white !important;
}

.booking-history {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin: -8px 0 12px 0;
    font-style: italic;
}

.booking-card.cancelled .booking-history {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gray-500);
}

/* 变更按钮样式 */
.btn-text {
    background: transparent;
    color: var(--sysu-green);
    padding: 8px 16px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-text:hover {
    background: var(--sysu-green-alpha);
    border-radius: var(--radius-sm);
}

/* 进行中状态 */
.status-ongoing {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
}

.booking-card.ongoing {
    border-left: 4px solid #10b981;
}

/* 响应式：多场地选择 */
@media (max-width: 576px) {
    .rooms-multi-select {
        grid-template-columns: 1fr;
    }

    .room-checkbox-box {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .room-checkbox .room-name {
        margin-bottom: 0;
    }
}

/* ========== 表单输入增强 ========== */
.form-group input:disabled,
.form-group select:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sysu-green);
    box-shadow: 0 0 0 3px rgba(0, 88, 37, 0.1);
}

/* 输入验证状态 */
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: var(--sysu-green);
}
