body {
	background: #9b0316;
	color: #fff;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	margin: 0;
    min-height: 100vh;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    position: relative;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: none;
}
html {
    height: 100%;
    background: #9b0316;
}
/* prevent horizontal overflow and accidental sideways scroll */
html, body, .site { overflow-x: hidden; }

/* Scrollbar styling */
html {
	scrollbar-width: auto;
	scrollbar-color: rgba(255,255,255,0.5) transparent;
}
html::-webkit-scrollbar {
	width: 12px;
}
html::-webkit-scrollbar-track {
	background: transparent;
}
html::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.5);
	border-radius: 6px;
}
html::-webkit-scrollbar-thumb:hover {
	background: rgba(255,255,255,0.7);
}
body {
	scrollbar-width: auto;
	scrollbar-color: rgba(255,255,255,0.5) transparent;
}
body::-webkit-scrollbar {
	width: 12px;
}
body::-webkit-scrollbar-track {
	background: transparent;
}
body::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.5);
	border-radius: 6px;
}
body::-webkit-scrollbar-thumb:hover {
	background: rgba(255,255,255,0.7);
}
.site {
	scroll-snap-type: y proximity;
	overflow-x: hidden;
	overflow-y: auto;
	height: 100%;
	min-height: 100vh;
	background: #9b0316;
}
.section {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	scroll-snap-align: start;
	min-height: 60vh;
	height: auto;
	position: relative;
	overflow: visible;
	background: #9b0316;
}
.section.visible {
	opacity: 1;
	transform: translateY(0);
}

:root{
	--footer-height:64px;
	--glass: rgba(255,255,255,0.18);
	--muted: rgba(255,255,255,0.75);
	--accent: #fff;
	--card-radius: 16px;
	--max-width: 1400px;
	--gap: 28px;
	--card-padding: 20px;
	--card-padding-mobile: 14px;
	--card-row-gap: 32px;
	--transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* page container */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	width: 100%;
	padding: 0 20px;
}

/* left vertical section dots */
.section-indicator{
	position: fixed;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	display:flex;
	flex-direction: column;
	gap: 16px;
	z-index: 200;
	transition: var(--transition);
}

@media (max-width: 768px) {
	.section-indicator {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}
.section-indicator button{
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 0;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	padding: 0;
	transition: var(--transition);
	position: relative;
}
.section-indicator button::before {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	opacity: 0;
	transition: var(--transition);
}
.section-indicator button::after {
	content: attr(data-label);
	position: absolute;
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.95);
	color: #be0318;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.section-indicator button:hover::after {
	opacity: 1;
	left: 36px;
	pointer-events: auto;
}
.section-indicator button.active{
	width: 16px;
	height: 16px;
	background: #fff;
	box-shadow: 0 0 24px rgba(255,255,255,0.6), 0 8px 16px rgba(0,0,0,0.25);
	transform: scale(1.15);
}
.section-indicator button:hover {
	background: rgba(255,255,255,0.7);
	transform: scale(1.2);
}

/* Исправлено: нормальная ширина блоков, высота, padding */
.site {
    height: auto;
    width: 100%;
    z-index: 1;
    padding-bottom: 0;
    scroll-snap-type: y proximity;
    background: #9b0316;
    position: relative;
}

header.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(80px,12vh,140px) 20px clamp(80px,12vh,120px) 20px;
    text-align: center;
    background: #9b0316;
    scroll-snap-align: start;
    overflow: visible;
    z-index: 10;
}
header.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
	            radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
	pointer-events: none;
}

/* Исправлено: видимость и контраст логотипа */
.hero .logo {
    width: 72px;
    height: 72px;
    display: block;
    margin: 0 auto 32px;
    z-index: 100;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
    -webkit-filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}
.hero .logo:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.hero-top {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 8px;
}

.hero h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(2.4rem,6.5vw,5.5rem);
	line-height: 1.05;
	margin: 0 0 32px 0;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
	animation: fadeInUp 0.8s ease-out 0.2s both;
	position: relative;
	z-index: 100;
}

.hero .hero-desc {
	font-size: 1.1rem;
	max-width: 760px;
	margin: 0 auto 20px;
	color: #ffffff;
	line-height: 1.6;
	animation: fadeInUp 0.8s ease-out 0.4s both;
	font-weight: 400;
	position: relative;
	z-index: 100;
}

.hero .hero-issue {
	font-size: clamp(0.85rem, 1.2vw, 0.95rem);
	color: #fff;
	opacity: 1;
	position: relative;
	margin-top: auto;
	margin-bottom: 0;
	z-index: 100;
	background: transparent;
	padding: 0;
	border-radius: 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	animation: fadeInUp 0.8s ease-out 0.6s both;
}

.controls {
	display: flex;
	gap: 8px;
	align-items: center;
}

#theme-toggle {
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.2);
	padding: 10px;
	font-size: 1.2rem;
	border-radius: 12px;
	cursor: pointer;
	transition: var(--transition);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
#theme-toggle:hover {
	background: rgba(255,255,255,0.25);
	transform: scale(1.1);
}

.cta-btn {
	display: none !important;
}



/* section styles */
.section {
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #9b0316;
    overflow: visible;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    z-index: 100;
    padding: 20px 0 40px 0;
}

/* Исправлено: контейнер секции */
.section .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 100;
}

.section.visible {
	opacity: 1;
	transform: translateY(0);
}

.section .cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
	row-gap: var(--card-row-gap);
	margin-top: 8px;
	width: 100%;
	max-width: 100%;
	align-items: start;
}

