
:root {
	--primary: #e313bf;
	--text: #0f172a;
	--light: #fff;
	--gray: #64748b;
	--border: #e2e8f0;
	--gradient-start: var(--primary);
	--gradient-end: #7c3aed;
	--gradient-hover-end: #8b5cf6;
	--header-height: 5rem;
}

html {
  background: #0f0f1e; /* фон на случай bounce */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


body {
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--text);
	line-height: 1.6;
	position: relative;
    min-height: 100vh;
    overscroll-behavior: none; /* запретить bounce */
}

.site-wrapper {
  overflow-x: hidden;
}


.site-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Тот же градиент что у hero*/
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1e 100%);
}


/* Грид-сетка */
.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.container {
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
	background: transparent;
}

section {
	background: transparent;
}

h2 {
	font-size: clamp(2rem, 2.5vw, 2.8rem);
	text-align: center;
	margin-bottom: 1rem;
	font-weight: 700
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 5rem;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
	transition: all 0.3s
}

header.scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06)
}

nav {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.logo {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	text-decoration: none
}

.logo-img {
	height: 25px;
	max-height: 35px;
	width: auto;
	display: block
}

.logo:hover .logo-img {
	opacity: 0.85;
	transition: opacity 0.2s
}

.login-btn {
	padding: 10px 24px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	display: inline-block;
	text-align: center
}

.login-btn:hover {
	background: #4f46e5;
	transform: translateY(-1px)
}



.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 100px;
	background: transparent !important;
	overflow: visible;

}

.hero-bg {
    opacity: 0.5;
    position: absolute;
    inset: 0;                   /* top:0; left:0; width:100%; height:100%; */
    z-index: -1;
    background-attachment: fixed;
    background: transparent !important;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.25);
	z-index: -1
}

.hero-content {
  padding: 2.5rem 2rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
	font-size: clamp(2.5rem, 8vw, 4.2rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 1.2rem;
	color: #fff;
}

.hero p {
	font-size: 1.25rem;
	color: #fff;
	margin-bottom: 2.5rem;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem
}

.hero-search {
	margin: 2.5rem auto 1.5rem;
	max-width: 680px
}

.btn-primary {
	background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s
}

.btn-primary:hover {
	background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4)
}

.btn-wb {
	background: white;
	color: var(--primary);
	border: 2px solid var(--primary);
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06)
}

.btn-wb:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(227, 19, 191, 0.25);
	background: rgba(227, 19, 191, 0.06);
	color: var(--primary)
}

.btn-main {
	margin-top: auto;
	display: block;
	width: 100%;
	padding: 12px 20px;
	background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	color: white;
	font-weight: 600;
	text-align: center;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.22s ease
}


.hero-buttons .btn-primary,
.hero-buttons .btn-wb {
	padding: clamp(12px, 3.5vw, 16px) clamp(28px, 7vw, 48px);
	font-size: clamp(0.95rem, 3.2vw, 1.1rem);
	min-width: clamp(200px, 42vw, 260px);
	border-radius: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	transition: all 0.25s;
	box-sizing: border-box
}

.hero-buttons .btn-primary {
	background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	color: white;
	border: none
}

.hero-buttons .btn-primary:hover {
	background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4)
}

.hero-buttons .btn-wb {
	background: white;
	color: var(--primary);
	border: 2px solid var(--primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	min-height: clamp(38px, 9.5vw, 50px);
	padding: clamp(8px, 2.5vw, 12px) clamp(24px, 6vw, 44px)
}

.hero-buttons .btn-wb:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(227, 19, 191, 0.25);
	background: rgba(227, 19, 191, 0.06);
	color: var(--primary)
}



.carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px clamp(80px, 100px, 120px);
    overflow: visible;  /* изменил с hidden на visible */
    box-sizing: border-box;
    background: transparent;
}

.carousel-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 20px 0;
	scrollbar-width: none;
	align-items: flex-start
}

