/**
 * 首页样式
 * @package GuangDeLou
 */

/* === 轮播图 === */
.home-banner{position:relative;width:100%;overflow:hidden;border-radius:0 0 12px 12px}
.home-banner .swiper-wrapper{display:flex;transition:transform .4s ease}
.home-banner .swiper-slide{flex:0 0 100%;position:relative}
.home-banner .swiper-slide img{width:100%;aspect-ratio:750/340;object-fit:cover;display:block}
.home-banner .slide-caption{position:absolute;bottom:0;left:0;right:0;padding:12px 16px;background:linear-gradient(transparent,rgba(0,0,0,.6));color:#fff;font-size:16px;font-weight:700}
.home-banner .swiper-pagination{position:absolute;bottom:8px;right:12px;display:flex;gap:4px}
.home-banner .swiper-pagination-bullet{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);transition:all .3s}
.home-banner .swiper-pagination-bullet.active{width:18px;border-radius:3px;background:var(--gdl-red,#A93939)}

/* === 快捷导航九宫格 === */
.home-nav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--gdl-border,#E8DFD0);margin:12px 0;border-radius:10px;overflow:hidden}
.home-nav-grid .nav-item{background:var(--gdl-card-bg,#fff);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 4px;text-decoration:none;color:var(--gdl-text,#333);transition:background .2s}
.home-nav-grid .nav-item:active{background:var(--gdl-bg,#F5EDE0)}
.home-nav-grid .nav-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.home-nav-grid .nav-icon svg{width:28px;height:28px}
.home-nav-grid .nav-label{font-size:12px;line-height:1}

/* === 演出精选 === */
.home-section{margin:16px 0}
.home-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.home-section-header h3{font-size:18px;font-weight:700;color:var(--gdl-text,#333)}
.home-section-header .more{font-size:13px;color:var(--gdl-gold,#A89456);text-decoration:none}
.home-section-header .more::after{content:' ›'}

.home-perf-list{display:flex;flex-direction:column;gap:12px}
.home-perf-card{display:flex;gap:12px;background:var(--gdl-card-bg,#fff);border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.05);text-decoration:none;color:inherit}
.home-perf-card .perf-thumb{flex:0 0 96px;height:128px;overflow:hidden}
.home-perf-card .perf-thumb img{width:100%;height:100%;object-fit:cover}
.home-perf-card .perf-info{flex:1;padding:10px 12px;display:flex;flex-direction:column;justify-content:space-between}
.home-perf-card .perf-title{font-size:16px;font-weight:700;margin-bottom:4px;color:var(--gdl-text,#333)}
.home-perf-card .perf-subtitle{font-size:12px;color:var(--gdl-text-light,#999);margin-bottom:6px}
.home-perf-card .perf-meta{display:flex;gap:8px;font-size:11px;color:var(--gdl-text-light,#999)}
.home-perf-card .perf-rating{color:var(--gdl-red,#A93939);font-weight:700}

/* === 业态空间 === */
.home-space-list{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}
.home-space-list::-webkit-scrollbar{display:none}
.home-space-card{flex:0 0 140px;text-decoration:none;color:inherit}
.home-space-card .space-thumb{width:140px;height:100px;border-radius:10px;overflow:hidden;margin-bottom:6px}
.home-space-card .space-thumb img{width:100%;height:100%;object-fit:cover}
.home-space-card .space-name{font-size:14px;font-weight:600;color:var(--gdl-text,#333)}
.home-space-card .space-meta{font-size:11px;color:var(--gdl-text-light,#999);margin-top:2px}

/* === 幸福联盟 === */
.home-merchant-list{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}
.home-merchant-list::-webkit-scrollbar{display:none}
.home-merchant-card{flex:0 0 120px;text-decoration:none;color:inherit}
.home-merchant-card .merchant-logo{width:72px;height:72px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#fff;margin:0 auto 6px}
.home-merchant-card .merchant-name{font-size:13px;font-weight:600;text-align:center;color:var(--gdl-text,#333)}
.home-merchant-card .merchant-slogan{font-size:11px;text-align:center;color:var(--gdl-text-light,#999);margin-top:2px}

/* === 文化活动 === */
.home-event-list{display:flex;flex-direction:column;gap:10px}
.home-event-card{display:flex;gap:12px;background:var(--gdl-card-bg,#fff);border-radius:10px;padding:12px;text-decoration:none;color:inherit;align-items:center}
.home-event-card .event-date{flex:0 0 52px;text-align:center}
.home-event-card .event-date .day{font-size:24px;font-weight:700;color:var(--gdl-red,#A93939);line-height:1}
.home-event-card .event-date .month{font-size:12px;color:var(--gdl-text-light,#999)}
.home-event-card .event-info{flex:1}
.home-event-card .event-title{font-size:15px;font-weight:600;margin-bottom:4px;color:var(--gdl-text,#333)}
.home-event-card .event-meta{font-size:11px;color:var(--gdl-text-light,#999)}
.home-event-card .event-price{color:var(--gdl-red,#A93939);font-weight:700}

/* === 文化传承 === */
.home-heritage{background:var(--gdl-dark-red,#6B1F1F);color:#fff;border-radius:12px;overflow:hidden;margin:16px 0}
.home-heritage .heritage-banner{width:100%;aspect-ratio:750/200;object-fit:cover;display:block}
.home-heritage .heritage-content{padding:16px}
.home-heritage .heritage-title{font-size:18px;font-weight:700;margin-bottom:8px}
.home-heritage .heritage-text{font-size:13px;line-height:1.8;opacity:.9}
.home-heritage .heritage-link{display:inline-block;margin-top:10px;color:var(--gdl-gold,#A89456);font-size:13px;text-decoration:none}