.section .cards:has(.card:nth-child(2):last-child) {
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

/* Desktop: make each row equal-height so the grid looks tidy */
@media (min-width: 1024px) {
	.section .cards {
		grid-auto-rows: 1fr;
	}
	.section .cards > .card {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
}

/* Ensure consistent padding/box-sizing for cards inside sections */
.section .cards > .card {
	box-sizing: border-box;
	padding: var(--card-padding);
}

/* Mobile: slightly smaller padding */
@media (max-width: 768px) {
	.section .cards > .card {
		padding: var(--card-padding-mobile);
	}
}

/* Constrain large images inside cards to avoid pushing layout */
.section .cards > .card img {
	max-height: 380px;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	display: block;
}

/* Ensure paragraph text wraps and has comfortable line-height */
.section .cards > .card p {
	line-height: 1.6;
	word-break: break-word;
}

.section .cards.single-card {
	grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
	.section .cards {
		grid-template-columns: 1fr;
		row-gap: calc(var(--card-row-gap) - 4px);
	}
	
	.section .cards:has(.card:nth-child(2):last-child) {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.section .cards {
		grid-template-columns: 1fr;
		gap: 14px;
		row-gap: calc(var(--card-row-gap) - 14px);
	}
}

.section h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.6rem, 3.5vw, 2rem);
	margin: 0 0 16px 0;
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.02em;
	position: relative;
	z-index: 100;
}
.section h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
	margin: 20px 0 12px 0;
	color: #fff;
	font-weight: 700;
	letter-spacing: -0.01em;
	position: relative;
	z-index: 100;
}
.section > .container > p {
	color: #000;
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 20px;
	max-width: 900px;
	font-weight: 500;
	background: rgba(255,255,255,0.95);
	padding: 16px 20px;
	border-radius: 12px;
	border-left: 4px solid #be0318;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card {
	background: rgba(255,255,255,0.95);
	color: #2a0808;
	padding: var(--card-padding);
	border-radius: var(--card-radius);
	box-shadow: 0 8px 24px rgba(190,3,24,0.08), 0 0 0 1px rgba(190,3,24,0.1);
	cursor: default;
	margin-bottom: 0;
	font-size: 0.9rem;
	border: none;
	backdrop-filter: blur(20px) saturate(180%);
	mix-blend-mode: normal;
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	position: relative;
	overflow: hidden;
	z-index: 1;
	opacity: 1;
	transform: translateY(0) translateZ(0);
	display: flex;
	flex-direction: column;
	visibility: visible;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
	-webkit-transform: translateY(0) translateZ(0);
	height: 100%;
}
.card:hover {
	box-shadow: 0 12px 32px rgba(190,3,24,0.12), 0 0 0 1px rgba(190,3,24,0.15);
	transform: translateY(-4px) translateZ(0);
	-webkit-transform: translateY(-4px) translateZ(0);
}

.card.visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}


.card h3 {
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 10px 0;
	font-size: 1.05rem;
	font-weight: 800;
	position: relative;
	z-index: 1;
	color: #be0318;
	line-height: 1.3;
}
.card h4 {
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 10px 0;
	font-size: 1rem;
	font-weight: 800;
	position: relative;
	z-index: 1;
	color: #be0318;
	line-height: 1.3;
}
.card h5 {
	font-family: 'Montserrat', sans-serif;
	margin: 16px 0 10px 0;
	font-size: 0.95rem;
	font-weight: 700;
	position: relative;
	z-index: 1;
	color: #be0318;
}
.card p {
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 10px 0;
	color: #2a0808;
	opacity: 1;
	line-height: 1.6;
	position: relative;
	z-index: 1;
	font-weight: 500;
	font-size: 0.88rem;
}
.card p:last-child {
	margin-bottom: 0;
}
.card img {
	cursor: pointer;
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	margin: 10px 0;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card img:hover {
	transform: scale(1.05);
	box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card ul,
.card ol {
	color: #2a0808;
	line-height: 1.6;
	margin: 10px 0;
	padding-left: 20px;
	font-size: 0.87rem;
}
.card ul li,
.card ol li {
	margin-bottom: 6px;
}

.card strong {
	color: #2a0808;
	font-weight: 700;
}

.card .accent {
	color: #be0318;
	font-weight: 600;
	background: rgba(190,3,24,0.08);
	padding: 2px 6px;
	border-radius: 4px;
}

.card .highlight-box {
	background: rgba(190,3,24,0.12);
	border-left: 4px solid #be0318;
	padding: 16px;
	margin: 16px 0;
	border-radius: 8px;
	color: #2a0808;
}

.card .metric-display {
	text-align: center;
	margin: 20px 0;
}

.card .metric-value {
	font-size: 2.5rem;
	font-weight: 900;
	color: #be0318;
	line-height: 1;
}

.card .metric-label {
	font-size: 0.95rem;
	color: #2a0808;
	margin-top: 8px;
	font-weight: 600;
}

.card .achievement {
	display: inline-block;
	background: rgba(190,3,24,0.15);
	color: #4c0010;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	margin: 4px;
	border: 1px solid rgba(190,3,24,0.25);
}

.card .stat-item {
	text-align: center;
	padding: 12px;
	background: rgba(190,3,24,0.08);
	border-radius: 8px;
}

.card .stat-item-value {
	font-size: 2rem;
	font-weight: 900;
	color: #be0318;
	line-height: 1;
}

.card .stat-item-label {
	font-size: 0.85rem;
	color: #2a0808;
	margin-top: 6px;
	font-weight: 600;
}

.card .card-centered {
	text-align: center;
	margin: 16px 0;
}

.card .card-subheading {
	font-weight: 700;
	color: #be0318;
	margin-top: 12px;
	margin-bottom: 8px;
	font-size: 0.9rem;
}

/* Исправлено: футер */
footer {
    padding: 8px 24px;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.32);
    border-top: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    display: block;
    width: 100%;
    z-index: 50;
    margin: 0 auto;
}

/* Прогресс бар прокрутки */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.8) 100%);
	z-index: 9999;
	transition: width 0.15s ease-out;
	box-shadow: 0 2px 8px rgba(255,255,255,0.4);
}

/* Плавное появление секций */
.section {
	will-change: opacity, transform;
}

/* Улучшенная читаемость карточек */
.card {
	line-height: 1.7;
	letter-spacing: 0.01em;
}

/* Акцент на важных числах */
.card strong {
	font-size: 1.05em;
}

/* Hover эффект для достижений */
.card .achievement:hover {
	background: rgba(190,3,24,0.25);
	transform: scale(1.05);
	transition: all 0.2s ease;
}

/* Анимация появления метрик */
@keyframes countUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.metric-value {
	animation: countUp 0.6s ease-out;
}

/* Улучшенный фокус для доступности */
.card:focus-visible,
#btn-forward:focus-visible {
	outline: 3px solid rgba(255,255,255,0.8);
	outline-offset: 3px;
}

/* Плавная прокрутка */
html {
	scroll-padding-top: 20px;
}

/* Оптимизация производительности */
.card,
#btn-forward {
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;
}

/* Christmas lights garland */
.lightrope {
	text-align: center;
	white-space: nowrap;
	overflow: visible;
	position: absolute;
	z-index: 9999;
	margin: 0;
	padding: 0;
	pointer-events: none;
	width: 100%;
	top: -10px;
	left: 0;
}

.lightrope li {
	position: relative;
	animation-fill-mode: both;
	animation-iteration-count: infinite;
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	width: 12px;
	height: 28px;
	border-radius: 50%;
	margin: 30px;
	display: inline-block;
	background: rgba(0,200,100,1);
	box-shadow: 0px 4.67px 24px 3px rgba(0,200,100,1);
	animation-name: flash-1;
	animation-duration: 2s;
}