.carousel-track::-webkit-scrollbar {
	display: none
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.2s;
	z-index: 10;
	background: rgba(15, 15, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        color: #e313bf;  /* начальный розовый цвет */
    text-shadow:
        0 0 6px currentColor,
        0 0 12px currentColor,
        0 0 20px currentColor;

        color: #e313bf;
    animation: arrowPulse 4s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        color: #e313bf;
        text-shadow: 0 0 6px #e313bf, 0 0 12px #e313bf, 0 0 20px #e313bf;
    }
    25% {
        color: #667eea;
        text-shadow: 0 0 10px #667eea, 0 0 20px #667eea, 0 0 30px #667eea;
    }
    50% {
        color: #a855f7;
        text-shadow: 0 0 6px #a855f7, 0 0 12px #a855f7, 0 0 20px #a855f7;
    }
    75% {
        color: #db2777;
        text-shadow: 0 0 10px #db2777, 0 0 20px #db2777, 0 0 30px #db2777;
    }
}



.carousel-btn.prev,
.carousel-btn.next {
    color: #fff;
    background: rgba(227, 19, 191, 0.15);
    border-color: rgba(227, 19, 191, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(227, 19, 191, 0.3);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn:hover {
    background: rgba(227, 19, 191, 0.15);
    border-color: rgba(227, 19, 191, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(227, 19, 191, 0.3);
}

@keyframes pulse {
	0% {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(99, 102, 241, 0.2)
	}

	70% {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 12px rgba(99, 102, 241, 0.1)
	}

	100% {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(99, 102, 241, 0.2)
	}
}



.card,
.review-card {
	width: 320px;
	min-width: 320px;
	max-width: 320px;
	height: 720px !important;
	min-height: 720px !important;
	scroll-snap-align: start;
	transition: transform 0.3s, box-shadow 0.3s;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(30, 30, 50, 0.95) 100%);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1) inset;
	display: flex;
	flex-direction: column;
}

.card:hover,
.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(227, 19, 191, 0.2);
}

.review-card:hover .card-body {
    background: rgba(255, 255, 255, 0.01) !important; /* вместо 0.08 */
}

@media (hover:hover) and (pointer:fine) {

    .card:hover,
    .review-card:hover {
       transform: translateY(-8px);
       box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(227, 19, 191, 0.2);
    }

    .review-card:hover .card-body {
        background: rgba(227, 19, 191, 0.02) !important;

    }
}

@media (hover:none) {

    .card,
    .review-card {
       transition: none
    }
}



.review-card img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	cursor: pointer;
	transition: opacity 0.5s ease
}

.review-card img:hover {
	opacity: 0.92
}

.card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 20px;
	/* Glass effect */
	background: rgba(15, 15, 30, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: none;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-body h3 {
	font-size: 1.1rem;
	line-height: 1.32;
	margin: 0 0 10px 0;
	color: #f1f5f9; /* Светлый цвет для glass-фона */
	font-weight: 600;
}

.teaser {
	font-size: 0.95rem;
	line-height: 1.5;
	height: 4.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin-bottom: 1rem;
	color: #cbd5e1; /* Светлый серый для glass-фона */
}

.rating-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 0.92rem;
	color: #94a3b8; /* Светлый серый для glass-фона */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.stars {
	color: #f59e0b;
	font-size: 1.2rem;
	letter-spacing: 1px
}

.rating-text {
	white-space: nowrap
}

.card,
.review-card {
	width: 320px;
	min-width: 320px;
	max-width: 320px;
	height: 520px;
	min-height: 520px;
	max-height: 520px;
	scroll-snap-align: start;
	transition: transform 0.3s, box-shadow 0.3s;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column
}

.review-card .card-title-link {
    color: inherit;
    text-decoration: none;
}

.card:hover,
.review-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1)
}

.review-card .slides-container {
	position: relative;
	aspect-ratio: 3 / 4;
	width: 100%;
	height: auto;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
	user-select: none;
	touch-action: pan-y
}

.review-card .slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block
}

.card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 20px;
	overflow: hidden;
	/* Glass effect */
	background: rgba(15, 15, 30, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: none;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-body h3 {
	font-size: 1.1rem;
	line-height: 1.32;
	margin: 0 0 10px 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
}

.teaser {
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0 0 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	flex-grow: 1
}

.rating-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	font-size: 0.92rem;
	color: #10b981;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.btn-main {
	margin-top: auto;
	display: block;
	width: 100%;
	padding: 12px 20px;
	background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	color: white;
	font-weight: 600;
	text-align: center;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.22s ease
}




