.srs-wrap, .srs-wrap * { box-sizing: border-box; }
.srs-wrap {
	--srs-accent: #6d5efc;
	position: relative; overflow: hidden; width: 100%;
	margin: 24px 0; padding: 48px 16px 40px;
	border-radius: 24px; background: #f4f3ff; color: #1e1b3a;
	font-family: inherit; line-height: 1.4;
}
.srs-backdrop {
	position: absolute; inset: -10%; z-index: 0;
	background-size: cover; background-position: center;
	filter: blur(70px) saturate(1.3); opacity: .45; transition: opacity .6s;
}
.srs-wrap::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(244,243,255,.55), rgba(244,243,255,.9));
}
.srs-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }

.srs-head { text-align: center; margin-bottom: 28px; }
.srs-badge {
	position: relative; display: inline-block; margin-bottom: 14px; padding: 6px 14px;
	font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--srs-accent); border-radius: 999px;
}
.srs-badge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; opacity: .12; }
.srs-wrap .srs-title { margin: 0; font-size: clamp(1.6rem, 4.5vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: #1e1b3a; }
.srs-wrap .srs-sub { margin: 10px 0 0; color: #6b6a86; }

.srs-stage { position: relative; height: clamp(380px, 56vw, 540px); perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.srs-card {
	position: absolute; left: 50%; top: 50%;
	width: clamp(220px, 34%, 360px); aspect-ratio: 4 / 5;
	border-radius: 22px; overflow: hidden; background: #fff; cursor: pointer;
	box-shadow: 0 24px 60px rgba(40, 30, 110, .28), 0 0 0 1px rgba(255,255,255,.7);
	transform: translate(-50%, -50%);
	transition: transform .7s cubic-bezier(.22, .8, .24, 1), opacity .7s, filter .7s;
	will-change: transform;
}
.srs-wrap .srs-card img {
	display: block; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0;
	object-fit: contain; background: #fff; border: 0; border-radius: 0; box-shadow: none; pointer-events: none;
}
.srs-card.srs-side { filter: brightness(.88) saturate(.9); }
.srs-card.srs-center::after {
	content: "Tap to zoom"; position: absolute; right: 12px; bottom: 12px; padding: 5px 10px;
	font-size: .72rem; font-weight: 600; color: #fff; background: rgba(20,16,50,.6);
	border-radius: 999px; opacity: 0; transition: opacity .25s; pointer-events: none;
}
.srs-card.srs-center:hover::after { opacity: 1; }

.srs-meta { min-height: 66px; margin-top: 26px; text-align: center; }
.srs-meta > * { display: block; animation: srs-rise .5s ease both; }
.srs-meta strong { font-size: 1.2rem; }
.srs-meta span { color: #6b6a86; font-size: .95rem; }
.srs-meta .srs-stars { margin-bottom: 6px; color: #f5a623; font-size: 1.05rem; letter-spacing: 3px; }
@keyframes srs-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.srs-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.srs-wrap .srs-arrow {
	width: 48px; height: 48px; margin: 0; padding: 0; border-radius: 50%; cursor: pointer;
	border: 1px solid rgba(109,94,252,.25); background: #fff; color: var(--srs-accent);
	font-size: 1.1rem; line-height: 1; box-shadow: 0 6px 18px rgba(60,40,160,.15);
	transition: background .2s, color .2s, transform .2s;
}
.srs-wrap .srs-arrow:hover { background: var(--srs-accent); color: #fff; transform: scale(1.08); }
.srs-dots { display: flex; align-items: center; gap: 8px; }
.srs-wrap .srs-dot { width: 9px; height: 9px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 99px; background: rgba(0,0,0,.2); cursor: pointer; transition: width .3s, background .3s; }
.srs-wrap .srs-dot.srs-active { width: 28px; background: var(--srs-accent); }

.srs-wrap .srs-arrow:focus-visible, .srs-wrap .srs-dot:focus-visible, .srs-card:focus-visible { outline: 3px solid var(--srs-accent); outline-offset: 3px; }

/* lightbox */
.srs-lb { position: fixed; inset: 0; z-index: 999999; display: none; place-items: center; padding: 20px; background: rgba(12,10,30,.88); backdrop-filter: blur(6px); }
.srs-lb.srs-open { display: grid; animation: srs-fade .25s ease; }
.srs-lb img { max-width: min(92vw, 720px); max-height: 88vh; border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.srs-lb button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #222; font-size: 1.4rem; line-height: 1; cursor: pointer; }
@keyframes srs-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 640px) {
	.srs-wrap { padding: 36px 10px 32px; border-radius: 16px; }
	.srs-card { width: 62%; }
	.srs-stage { height: 440px; }
	.srs-wrap .srs-arrow { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.srs-card { transition-duration: .01s; }
	.srs-meta > * { animation: none; }
}