.lightrope li:nth-child(2n+1) {
	background: rgba(255,255,255,1);
	box-shadow: 0px 4.67px 24px 3px rgba(255,255,255,0.8);
	animation-name: flash-2;
	animation-duration: 0.4s;
}

.lightrope li:nth-child(4n+2) {
	background: rgba(255,215,0,1);
	box-shadow: 0px 4.67px 24px 3px rgba(255,215,0,1);
	animation-name: flash-3;
	animation-duration: 1.1s;
}

.lightrope li:nth-child(odd) {
	animation-duration: 1.8s;
}

.lightrope li:nth-child(3n+1) {
	animation-duration: 1.4s;
}

.lightrope li:before {
	content: "";
	position: absolute;
	background: #222;
	width: 10px;
	height: 9.33px;
	border-radius: 3px;
	top: -4.67px;
	left: 1px;
}

.lightrope li:after {
	content: "";
	top: -14px;
	left: 9px;
	position: absolute;
	width: 72px;
	height: 18.67px;
	border-bottom: solid #222 2px;
	border-radius: 50%;
}

.lightrope li:last-child:after {
	content: none;
}

.lightrope li:first-child {
	margin-left: -60px;
}

@media (max-width: 768px) {
	.lightrope li {
		margin: 20px;
	}
	.lightrope li:after {
		width: 52px;
	}
}

@keyframes flash-1 {
	0%, 100% {
		background: rgba(0,200,100,1);
		box-shadow: 0px 4.67px 24px 3px rgba(0,200,100,1);
	}
	50% {
		background: rgba(0,200,100,0.4);
		box-shadow: 0px 4.67px 24px 3px rgba(0,200,100,0.2);
	}
}

@keyframes flash-2 {
	0%, 100% {
		background: rgba(255,255,255,1);
		box-shadow: 0px 4.67px 24px 3px rgba(255,255,255,0.8);
	}
	50% {
		background: rgba(255,255,255,0.4);
		box-shadow: 0px 4.67px 24px 3px rgba(255,255,255,0.2);
	}
}

@keyframes flash-3 {
	0%, 100% {
		background: rgba(255,215,0,1);
		box-shadow: 0px 4.67px 24px 3px rgba(255,215,0,1);
	}
	50% {
		background: rgba(255,215,0,0.4);
		box-shadow: 0px 4.67px 24px 3px rgba(255,215,0,0.2);
	}
}

/* Snow styles */
.snow-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 9998;
	overflow: visible;
	background: transparent;
}
.snowflake{
	position: fixed;
	top: -10vh;
	color: #fff;
	user-select: none;
	pointer-events: none;
	will-change: transform, opacity;
	font-size: 20px;
	opacity: 0.9;
	z-index: 9998;
	animation: snowFall linear infinite;
}
@keyframes snowFall{
	0% {
		transform: translateY(-10vh) translateX(0) rotate(0);
		opacity: 0;
	}
	10% {
		opacity: 0.85;
	}
	100% {
		transform: translateY(110vh) translateX(60px) rotate(360deg);
		opacity: 0.85;
	}
}

/* Separators between blocks */
header.hero + .section::before,
.section + .section::before{
	content: '';
	position: absolute;
	left: 10%;
	right: 10%;
	height: 1px;
	top: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
	border-radius: 2px;
	z-index: 10;
}

/* Кнопка Назад */
#btn-back {
	position: fixed;
	bottom: 20px;
	left: calc(50% - 180px);
	background: #fff;
	color: #be0318;
	border: 2px solid #be0318;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	transition: opacity 0.3s ease, box-shadow 0.3s ease;
	user-select: none;
	opacity: 0;
	pointer-events: none;
}
#btn-back.visible {
	opacity: 1;
	pointer-events: auto;
}
#btn-back:hover {
	box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
#btn-back:active {
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
#btn-back:focus-visible {
	outline: 3px solid rgba(255,255,255,0.8);
	outline-offset: 3px;
}

/* Кнопка Вперед */
#btn-forward {
	position: fixed;
	bottom: 20px;
	left: calc(50% + 20px);
	background: #fff;
	color: #be0318;
	border: 2px solid #be0318;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	transition: opacity 0.3s ease, box-shadow 0.3s ease;
	user-select: none;
	opacity: 1;
	pointer-events: auto;
}
#btn-forward.hidden {
	opacity: 0;
	pointer-events: none;
}
#btn-forward:hover {
	box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
#btn-forward:active {
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
#btn-forward:focus-visible {
	outline: 3px solid rgba(255,255,255,0.8);
	outline-offset: 3px;
}

/* Кнопка Наверх */
#btn-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 56px;
	height: 56px;
	background: #fff;
	color: #be0318;
	border: 2px solid #be0318;
	border-radius: 50%;
	font-size: 24px;
	font-weight: 700;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	display: none;
	align-items: center;
	justify-content: center;
}
#btn-top.visible {
	display: flex;
}
#btn-top:hover {
	background: #fff;
	color: #be0318;
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
#btn-top:active {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
#btn-top:focus-visible {
	outline: 3px solid rgba(255,255,255,0.8);
	outline-offset: 3px;
}

/* Кнопка переключения снега */
#btn-snow-toggle {
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 56px;
	height: 56px;
	background: #fff;
	color: #be0318;
	border: 2px solid #be0318;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
#btn-snow-toggle:hover {
	background: #fff;
	color: #be0318;
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
#btn-snow-toggle:active {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
#btn-snow-toggle:focus-visible {
	outline: 3px solid rgba(255,255,255,0.8);
	outline-offset: 3px;
}
#btn-snow-toggle.paused {
	opacity: 0.5;
}

/* Screen reader only */
.sr-only {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}



/* Скрыть элемент прокрутите */
.scroll-hint {
	display: none !important;
}

/* Добавлено: контейнер секций не блокирует прокрутку */
.sections-container {
	overflow: visible;
	position: relative;
	padding: 20px 20px 80px 20px;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: translateX(-50%) scale(1);
	}
	50% {
		transform: translateX(-50%) scale(1.05);
	}
}