.review-card .slides-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
	width: 100%;
	will-change: transform
}

.review-card .slide {
	flex: 0 0 100%;
	width: 100%
}

.review-card .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center
}

.review-card .indicators {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10
}

.review-card .indicator {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	transition: all 0.3s
}

.review-card .indicator.active {
	background: white;
	width: 12px;
	height: 12px;
	transform: scale(1.2);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35)
}

@media (pointer:fine) {
	.review-card .slides-container {
		cursor: pointer
	}
}

.gallery-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 2000;
	align-items: center;
	justify-content: center
}

.gallery-overlay.active {
	display: flex
}

.gallery-close {
	position: absolute;
	top: 20px;
	right: 30px;
	background: none;
	border: none;
	color: white;
	font-size: 48px;
	cursor: pointer;
	z-index: 2001
}

.gallery-container {
	position: relative;
	width: 90%;
	max-width: 1100px;
	height: 85vh;
	overflow: hidden
}

.gallery-track {
	display: flex;
	height: 100%;
	transition: transform 0.4s ease
}

.gallery-track img {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	object-fit: contain
}

.gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: white;
	font-size: 48px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	backdrop-filter: blur(4px)
}

.gallery-arrow.prev {
	left: 20px
}

.gallery-arrow.next {
	right: 20px
}

.gallery-arrow:hover {
	background: rgba(255, 255, 255, 0.3)
}

.search-wrapper {
	display: flex;
	align-items: center;
	background: white;
	border-radius: 999px;
	padding: 6px 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border);
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box
}

#globalSearch {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	font-size: 1rem;
	border-radius: 50px;
	border-radius: 50px 0 0 50px;
	border: none;
	outline: none;
	background: transparent
}

.search-btn {
	padding: 10px 22px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 80px
}

.search-btn:hover {
	background: #c40fa5;
	transform: scale(1.05)
}

.search-hint {
	text-align: center;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	line-height: 1.4
}



.infinite-feed-section {
	position: relative;
	overflow: visible;
	z-index: 0;
	padding-top: 80px;
}


#feed-top,
.reviews-feed,
.reviews-feed .review-card {
	position: relative;
	z-index: 1
}

.infinite-feed-section .container {
	text-align: center;
	margin-bottom: 3rem
}

.subtitle {
    font-size: 1.15rem;
    max-width: 680px;
    color: var(--gray);
    text-align: center;
    padding: 20px 10px 40px 10px;
    margin: 0 auto;  /* ДОБАВЬ ЭТО */
    display: block;  /* и это если нет */
}

.reviews-feed {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(20px, 3vw, 40px);
	padding: 0 clamp(16px, 4vw, 48px);
	margin: 0 auto;
	max-width: 1600px;
	justify-content: center;
	justify-items: center;
	z-index: 1
}



.feed-loading,
.end-of-feed {
	text-align: center;
	padding: 80px 0 40px;
	color: var(--gray)
}

.feed-loading.hidden,
.end-of-feed.hidden {
	display: none
}

.end-of-feed p {
	margin: 0;
	font-weight: 500
}

.spinner {
	width: 56px;
	height: 56px;
	border: 6px solid #f3f3f3;
	border-top: 6px solid var(--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1.5rem
}

@keyframes spin {
	to {
		transform: rotate(360deg)
	}
}

.sentinel {
	height: 40px;
	width: 100%
}

.fixed-scroll-top {
	position: fixed;
	bottom: 40px;
	right: 40px;
	width: 64px;
	height: 64px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 2rem;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
	z-index: 999;
	transition: all 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none
}

.fixed-scroll-top:hover {
	transform: scale(1.12);
	box-shadow: 0 10px 24px rgba(227, 19, 191, 0.4);
	background: #c40fa5
}

.fixed-scroll-top:active,
.fixed-scroll-top:focus,
.fixed-scroll-top:focus-visible {
	transform: scale(0.95);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	outline: none
}

.fixed-scroll-top.hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.6)
}

