/* ART-S22.IMS3: 展厅页面样式 — 沉浸式 hero + 随机风格缩略图 */

/* ===== 沉浸式滚动图片区域 ===== */
.hall-immersive-stage{position:relative;width:100%;height:60vh;min-height:420px;max-height:680px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#2a302a 0%,#151713 78%)}
.hall-immersive-viewport{position:relative;width:100%;height:100%;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.hall-immersive-track{width:100%;height:100%;display:flex;will-change:transform;transition:transform 1.2s cubic-bezier(.2,.72,.16,1)}
.hall-immersive-slide{position:relative;flex:0 0 100%;width:100%;height:100%;display:grid;grid-template-rows:1fr auto}
.hall-immersive-art{position:relative;overflow:hidden;background:#1c221d}
.hall-immersive-art:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(10,12,10,.5));pointer-events:none;z-index:1}
.hall-immersive-art img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.9) contrast(1.04)}
.hall-immersive-caption{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:24px 5.5vw;background:linear-gradient(180deg,transparent,rgba(10,12,10,.6))}
.hall-immersive-caption h3{margin:0;font-size:clamp(22px,3vw,38px);font-weight:500;color:#f5f1e8;letter-spacing:.1em;text-shadow:0 2px 8px rgba(0,0,0,.6)}
.hall-immersive-caption span{display:block;margin-top:6px;color:rgba(220,210,190,.7);font-size:12px;letter-spacing:.1em;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.hall-immersive-controls{position:absolute;z-index:5;top:50%;right:max(20px,3vw);transform:translateY(-50%);display:flex;flex-direction:column;gap:10px}
.hall-immersive-controls button{width:44px;height:44px;border:1px solid rgba(244,241,233,.6);border-radius:50%;background:rgba(20,23,19,.35);backdrop-filter:blur(6px);color:#f4f1e9;font-size:18px;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.hall-immersive-controls button:hover{background:#f4f1e9;color:var(--ink);transform:translateY(-2px)}
@media(max-width:760px){
  .hall-immersive-stage{height:50vh;min-height:320px}
  .hall-immersive-viewport{mask-image:none}
  .hall-immersive-controls{flex-direction:row;top:auto;bottom:16px;right:16px;transform:none}
  .hall-immersive-controls button{width:38px;height:38px;font-size:15px}
}

/* ===== 缩略图画廊 — 通用 ===== */
.hall-thumb-gallery{padding:60px 5.5vw 80px}
.hall-thumb-gallery-title{text-align:center;margin-bottom:40px}
.hall-thumb-gallery-title h2{font-family:var(--serif);font-size:clamp(28px,3.5vw,42px);font-weight:600;letter-spacing:.12em;color:var(--ink);margin:0}
.hall-thumb-gallery-title p{margin-top:8px;color:var(--muted);font-size:13px;letter-spacing:.1em}
.hall-thumb-card{text-decoration:none;color:inherit;display:block;overflow:hidden}
.hall-thumb-image{position:relative;overflow:hidden;background:#ddd8ca}
.hall-thumb-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease,filter .4s ease}
.hall-thumb-version{position:absolute;right:8px;bottom:8px;padding:3px 6px;border-radius:2px;background:rgba(20,23,19,.72);color:#f4f1e9;font:600 9px var(--sans);letter-spacing:.08em;pointer-events:none}
.hall-thumb-card:hover .hall-thumb-image img{transform:scale(1.05)}
.hall-thumb-info{padding:14px 0}
.hall-thumb-info .hall-thumb-cat{font:600 10px var(--sans);letter-spacing:.18em;color:var(--red);text-transform:uppercase}
.hall-thumb-info h3{margin:6px 0 0;font-family:var(--serif);font-size:18px;font-weight:500;letter-spacing:.06em;color:var(--ink)}

/* ===== 风格1: 网格 ===== */
.thumb-style-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.thumb-style-grid .hall-thumb-image{aspect-ratio:3/4}

/* ===== 风格2: 瀑布流 ===== */
.thumb-style-masonry{columns:4;column-gap:18px}
.thumb-style-masonry .hall-thumb-card{break-inside:avoid;margin-bottom:18px}
.thumb-style-masonry .hall-thumb-image img{height:auto}
@media(max-width:960px){.thumb-style-masonry{columns:3}}
@media(max-width:760px){.thumb-style-masonry{columns:2;column-gap:12px}.thumb-style-masonry .hall-thumb-card{margin-bottom:12px}}

/* ===== 风格3: 拍立得 ===== */
.thumb-style-polaroid{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}
.thumb-style-polaroid .hall-thumb-card{background:#fff;padding:12px 12px 40px;box-shadow:0 4px 16px rgba(0,0,0,.12);transition:transform .3s ease,box-shadow .3s ease;width:240px}
.thumb-style-polaroid .hall-thumb-card:hover{transform:translateY(-6px) rotate(-1deg);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.thumb-style-polaroid .hall-thumb-image{aspect-ratio:1}
.thumb-style-polaroid .hall-thumb-info{padding:10px 0 0;text-align:center}
.thumb-style-polaroid .hall-thumb-info h3{font-size:15px}
@media(max-width:760px){.thumb-style-polaroid .hall-thumb-card{width:160px;padding:8px 8px 28px}.thumb-style-polaroid .hall-thumb-info h3{font-size:13px}}

/* ===== 风格4: 画廊 (大图+小图交错) ===== */
.thumb-style-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.thumb-style-gallery .hall-thumb-card:nth-child(6n+1){grid-column:span 2;grid-row:span 2}
.thumb-style-gallery .hall-thumb-card:nth-child(6n+1) .hall-thumb-image{aspect-ratio:4/3}
.thumb-style-gallery .hall-thumb-card:not(:nth-child(6n+1)) .hall-thumb-image{aspect-ratio:1}
.thumb-style-gallery .hall-thumb-card:nth-child(6n+1) .hall-thumb-info h3{font-size:22px}
@media(max-width:760px){.thumb-style-gallery{grid-template-columns:repeat(2,1fr);gap:10px}.thumb-style-gallery .hall-thumb-card:nth-child(6n+1){grid-column:span 2;grid-row:span 1}.thumb-style-gallery .hall-thumb-card:nth-child(6n+1) .hall-thumb-image{aspect-ratio:16/9}}

/* ===== 展厅页面通用 ===== */
.hall-page-intro{text-align:center;padding:50px 5.5vw 30px}
.hall-page-intro .eyebrow{color:var(--red);font:600 10px var(--sans);letter-spacing:.22em;text-transform:uppercase;margin:0 0 12px}
.hall-page-intro h1{font-family:var(--serif);font-size:clamp(36px,5vw,56px);font-weight:500;letter-spacing:.1em;margin:0 0 16px}
.hall-page-intro p{color:var(--muted);font-size:14px;line-height:2;max-width:640px;margin:0 auto}
.hall-page-nav{display:flex;justify-content:center;gap:12px;padding:16px 5.5vw;flex-wrap:wrap}
.hall-page-nav a{padding:8px 18px;font-size:13px;border:1px solid rgba(102,85,57,.2);border-radius:20px;color:var(--ink);text-decoration:none;transition:all .25s ease}
.hall-page-nav a:hover,.hall-page-nav a.active{background:var(--red);color:#fff;border-color:var(--red)}