/* Responsive improvements */
@media (max-width: 768px) {
	body {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
		font-size: 16px;
		overflow-x: hidden;
	}
	.section-indicator {
		display: none !important;
	}
	header.hero {
		min-height: 100vh;
		padding: 40px 16px 60px 16px;
	}
	.hero .logo {
		width: 64px;
		height: 64px;
		margin-bottom: 20px;
	}
	.hero h1 {
		font-size: 2rem;
		margin-bottom: 20px;
		line-height: 1.1;
	}
	.hero .hero-desc {
		font-size: 1rem;
		margin-bottom: 14px;
		line-height: 1.5;
	}
	.hero .hero-issue {
		font-size: 0.9rem;
		margin-top: 20px;
	}
	.section {
		min-height: auto;
		padding: 32px 16px 60px 16px;
	}
	.section h2 {
		font-size: 1.5rem;
		margin-bottom: 16px;
		line-height: 1.2;
	}
	.section h3 {
		font-size: 1.2rem;
		margin: 20px 0 12px 0;
		line-height: 1.3;
	}
	.section > .container > p {
		font-size: 0.9rem;
		line-height: 1.6;
		margin-bottom: 16px;
	}
	.section .cards {
		grid-template-columns: 1fr;
		gap: 20px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
	.container {
		padding: 0 16px;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		overflow-x: hidden;
	}
	.card {
		margin: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		padding: 16px;
		font-size: 0.9rem;
		border-radius: 12px;
	}
	.card h3 {
		font-size: 1rem;
		margin-bottom: 10px;
		line-height: 1.3;
	}
	.card h4 {
		font-size: 0.95rem;
		margin-bottom: 10px;
		line-height: 1.3;
	}
	.card h5 {
		font-size: 0.9rem;
		margin: 14px 0 8px 0;
	}
	.card p {
		font-size: 0.85rem;
		line-height: 1.6;
		margin-bottom: 10px;
	}
	.card ul, .card ol {
		font-size: 0.85rem;
		margin: 10px 0;
		padding-left: 20px;
		line-height: 1.6;
	}
	.card ul li, .card ol li {
		margin-bottom: 6px;
	}
	.card strong {
		font-size: 0.9rem;
	}
	.card .highlight-box {
		padding: 14px;
		margin: 14px 0;
		font-size: 0.85rem;
	}
	.card .metric-value {
		font-size: 2.2rem;
	}
	.card .metric-label {
		font-size: 0.85rem;
	}
	.card .stat-item-value {
		font-size: 1.6rem;
	}
	.card .stat-item-label {
		font-size: 0.8rem;
	}
	.card img {
		margin: 12px 0;
		border-radius: 8px;
	}
	.carousel-arrow {
		width: 36px;
		height: 36px;
		font-size: 1.3rem;
	}
	.carousel-counter {
		font-size: 0.8rem;
		padding: 5px 10px;
	}
	#btn-forward, #btn-back {
		display: none !important;
	}
	#btn-top {
		display: flex !important;
		bottom: 20px;
		right: 16px;
		width: 48px;
		height: 48px;
		font-size: 20px;
	}
	#btn-snow-toggle {
		display: none !important;
	}
	.snow-container {
		display: none !important;
	}
	.snowflake {
		display: none !important;
	}
	.fs-carousel-nav {
		width: 44px;
		height: 44px;
		font-size: 1.4rem;
	}
	.fs-carousel-prev {
		left: 8px;
	}
	.fs-carousel-next {
		right: 8px;
	}
	.fs-carousel-close {
		width: 36px;
		height: 36px;
		font-size: 18px;
		top: 8px;
		right: 8px;
	}
	.quiz-container {
		padding: 18px !important;
	}
	.quiz-question {
		font-size: 1.05rem;
		line-height: 1.4;
	}
	.quiz-option {
		padding: 14px 18px;
		font-size: 0.95rem;
	}
	.vote-section {
		margin-top: 14px;
		padding-top: 14px;
	}
	.vote-btn {
		font-size: 1.3rem;
		padding: 6px;
	}
	.vote-count {
		font-size: 0.8rem;
	}
	footer {
		padding: 8px 16px;
		font-size: 0.85rem;
	}
	.scroll-progress {
		height: 3px;
	}
}

/* Carousel styles */
.card-carousel {
	margin: 12px 0;
	width: 100%;
}

.carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
}

.carousel-slide {
	position: relative;
}

.carousel-slide .video-fullscreen-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-slide .video-fullscreen-btn:hover {
	background: rgba(0,0,0,0.9);
	transform: scale(1.1);
}

.carousel-slide {
	display: none;
	width: 100%;
}

.carousel-slide.active {
	display: block;
}

.carousel-slide img,
.carousel-slide video {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	display: block;
	border-radius: 12px;
	object-fit: cover;
	max-width: 400px;
	max-height: 400px;
	margin: 0 auto;
}

.video-wrapper {
	position: relative;
	width: 100%;
	margin: 10px 0;
}

.video-wrapper video {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	border-radius: 12px;
	max-width: 400px;
	max-height: 400px;
	margin: 0 auto;
}

.video-fullscreen-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-fullscreen-btn:hover {
	background: rgba(0,0,0,0.9);
	transform: scale(1.1);
}

.carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.9);
	color: #be0318;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
	transition: var(--transition);
}

.carousel-arrow:hover {
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-arrow.prev {
	left: 10px;
}

.carousel-arrow.next {
	right: 10px;
}

.carousel-counter {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.7);
	color: #fff;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
}

/* Fullscreen carousel modal */
.fullscreen-carousel-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.95);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fs-carousel-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px;
	box-sizing: border-box;
}

.fs-carousel-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fs-carousel-container .carousel-slide {
	display: none;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.fs-carousel-container .carousel-slide.active {
	display: flex;
}

.fs-carousel-container .carousel-slide img,
.fs-carousel-container .carousel-slide video {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 0;
}

.fs-carousel-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255,255,255,0.9);
	color: #be0318;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	z-index: 100001;
	transition: var(--transition);
}

.fs-carousel-close:hover {
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fs-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.9);
	color: #be0318;
	border: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 2rem;
	cursor: pointer;
	z-index: 100001;
	transition: var(--transition);
}

.fs-carousel-nav:hover {
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fs-carousel-prev {
	left: 20px;
}

.fs-carousel-next {
	right: 20px;
}

.fs-carousel-counter {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.8);
	color: #fff;
	padding: 10px 20px;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
	z-index: 100001;
}

/* ===== NEW INTERACTIVE ELEMENTS ===== */

/* Pulse animation for scroll indicator */
@keyframes scrollPulse {
	0%, 100% {
		opacity: 0.4;
		transform: translateY(0);
	}
	50% {
		opacity: 1;
		transform: translateY(8px);
	}
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Scroll indicator - shows on hero section */
.scroll-hint {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.6);
	z-index: 10;
	pointer-events: none;
}

.scroll-hint-text {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.8;
}

.scroll-hint-arrow {
	font-size: 1.5rem;
	animation: scrollPulse 2s ease-in-out infinite;
	display: inline-block;
}