body.scrolled .fixed-scroll-top:not(:hover):not(:active):not(:focus) {
	transform: scale(1) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

.subscribe {
	color: white;
	text-align: center;
    position: relative;
    background: transparent;
}

.subscribe h2 {
	font-size: clamp(1.7rem, 5.5vw, 2.1rem);
	margin-bottom: 12px;
	line-height: 1.2;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 16px;
}

.subscribe p {
	font-size: 0.95rem;
	opacity: 0.95;
    color: #cbd5e1;
    text-align: center;
    margin: 10px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 420px;
	margin: 0 auto 16px;
}

input[type="email"] {
	padding: 14px 18px;
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	width: 100%;
	box-sizing: border-box;
	min-width: 240px
}

.btn-primary {
	padding: 14px 32px;
	font-size: 1rem;
	min-height: 48px;
	border-radius: 12px;
	white-space: nowrap
}

.consent {
	font-size: 0.8rem;
	opacity: 0.9;
	margin: 0px auto;
	max-width: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	line-height: 1.35;
}

.consent label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: nowrap;
	white-space: nowrap;
	max-width: 100%;
	margin-bottom: 6px;
}

.consent input {
	flex-shrink: 0;
	margin-top: 2px;
}

.consent span {
	flex: 1 1 auto;
	text-align: left;
	white-space: normal;
	word-break: break-word;
}

.policy-link {
	display: block;
	color: white;
	text-decoration: underline;
	font-size: 0.85rem;
	opacity: 0.9;
	margin-top: 2px;
}

.policy-link:hover {
	opacity: 1;
}


/* Glass эффект для subscribe секции */

.belt--subscribe {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%; /* ОДИН width */
  height: 200px;
  display: flex;
  overflow: visible;
  z-index: 0;
  opacity: 0.4;
  filter: blur(1px);
}

.belt--subscribe .belt__track {
  display: flex;
  align-items: center;
  gap: 0px;
  animation: scroll 45s linear infinite;
  animation-direction: reverse;
  transform: translateX(-25%);
}

.belt--subscribe img {
  height: 200px;
  flex-shrink: 0;
  border-radius: 12px;
}

.subscribe-content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px; /* толщина рамки */
  background: linear-gradient(90deg, #e313bf 0%, #667eea 50%, #a855f7 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.subscribe-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 80px;
  position: relative;
  text-align: center;
  z-index: 2;
  background: rgba(15, 15, 30, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.subscribe .consent-text a {
  color: #e313bf;
}


footer {
	padding: 60px 0 40px;
	text-align: center;
	color: var(--gray);
	font-size: 0.95rem
}

.social a {
	color: var(--gray);
	margin: 0 12px;
	font-size: 1.4rem;
	text-decoration: none
}

.review-hero {
	padding: 120px 0 130px;
	background: linear-gradient(to bottom, var(--light), #f1f5f9);
	text-align: center;
	position: relative
}

.review-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 20%, rgba(227, 19, 191, 0.08), transparent 60%);
	pointer-events: none
}

.review-hero h1 {
	font-size: clamp(2.2rem, 6vw, 3.8rem);
	margin-bottom: 1rem
}

.review-gallery {
	padding: 60px 0
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1)
}

.video-wrapper::before {
	content: "Видео загружается...";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray);
	font-size: 1.1rem
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%
}

.product-grid {
	display: grid;
	grid-template-columns: 125px 1fr 475px;
	gap: 2rem 2rem;
	align-items: flex-start;
	margin-bottom: 4rem
}

.thumbnails-column {
	display: flex;
	flex-direction: column;
	gap: 2px;
	justify-content: flex-start
}

.thumbnail {
	width: 100%;
	aspect-ratio: 1;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s
}

.thumbnail.active {
	border-color: var(--primary)
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

.thumbnail.video-thumb {
	position: relative
}

.video-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	color: white;
	font-size: 2.5rem
}

.main-media-column {
	max-width: 680px;
	width: 100%
}

.main-media {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
	background: #fff
}

#mainImage {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain
}

.info-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: flex-start;
	text-align: left;
	max-width: 100%
}

.info-column h1 {
	font-size: clamp(2.1rem, 4.5vw, 2.8rem);
	margin: 0;
	line-height: 1.15
}

.info-column .teaser {
	font-size: 1.1rem;
	color: var(--gray);
	margin: 0.4rem 0 0.8rem
}

