:root{
  --bg: #d8dde1;
  --card2: rgba(255,255,255,.88);
  --text: #111827;
  --muted: rgba(17,24,39,.65);
  --shadow: 0 18px 60px rgba(17,24,39,.18);
  --radius: 22px;
  --accent: #b89b73;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body.sel{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

/* blurred background */
.selBg{
  position:fixed; inset:0;
  background-size:cover;
  background-position:center;
  filter: blur(22px);
  transform: scale(1.1);
  opacity:.55;
  transition: background-image .35s ease;
  pointer-events:none;
}
.selBgOverlay{
  position:fixed; inset:0;
  background:
    radial-gradient(1200px 600px at 50% 20%, rgba(255,255,255,.65), rgba(255,255,255,.15) 55%, rgba(0,0,0,.04)),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.12));
  pointer-events:none;
}

.selTop{
  position:relative;
  z-index:2;
  padding: 16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{ display:flex; gap:12px; align-items:center; }
.dot{
  width:18px; height:18px; border-radius:6px;
  background:#0b1320;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.brandName{ font-weight:800; letter-spacing:.12em; font-size:12px; }
.brandSub{ font-size:12px; color: var(--muted); margin-top:2px; }

.ghostBtn{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(17,24,39,.12);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(17,24,39,.08);
  backdrop-filter: blur(8px);
  cursor:pointer;
}

.selMain{
  position:relative;
  z-index:2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 18px 22px;
}

.selTitleWrap{ text-align:center; padding: 8px 0 14px; }
.selTitle{
  margin:0;
  font-weight: 700;
  letter-spacing:.02em;
  font-size: clamp(28px, 4vw, 44px);
}
.selHint{ margin:10px 0 0; color: var(--muted); font-size: 13px; }

.selStage{
  position:relative;
  margin: 14px auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  z-index:5;
}

.navBtn{
  border:1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  width:44px; height:44px;
  border-radius:999px;
  font-size:24px;
  line-height:1;
  color: rgba(17,24,39,.80);
  box-shadow: 0 14px 40px rgba(17,24,39,.12);
  cursor:pointer;
  z-index:10;
}

@media (max-width: 520px){
  .navBtn{ display:none; }
}

.selRailWrap{
  width: min(980px, 100%);
  overflow: hidden;
  position: relative;
  z-index: 6;
}

.selRail{
  display:flex;
  gap: 18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 10px 10px;
  scrollbar-width: none;
}
.selRail::-webkit-scrollbar{ display:none; }

.selSlide{
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: min(460px, 86vw);
  height: min(640px, 68vh);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background:#fff;
  position:relative;
  transform: scale(.94);
  filter: blur(1.6px);
  opacity: .72;
  transition: transform .28s ease, filter .28s ease, opacity .28s ease;
}

@media (min-width: 900px){
  .selSlide{ width: 520px; height: 720px; }
}

.selSlide.is-active{
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
}

.selImg{
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.02);
  user-select:none;
  -webkit-user-drag:none;
}

.selOverlay{
  position:absolute; inset:0;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  opacity: .72;
  transition: opacity .28s ease;
  pointer-events:none;
}
.selSlide.is-active .selOverlay{ opacity: .12; }

.selCardTop{
  position:absolute;
  left:16px; top:16px; right:16px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  z-index:3;
  color:#fff;
  text-shadow: 0 14px 30px rgba(0,0,0,.28);
}
.selCardName{
  font-weight: 800;
  font-size: 16px;
  letter-spacing:.06em;
  text-transform: uppercase;
}
.selCardBtn{
  margin-top:10px;
  display:inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.78);
  color: #fff;
  border:1px solid rgba(255,255,255,.18);
  font-size: 12px;
  letter-spacing:.06em;
  text-decoration:none;
  cursor:pointer;
  pointer-events:auto;
}

.selCardBottom{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.72) 50%, rgba(255,255,255,.88));
  z-index:3;
}
.selCardDesc{
  margin:0;
  color: rgba(17,24,39,.70);
  font-size: 14px;
  max-width: 44ch;
}

.selMeta{
  margin: 10px auto 0;
  border-radius: var(--radius);
  background: var(--card2);
  border:1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 60px rgba(17,24,39,.10);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.metaGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 720px){
  .metaGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.metaItem{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  padding: 12px 12px;
}
.metaLabel{ color: var(--muted); font-size:12px; }
.metaValue{ font-weight: 800; font-size: 16px; margin-top:6px; }

.ctaRow{ padding-top: 12px; display:flex; justify-content:center; }
.ctaBtn{
  width: min(520px, 100%);
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  letter-spacing:.05em;
  box-shadow: 0 18px 40px rgba(184,155,115,.35);
  cursor:pointer;
}

.selFine{
  margin: 10px 0 0;
  text-align:center;
  color: rgba(17,24,39,.55);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce){
  .selSlide{ transition:none; }
  .selOverlay{ transition:none; }
  .selBg{ transition:none; }
}