/* Section entry animation */
.section {
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Highlight badges for achievements */
.achievement-badge {
	display: inline-block;
	background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	margin: 4px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	animation: fadeInScale 0.6s ease-out;
}

.achievement-badge:hover {
	background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
	border-color: rgba(255,255,255,0.5);
	transform: scale(1.05);
}

/* Divider between sections */
.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	margin: 40px 0;
	opacity: 0.5;
}

/* Enhanced card hover effect */
.card {
	position: relative;
}

.card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
		rgba(255,255,255,0.1) 0%, 
		transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	border-radius: var(--card-radius);
}

.card:hover::after {
	opacity: 1;
}

/* Voting system */
.vote-section {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(190,3,24,0.2);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.vote-section.vertical {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.vote-btn {
	background: transparent;
	border: none;
	color: #be0318;
	padding: 8px;
	font-size: 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.vote-btn:hover {
	transform: scale(1.2);
}

.vote-btn.voted {
	color: #be0318;
}

.vote-count {
	font-size: 0.85rem;
	color: #2a0808;
	font-weight: 600;
}

/* Quiz game */
.quiz-container {
	background: rgba(255,255,255,0.95);
	padding: 30px;
	border-radius: 16px;
	max-width: 600px;
	margin: 0 auto;
}

.quiz-question {
	font-size: 1.2rem;
	font-weight: 700;
	color: #2a0808;
	margin-bottom: 20px;
}

.quiz-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.quiz-option {
	background: rgba(190,3,24,0.1);
	border: 2px solid #be0318;
	color: #2a0808;
	padding: 15px 20px;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
}

.quiz-option:hover {
	background: rgba(190,3,24,0.2);
	transform: translateX(5px);
}

.quiz-option.correct {
	background: #4CAF50;
	color: #fff;
	border-color: #4CAF50;
}

.quiz-option.wrong {
	background: #f44336;
	color: #fff;
	border-color: #f44336;
}

.quiz-result {
	margin-top: 20px;
	padding: 20px;
	background: rgba(190,3,24,0.1);
	border-radius: 12px;
	text-align: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #2a0808;
}

.quiz-next-btn {
	margin-top: 20px;
	background: #be0318;
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
}

.quiz-next-btn:hover {
	background: #a70014;
	transform: scale(1.05);
}

/* Custom layout for contents section */
.cards-custom-layout {
	grid-template-columns: repeat(2, 1fr);
}

.cards-custom-layout .card-full-width {
	grid-column: 1 / -1;
}

@media (max-width: 768px) {
	.cards-custom-layout {
		grid-template-columns: 1fr;
	}
	
	.cards-custom-layout .card-full-width {
		grid-column: 1;
	}
}


/* Оптимизация для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
	.section .cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
		row-gap: 22px;
	}
	.container {
		padding: 0 24px;
	}
}

/* Оптимизация для больших экранов */
@media (min-width: 1920px) {
	.container {
		max-width: 1600px;
	}
	.section .cards {
		gap: 28px;
		row-gap: 32px;
	}
}

/* Оптимизация для Safari */
@supports (-webkit-backdrop-filter: blur(20px)) {
	.card {
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
	}
}

/* Оптимизация производительности */
.card, .section, #btn-forward, #btn-back, #btn-top {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-perspective: 1000;
	perspective: 1000;
	transform: translate3d(0,0,0);
	-webkit-transform: translate3d(0,0,0);
}

/* Улучшение touch на мобильных */
@media (hover: none) and (pointer: coarse) {
	.card:active {
		transform: scale(0.98) translateZ(0);
		-webkit-transform: scale(0.98) translateZ(0);
		transition: transform 0.2s ease;
	}
	button:active {
		transform: scale(0.95) translateZ(0);
		-webkit-transform: scale(0.95) translateZ(0);
		transition: transform 0.2s ease;
	}
	.card {
		-webkit-tap-highlight-color: transparent;
	}
	button {
		-webkit-tap-highlight-color: transparent;
	}
}


/* FIX: обрезание изображения в ассистенте продаж */
.image-modal,
.modal,
.fullscreen,
.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal img,
.modal img,
.modal-image {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Кроссбраузерная совместимость */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

img {
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
}

/* Оптимизация для Safari iOS */
@supports (-webkit-touch-callout: none) {
	body {
		min-height: -webkit-fill-available;
	}
	.section {
		min-height: -webkit-fill-available;
	}
}

/* Плавная прокрутка для всех браузеров */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Оптимизация для Firefox */
@-moz-document url-prefix() {
	.card {
		backdrop-filter: none;
	}
}

/* Оптимизация для Edge */
@supports (-ms-ime-align: auto) {
	.card {
		background: rgba(255,255,255,0.98);
	}
}

/* Улучшение производительности анимаций */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Оптимизация для Windows High Contrast Mode */
@media (prefers-contrast: high) {
	.card {
		border: 2px solid currentColor;
	}
}

/* Дополнительная оптимизация для мобильных */
@media (max-width: 768px) {
	* {
		-webkit-tap-highlight-color: transparent;
	}
	
	.section {
		will-change: auto;
	}
	
	.card {
		will-change: auto;
	}
}

/* Поиск по дайджесту */
.search-panel {
	position: fixed;
	top: 80px;
	right: 20px;
	z-index: 9999;
	background: rgba(255,255,255,0.98);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
	padding: 16px;
	width: 320px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.search-panel.active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.search-input {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #be0318;
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: 'Montserrat', sans-serif;
	outline: none;
	transition: border-color 0.2s ease;
}
.search-input:focus {
	border-color: #a70014;
}
.search-results {
	max-height: 300px;
	overflow-y: auto;
	margin-top: 12px;
}
.search-results::-webkit-scrollbar {
	width: 6px;
}
.search-results::-webkit-scrollbar-thumb {
	background: #be0318;
	border-radius: 3px;
}
.search-result-item {
	padding: 10px;
	border-radius: 6px;
	cursor: pointer;
	margin-bottom: 6px;
	background: rgba(190,3,24,0.05);
	transition: all 0.2s ease;
}
.search-result-item:hover {
	background: rgba(190,3,24,0.15);
	transform: translateX(4px);
}
.search-result-title {
	font-weight: 600;
	color: #be0318;
	font-size: 0.9rem;
}
.search-result-text {
	font-size: 0.85rem;
	color: #2a0808;
	margin-top: 4px;
	line-height: 1.4;
}

/* Панель настроек */
.settings-panel {
	position: fixed;
	top: 80px;
	right: 20px;
	z-index: 9999;
	background: rgba(255,255,255,0.98);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
	padding: 20px;
	width: 280px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.settings-panel.active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.settings-item {
	margin-bottom: 16px;
}
.settings-item:last-child {
	margin-bottom: 0;
}
.settings-label {
	font-weight: 600;
	color: #be0318;
	font-size: 0.9rem;
	margin-bottom: 8px;
	display: block;
}
.font-size-btns {
	display: flex;
	gap: 8px;
}
.font-size-btn {
	flex: 1;
	padding: 8px;
	border: 2px solid #be0318;
	background: white;
	color: #be0318;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.2s ease;
}
.font-size-btn:hover {
	background: rgba(190,3,24,0.1);
	transform: scale(1.05);
}
.font-size-btn:active {
	transform: scale(0.95);
}
.font-size-btn.active {
	background: #be0318;
	color: white;
}

/* Кнопки управления */
.control-btn {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background: rgba(255,255,255,0.95);
	color: #be0318;
	border: 2px solid #be0318;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Push control buttons below the fixed nav bar */
.has-top-nav .control-btn {
	top: 64px;
}
.control-btn:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
	transform: scale(1.05);
}
.control-btn:active {
	transform: scale(0.95);
}
#btn-search {
	right: 90px;
}
#btn-settings {
	right: 160px;
}

@media (max-width: 768px) {
	.control-btn {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}
	#btn-search,
	#btn-settings {
		display: none;
	}
	#btn-mobile-menu {
		display: flex;
	}
	.search-panel,
	.settings-panel {
		width: calc(100vw - 40px);
		right: 20px;
		left: 20px;
	}
}



/* Размеры шрифта */
body.font-small {
	font-size: 13px;
}
body.font-small .card p,
body.font-small .card li {
	font-size: 0.8rem;
}
body.font-small h2 {
	font-size: 1.6rem;
}
body.font-small h3 {
	font-size: 1.2rem;
}
body.font-small h4 {
	font-size: 1rem;
}

body.font-medium {
	font-size: 16px;
}

body.font-large {
	font-size: 18px;
}
body.font-large .card p,
body.font-large .card li {
	font-size: 1.15rem;
	line-height: 1.9;
}
body.font-large h2 {
	font-size: 2.6rem;
}
body.font-large h3 {
	font-size: 1.8rem;
}
body.font-large h4 {
	font-size: 1.4rem;
}

/* Стили для кнопок размера шрифта */
.font-size-btn[data-size="small"] {
	font-size: 0.85rem;
}
.font-size-btn[data-size="medium"] {
	font-size: 1rem;
}
.font-size-btn[data-size="large"] {
	font-size: 1.2rem;
}

/* Advent menu */
.advent-menu {
	background: rgba(255,255,255,0.98);
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.15);
	margin: 32px auto;
	max-width: 900px;
}
.advent-header {
	text-align: center;
	margin-bottom: 32px;
	border-bottom: 2px solid #be0318;
	padding-bottom: 20px;
}
.advent-title {
	font-size: 2rem;
	font-weight: 700;
	color: #be0318;
	margin: 0 0 8px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.advent-subtitle {
	font-size: 1.1rem;
	color: #2a0808;
	margin: 0;
	font-style: italic;
}
.advent-days {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
.advent-day {
	background: white;
	border: 2px solid #be0318;
	border-radius: 8px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}
.advent-day::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #be0318, #d4af37);
}
.advent-day:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(190,3,24,0.2);
}
.advent-day.completed {
	background: rgba(190,3,24,0.05);
	opacity: 0.7;
}
.advent-day-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}
.advent-day-number {
	font-size: 1.5rem;
	font-weight: 900;
	color: #be0318;
}
.advent-day-icon {
	font-size: 1.5rem;
}
.advent-day-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #be0318;
	margin: 0 0 8px 0;
}
.advent-day-desc {
	font-size: 0.9rem;
	color: #2a0808;
	line-height: 1.6;
	margin: 0;
}
.advent-day-check {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #be0318;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #2a0808;
}
.advent-day-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid #be0318;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
}
.advent-day-checkbox.checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #be0318;
	font-weight: 900;
	font-size: 16px;
}

