/* ========== 中山大学主题色 ========== */
: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;
    background: linear-gradient(135deg, var(--sysu-green-dark) 0%, var(--sysu-green) 50%, var(--sysu-green-light) 100%);
}

.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(3, 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-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.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-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%);
}

.booking-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: start;
}

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

.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: 40px;
}

.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;
}

/* 复选框卡片 */
.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);
}

.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);
    }

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

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

    .booking-info {
        position: static;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .hero-stats {
        gap: 30px;
    }

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

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

    .room-card.featured .room-image {
        height: 200px;
    }

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

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