.info-column .rating-line {
	margin-bottom: 1.2rem
}






/* ── About Hero ─────────────────────────────────────────────────────────────── */
.glass-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px; /* толщина рамки */
  background: linear-gradient(90deg, #e313bf 0%, #667eea 50%, #a855f7 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

/* Фоновые ленты */
.glass-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Карточка */
.glass-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: rgba(15, 15, 30, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 48px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  width: 780px;
  margin: 0 auto;
}

@keyframes morphCard {
  0%,100% { border-radius: 40px 20px 50px 15px / 15px 50px 20px 45px; }
  25%      { border-radius: 50px 15px 20px 45px / 45px 20px 40px 15px; }
  50%      { border-radius: 20px 45px 40px 20px / 40px 15px 45px 20px; }
  75%      { border-radius: 45px 40px 15px 50px / 20px 45px 15px 40px; }
}

/* Фото обёртка с градиентным бордером */
.glass-card-photo-wrap {
  flex-shrink: 0;
  padding: 3px;
  background: linear-gradient(135deg, #e313bf, #667eea, #a855f7);
  box-shadow: 0 0 20px rgba(227,19,191,0.4), 0 0 40px rgba(102,126,234,0.2);
}


.glass-card-photo {
  width: 220px;
  height: 280px;
  overflow: hidden;
  background: #16213e;
}

.glass-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.glass-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;

}

.glass-card-content {
  flex: 1;
}

.about-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e313bf;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-title {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
    text-shadow:
    0 0 40px rgba(227, 19, 191, 0.5),
    0 0 80px rgba(227, 19, 191, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.8);
}

.about-title em {
  font-style: normal;
  color: #e313bf;
  position: relative;
  display: inline-block;
}

.about-title em::after {
  display: none; /* убираем старую линию */
}

.underline-svg {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 12px;
  overflow: visible;
}

.underline-svg path {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawLine 0.8s 2.5s forwards ease-out;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.about-text {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.about-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.about-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e313bf, #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-align: center;
}

.about-stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

  .glass-card-photo-wrap {
    display: flex;
    justify-content: center;
  }

.glass-hero {
padding: 0px !important;
padding-bottom: 100px !important;
}

.glass-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.section-heading {
  position: relative;  /* добавь */
  z-index: 2;  /* добавь - будет впереди символов */
  display: inline-block;
  width: 100%;
  padding: 12px 28px;
  background: rgba(15, 15, 30, 0.4);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-shadow:
    0 0 20px rgba(227, 19, 191, 0.5),
    0 0 40px rgba(227, 19, 191, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.8);
    animation: textNeonFlicker 4s ease-in-out infinite;

}

/* контейнер для центрирования */
.section-heading-wrap {
    text-align: center;
    margin-bottom: 1rem;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.neon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: flex-end;  /* было center - теперь внизу */
    justify-content: center;
    padding-bottom: 15px;  /* отступ от низа */
}

.neon-line {
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #e313bf 20%,
        #667eea 50%,
        #a855f7 80%,
        transparent 100%);
    box-shadow:
        0 0 20px #e313bf,
        0 0 40px #667eea,
        0 0 60px #a855f7;
    animation: neonPulse 4s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        box-shadow:
            0 0 20px #e313bf,
            0 0 40px #667eea,
            0 0 60px #a855f7;
    }
    20%, 24%, 55% {
        opacity: 0.2;
        box-shadow: 0 0 5px #e313bf;
    }
    19%, 21%, 23%, 54%, 56% {
        opacity: 0.5;
        box-shadow: 0 0 10px #667eea;
    }
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.scroll-hint-inner {
  animation: bounceGlow 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-hint svg {
  display: block;
}

.scroll-hint svg polyline {
  transition: stroke 0.5s ease;
}

@keyframes bounceGlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.container--h2 {
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
    background: none;  /* убери если был */
    border: none;  /* убери если был */
	position: relative;
}

@keyframes neonLinePulse {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        box-shadow:
            0 0 20px #e313bf,
            0 0 40px #667eea,
            0 0 60px #a855f7;
    }
    20%, 24%, 55% {
        opacity: 0.2;
        box-shadow: 0 0 5px #e313bf;
    }
    19%, 21%, 23%, 54%, 56% {
        opacity: 0.5;
        box-shadow: 0 0 10px #e313bf;
    }
}

/* ============================================ */
/* АДАПТИВ - МОБИЛЬНЫЕ УСТРОЙСТВА */
/* ============================================ */

/* Desktop - кнопки карусели */
@media (min-width: 768px) {
  .hero-buttons .btn-primary,
  .hero-buttons .btn-wb {
    min-width: 220px;
    max-width: 260px;
    width: 220px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .search-hint {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    margin-top: 12px;
    line-height: 1.5;
    font-weight: 400;
  }
}

@media (min-width: 1200px) {
  .search-hint {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
  }
}

@media (min-width: 1400px) {
  .reviews-feed {
    max-width: 1480px;
    gap: 32px;
    padding: 0 40px;
  }
}

/* Tablet и ниже */
@media (max-width: 1023px) {
  .card,
  .review-card {
    transition: none !important;
  }

  .card:hover,
  .review-card:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  }
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .thumbnails-column {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .thumbnail {
    width: 80px;
    flex-shrink: 0;
  }

  .main-media {
    aspect-ratio: 1 / 1;
    max-height: 520px;
  }

  .info-column {
    text-align: center;
    order: -1;
  }
}

/* Основной мобильный breakpoint - 768px и ниже */
@media (max-width: 768px) {
  /* Header */
  .logo-img {
    height: clamp(1.2rem, 5vw, 1.5rem);
  }

  .login-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    min-height: 2.25rem;
    min-width: 6.875rem;
    border-radius: 0.625rem;
  }

  header,
  .header,
  .site-header,
  .navbar {
    background: rgba(15, 15, 30, 0.5) !important;
    backdrop-filter: blur(15px) !important;
    padding: 0px;
  }

  /* Container */
  .container:not(header .container) {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero Section */
  .hero {
    min-height: 100vh !important;
    max-height: 100vh !important;
    padding: 80px 0 20px;
  }

  .hero-content-wrapper {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-content {
    padding-bottom: 5px !important;
    backdrop-filter: blur(0px) !important;
    box-shadow: none !important;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .search-form {
    margin-top: 1rem;
  }

  .scroll-hint {
  bottom: 60px;
  z-index: 200 !important; /* больше чем у hero-content */
  }

  /* 3D Ленты */
  .belt {
    height: 220px;
  }

  .belt img {
    height: 100px;
  }

  .belt--back {
    top: 20%;
  }

  .belt--front {
    bottom: 15%;
  }

  .belt--front .belt__track {
    animation-duration: 55s;
    animation-direction: reverse;
  }

  /* Glass Hero (О нас) */
  .glass-hero {
    padding: 60px 0px 60px !important;
  }

  .glass-card {
    width: 100%;
    flex-direction: column;
    padding: 24px 16px;
    backdrop-filter: blur(0px) !important;
    box-shadow: none;
  }

  .glass-card-photo {
    width: 160px;
    height: 200px;
  }

  .about-stats > div {
    flex: 1;
    text-align: center;
  }

  /* Заголовки секций */
  .section-heading-wrap {
    position: relative;
    text-align: center;
  }

  .section-heading {
    text-align: center;
    box-sizing: border-box;
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .subtitle {
    padding: 20px 10px;
  }

  /* Карусели */
  .carousel-wrapper {
    padding: 25px 20px;
  }

  /* Карточки в каруселях */
  .card,
  .review-card {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }

  .card-body {
    padding: 16px;
  }

  .teaser {
    -webkit-line-clamp: 6;
  }

  /* Бесконечная лента */
  .infinite-feed-section {
    padding-top: 60px;
  }

  .review-gallery-hero .slides-container {
    height: 50vh;
    max-height: 380px;
  }

  .subscribe-content {
    padding: 20px;
  }

}

/* Скрыть кнопки навигации карусели */
@media (max-width: 767px) {
  .carousel-btn.prev,
  .carousel-btn.next {
    opacity: 0;
    pointer-events: none;
  }

  /* Бесконечная лента - сетка 2 колонки */
  .reviews-feed,
  #reviews-feed {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 16px !important;
  }

  #reviews-feed .review-card,
  #reviews-feed .card,
  .reviews-feed .review-card,
  .reviews-feed .card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .reviews-feed .review-card .teaser,
  .reviews-feed .review-card .btn-main,
  #reviews-feed .review-card .teaser,
  #reviews-feed .review-card .btn-main {
    display: none;
  }

  .reviews-feed .review-card .card-body,
  #reviews-feed .review-card .card-body {
    padding: 6px 12px !important;
  }

  .reviews-feed .review-card h3,
  #reviews-feed .review-card h3 {
    font-size: 0.75rem;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
  }

  .reviews-feed .review-card .rating-line,
  #reviews-feed .review-card .rating-line {
    display: none;
  }
}