/* Мобильное меню */
#btn-mobile-menu {
	display: none;
}

.mobile-menu-panel {
	position: fixed;
	top: 80px;
	right: 20px;
	z-index: 9999;
	background: rgba(255,255,255,0.98);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
	padding: 12px 8px;
	min-width: 200px;
	max-height: 400px;
	overflow-y: auto;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.mobile-menu-panel.active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.mobile-menu-item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: none;
	background: transparent;
	color: #2a0808;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: left;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.mobile-menu-divider {
	height: 1px;
	background: rgba(190,3,24,0.2);
	margin: 8px 0;
}

.mobile-menu-item:hover {
	background: rgba(190,3,24,0.1);
}

.mobile-menu-item:active {
	background: rgba(190,3,24,0.2);
	transform: scale(0.98);
}

.mobile-menu-icon {
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
}

.mobile-menu-text {
	flex: 1;
}

@media (max-width: 768px) {
	.search-panel, .settings-panel {
		width: calc(100vw - 40px);
		right: 20px;
		left: 20px;
	}
	.control-btn {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}
	#btn-search,
	#btn-settings {
		display: none;
	}
	#btn-mobile-menu {
		display: flex;
		right: 20px;
	}
	.advent-menu {
		padding: 20px;
	}
	.advent-title {
		font-size: 1.5rem;
	}
	.advent-days {
		grid-template-columns: 1fr;
	}
}


@media print {
	body { background: white !important; }
	.site { background: white !important; }
	.section { background: white !important; }
	.advent-menu { background: white !important; box-shadow: none !important; }
	.advent-day { background: white !important; }
	.advent-day.opened { background: #be0318 !important; }
	.bingo-actions { display: none !important; }
	header, footer, nav, .control-btn, #btn-snow-toggle, #btn-forward, #btn-back, #btn-top, #countdown, .remix-app, .search-panel, .settings-panel { display: none !important; }
	
	/* Скрыть всё кроме бинго */
	body > *:not(.site) { display: none !important; }
	.site > *:not(.sections-container) { display: none !important; }
	.sections-container > *:not(#fortune) { display: none !important; }
	#fortune > *:not(.container) { display: none !important; }
	#fortune .container > *:not(.bingo-card) { display: none !important; }
	
	/* Стили для печати бинго */
	@page { margin: 0; size: landscape; }
	body { margin: 0; padding: 20px; }
	.bingo-card { 
		margin: 0 !important; 
		padding: 20px !important;
		max-width: 100% !important;
		page-break-inside: avoid;
	}
	.bingo-grid { 
		display: grid !important;
		grid-template-columns: repeat(4, 1fr) !important;
		grid-template-rows: repeat(3, 1fr) !important;
		gap: 10px !important;
		height: calc(100vh - 100px) !important;
	}
	.bingo-cell {
		aspect-ratio: unset !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 8px !important;
		font-size: 0.7rem !important;
		line-height: 1.2 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}
}

/* Бинго */
.bingo-card {
	background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,245,245,0.98) 100%);
	border-radius: 20px;
	padding: 40px;
	margin: 32px auto;
	max-width: 100%;
	box-shadow: 0 12px 48px rgba(190,3,24,0.25), 0 0 0 1px rgba(190,3,24,0.1);
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}
.bingo-card::before {
	content: '🎄';
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 4rem;
	opacity: 0.8;
	pointer-events: none;
	filter: drop-shadow(2px 2px 4px rgba(190,3,24,0.3));
}
.bingo-card::after {
	content: '🎁';
	position: absolute;
	bottom: 20px;
	right: 20px;
	font-size: 4rem;
	opacity: 0.8;
	pointer-events: none;
	filter: drop-shadow(2px 2px 4px rgba(190,3,24,0.3));
}
.bingo-card h3 {
	color: #be0318;
	font-size: 1.8rem;
	margin: 0 0 24px 0;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	padding-bottom: 16px;
}
.bingo-card h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, transparent, #be0318, transparent);
	border-radius: 2px;
}
.bingo-actions {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 16px;
}
.bingo-btn {
	background: #be0318;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.bingo-btn:hover {
	background: #a70014;
	transform: scale(1.05);
}
.bingo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 auto;
	width: 100%;
}

/* Адаптивная сетка бинго для мобильных */
@media (max-width: 768px) {
	.bingo-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.bingo-cell {
		min-height: 100px;
		font-size: 0.75rem;
		padding: 12px 8px;
	}
	.bingo-card {
		padding: 20px;
	}
}
.bingo-cell {
	background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,245,245,0.9));
	border: 2px solid #be0318;
	border-radius: 12px;
	padding: 16px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: #2a0808;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	box-shadow: 0 2px 8px rgba(190,3,24,0.1);
	aspect-ratio: 1 / 1;
	line-height: 1.4;
	word-break: keep-all;
	hyphens: none;
	overflow-wrap: normal;
	overflow: hidden;
	min-height: 120px;
}
.bingo-cell strong,
.bingo-cell a {
	display: block;
}
.bingo-cell:hover {
	background: linear-gradient(135deg, rgba(190,3,24,0.15), rgba(190,3,24,0.25));
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(190,3,24,0.2);
}
.bingo-cell.checked {
	background: linear-gradient(135deg, #be0318, #a70014);
	color: white;
	box-shadow: 0 4px 16px rgba(190,3,24,0.4);
}
.bingo-cell.checked::before {
	content: '✓';
	position: absolute;
	top: 4px;
	right: 6px;
	font-size: 16px;
	font-weight: 900;
	color: white;
}
}
@media (max-width: 1024px) {
	.bingo-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.bingo-card {
		padding: 32px 24px;
	}
}
@media (max-width: 768px) {
	.bingo-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	.bingo-card {
		padding: 16px;
		margin: 16px auto;
		box-sizing: border-box;
		max-width: calc(100% - 32px);
		overflow: hidden;
	}
	.bingo-grid {
		max-width: 100%;
		box-sizing: border-box;
	}
	.bingo-card h3 {
		font-size: 1.1rem;
		margin-bottom: 16px;
		padding-bottom: 12px;
	}
	.bingo-cell {
		padding: 10px 6px;
		font-size: 0.65rem;
		min-height: auto;
		line-height: 1.2;
		box-sizing: border-box;
		word-break: break-word;
		hyphens: auto;
	}
	.bingo-card::before,
	.bingo-card::after {
		font-size: 2rem;
	}
	.sales-assistant-intro {
		flex-direction: column !important;
		text-align: center;
		padding: 20px !important;
	}
	.sales-assistant-intro img {
		width: 200px !important;
		height: 200px !important;
		margin-bottom: 16px;
	}
}
@media print {
	.bingo-actions { display: none !important; }
	.bingo-card { 
		background: white !important; 
		box-shadow: none !important;
		margin: 0 !important;
		padding: 20px !important;
	}
	.bingo-grid {
		grid-template-columns: repeat(6, 1fr) !important;
		gap: 10px !important;
		grid-auto-rows: 1fr !important;
	}
	.bingo-cell {
		width: 100% !important;
		height: 100% !important;
		aspect-ratio: 1 / 1 !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 8px !important;
		font-size: 0.65rem !important;
		line-height: 1.2 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
	}
}

/* Мобильная версия блока НГ */
@media (max-width: 768px) {
	.newyear-article {
		flex-direction: column !important;
		text-align: center;
	}
	.newyear-article img {
		order: -1;
	}
}

/* Широкие карточки */
#horeca .cards {
	grid-template-columns: repeat(6, 1fr);
}

#horeca .cards .card {
	grid-column: span 2;
}

#horeca .cards .card:nth-child(4),
#horeca .cards .card:nth-child(5) {
	grid-column: span 3;
}

@media (max-width: 1024px) {
	#horeca .cards {
		grid-template-columns: 1fr;
	}
	#horeca .cards .card,
	#horeca .cards .card:nth-child(4),
	#horeca .cards .card:nth-child(5) {
		grid-column: span 1;
	}
}

/* Мобильное меню */
#btn-mobile-menu {
	display: none;
}

@media (max-width: 768px) {
	#btn-search,
	#btn-settings {
		display: none !important;
	}
	
	#btn-mobile-menu {
		display: flex;
		position: fixed;
		top: 20px;
		right: 20px;
		width: 44px;
		height: 44px;
		background: rgba(255,255,255,0.95);
		color: #be0318;
		border: 2px solid #be0318;
		border-radius: 50%;
		font-size: 20px;
		cursor: pointer;
		z-index: 10000;
		box-shadow: 0 4px 16px rgba(0,0,0,0.2);
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
	}
	
	#btn-mobile-menu span {
		width: 4px;
		height: 4px;
		background: #be0318;
		border-radius: 50%;
	}
	
	.mobile-menu-panel {
		position: fixed;
		top: 75px;
		right: 20px;
		z-index: 9999;
		background: rgba(255,255,255,0.98);
		border-radius: 12px;
		box-shadow: 0 8px 32px rgba(0,0,0,0.2);
		padding: 12px;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: all 0.3s ease;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}
	
	.mobile-menu-panel.active {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}
	
	.mobile-menu-btn {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 12px 16px;
		background: white;
		border: 2px solid #be0318;
		border-radius: 8px;
		color: #be0318;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.2s ease;
		margin-bottom: 8px;
		font-size: 14px;
	}
	
	.mobile-menu-btn:last-child {
		margin-bottom: 0;
	}
	
	.mobile-menu-btn:active {
		background: rgba(190,3,24,0.1);
		transform: scale(0.95);
	}
	
	.search-panel,
	.settings-panel {
		top: 75px;
	}
}