@media (min-width: 640px) {
  .form-group {
    flex-direction: row;
    gap: 12px;
  }

  input[type="email"] {
    flex: 1;
    min-width: 260px;
  }

  .btn-primary {
    min-width: 160px;
  }

  .consent {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .consent span {
    text-align: left;
    max-width: none;
  }
}

/* Маленькие телефоны - упрощенный поиск */
@media (max-width: 480px) {
  .search-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    max-width: 100%;
    overflow: hidden;
  }

  #globalSearch {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 10px 16px;
    font-size: 1rem;
    outline: none;
    background: transparent;
  }

  .search-btn {
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .search-hint {
    font-size: clamp(0.7rem, 3vw, 0.8125rem);
    margin-top: 10px;
    opacity: 0.9;
  }
}

/* Очень маленькие телефоны (iPhone SE и меньше)*/
@media (max-width: 400px) {

  .container:not(header .container) {
    padding-top: 10px;
  }

  .belt img {
    height: 110px; /* было 100px, увеличь на сколько нужно */
  }

  .belt {
    height: 230px; /* увеличь пропорционально */
  }

  .login-btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    min-height: 2.125rem;
    min-width: 6.25rem;
  }

  .card,
  .review-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 450px;
    min-height: 450px;
    max-height: 450px;
  }

  .search-wrapper {
    padding: 5px 6px;
    border-radius: 999px;
  }

  #globalSearch {
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  .search-btn {
    padding: 6px 16px;
    font-size: 0.9rem;
    min-width: 70px;
  }

    .scroll-hint {
    display: none !important;
  }

  .glass-hero {
    padding-top: 30px !important;
    margin-top: -20px;
    padding-bottom: 30px !important;
    margin-bottom: 10px;
  }

  .carousel-wrapper {
  padding-top: 0;
}

  .carousel-track {
  padding: 0;
}