/* Широкие карточки */
#horeca .cards {
	grid-template-columns: repeat(6, 1fr);
}

#horeca .cards .card {
	grid-column: span 2;
}

#horeca .cards .card:nth-child(4),
#horeca .cards .card:nth-child(5) {
	grid-column: span 3;
}

@media (max-width: 1024px) {
	#horeca .cards {
		grid-template-columns: 1fr;
	}
	#horeca .cards .card,
	#horeca .cards .card:nth-child(4),
	#horeca .cards .card:nth-child(5) {
		grid-column: span 1;
	}
}

/* Мобильная версия блока НГ */
@media (max-width: 768px) {
	.newyear-article {
		flex-direction: column !important;
		text-align: center;
	}
	.newyear-article img {
		order: -1;
	}
}

/* Горизонтальное расположение реакций */
@media (max-width: 768px) {
	.remix-app {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}
}

/* Индикатор загрузки */
.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #9b0316;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden {
	opacity: 0;
	visibility: hidden;
}
.loader-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(255,255,255,0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
.loader-text {
	color: #fff;
	font-size: 1rem;
	margin-top: 16px;
	font-weight: 600;
}
@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Видео на iOS - убираем кнопку fullscreen */
video::-webkit-media-controls-fullscreen-button {
	display: none !important;
}
video::-webkit-media-controls-play-button {}
video::-webkit-media-controls-timeline {}

/* Улучшение отображения видео */
video {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Video wrapper с placeholder */
.video-wrapper {
	position: relative;
	width: 100%;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}
.video-wrapper video {
	width: 100%;
	height: auto;
	display: block;
}
.video-wrapper video:not([poster]):not([src*="blob"]) {
	min-height: 300px;
	background: linear-gradient(135deg, #2a0808 0%, #4a0808 100%);
}
@media (max-width: 768px) {
	.video-wrapper video:not([poster]):not([src*="blob"]) {
		min-height: 200px;
	}
}

/* Полное скрытие overlay кнопок на видео */
.video-wrapper {
	position: relative !important;
}
.video-wrapper::before,
.video-wrapper::after {
	display: none !important;
	content: none !important;
}
.carousel-slide::before,
.carousel-slide::after {
	display: none !important;
	content: none !important;
}

/* ============================================================
   TOP NAVIGATION BAR (shared across all issues)
   ============================================================ */
.top-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 52px;
	background: rgba(12, 1, 4, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 2000;
	border-bottom: 1px solid rgba(190, 3, 24, 0.25);
}
.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
	flex-shrink: 0;
}
.nav-logo img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}
.nav-logo span {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}
.nav-issues {
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-issue {
	padding: 5px 14px;
	border-radius: 20px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.55);
	transition: all 0.2s ease;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.nav-issue:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}
.nav-issue.active {
	color: #fff;
	background: #be0318;
}
.nav-issue.nav-pdf {
	opacity: 0.72;
}
.nav-issue.nav-pdf::after {
	content: ' ↓';
	font-size: 0.65rem;
	opacity: 0.8;
}
.nav-issue.nav-pdf:hover {
	opacity: 1;
}
@media (max-width: 480px) {
	.nav-logo span { display: none; }
	.nav-container { padding: 0 16px; }
	.nav-issue { padding: 5px 10px; font-size: 0.72rem; }
}

/* Offset for fixed nav — add to <main> or <body> on pages with top-nav */
.has-top-nav header.hero {
	padding-top: calc(clamp(80px,12vh,140px) + 52px);
}

/* ============================================================
   SPRING THEME (Issue 4 / index.html)
   ============================================================ */
.spring-site {
	background: #fafaf8 !important;
}
.spring-site .section {
	background: #fafaf8 !important;
	color: #1a1a1a;
}
.spring-site .section h2 {
	color: #be0318;
}
.spring-site .section h3 {
	color: #3a3a3a;
}
.spring-site .card {
	background: #fff !important;
	color: #1a1a1a;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.05);
	min-height: 120px;
}
.spring-site .card:hover {
	box-shadow: 0 8px 28px rgba(190, 3, 24, 0.12), 0 0 0 1px rgba(190, 3, 24, 0.12);
	transform: translateY(-3px) translateZ(0);
}
.spring-site .card article {
	flex: 1;
}
.spring-site footer {
	background: #fafaf8 !important;
	border-top: 1px solid #ede9e4;
	color: #888;
}
.spring-site .section-indicator button {
	background: rgba(190, 3, 24, 0.25);
}
.spring-site .section-indicator button.active {
	background: #be0318;
	box-shadow: 0 0 16px rgba(190, 3, 24, 0.4);
}

/* Spring hero */
.spring-hero {
	background: linear-gradient(145deg, #8a0114 0%, #be0318 50%, #cc2a1a 100%) !important;
	overflow: hidden;
}
.spring-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 85%, rgba(255,220,230,0.12) 0%, transparent 45%),
		radial-gradient(circle at 85% 20%, rgba(255,200,220,0.10) 0%, transparent 45%);
	pointer-events: none;
}

/* Floating cherry blossom petals */
.petal {
	position: absolute;
	border-radius: 0 50% 0 50%;
	opacity: 0;
	animation: petalFall linear infinite;
	pointer-events: none;
}
@keyframes petalFall {
	0%   { transform: translateY(-40px) rotate(0deg) scale(1);   opacity: 0; }
	5%   { opacity: 0.8; }
	90%  { opacity: 0.6; }
	100% { transform: translateY(110vh) rotate(540deg) scale(0.6); opacity: 0; }
}

/* Spring site footer banner */
.spring-footer-banner {
	text-align: center;
	padding: 60px 20px 40px;
	background: #fafaf8;
}
.spring-footer-banner h2 {
	color: #be0318;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
	margin: 0;
	font-family: 'Montserrat', sans-serif;
}

/* Spring scrollbar */
.spring-site {
	scrollbar-color: rgba(190, 3, 24, 0.35) transparent;
}
.spring-site::-webkit-scrollbar-thumb {
	background: rgba(190, 3, 24, 0.35);
}
.spring-site::-webkit-scrollbar-thumb:hover {
	background: rgba(190, 3, 24, 0.55);
}