.infinite-feed-section {
  padding-top: calc(60px - 30px);
    }

.subscribe {
        padding: 20px;
    }

}

.swipe-hint {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0px 0px 16px 0px;
  margin-left: auto; /* прижать вправо */
  margin-right: 20px;
  width: fit-content; /* по размеру контента */
  font-size: 0.9rem;
  font-weight: 600;
  color: #e313bf;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow:
    0 0 10px #e313bf,
    0 0 20px #e313bf,
    0 0 40px #667eea,
    0 0 80px #a855f7;
  animation: swipeHintPulse 2s ease-in-out infinite;
}

.swipe-hint--blue {
  color: #667eea;
  text-shadow:
    0 0 10px #667eea,
    0 0 20px #667eea,
    0 0 40px #a855f7;
}

.swipe-hint--purple {
  color: #a855f7;
  text-shadow:
    0 0 10px #a855f7,
    0 0 20px #a855f7,
    0 0 40px #e313bf;
}

.swipe-hint svg {
  animation: swipeArrow 1.5s ease-in-out infinite;
}

@keyframes swipeHintPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes swipeArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@media (max-width: 768px) {
  .swipe-hint {
    display: flex;
  }
}

/*Подписка последние обновления*/
keyframes spin {
  to { transform: rotate(360deg); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #e313bf;
  box-shadow: 0 0 0 3px rgba(227, 19, 191, 0.1);
}

.form-group .btn-primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-group .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (min-width: 640px) {
  .form-group:last-of-type {
    flex-direction: row;
    gap: 1rem;
  }

  .form-group:last-of-type input {
    flex: 1;
  }

  .form-group:last-of-type button {
    flex-shrink: 0;
    width: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}