/* ===== VORTAS STORE — MAIN STYLESHEET ===== */
/* Fonts: Cinzel Decorative (logo) + Rajdhani (UI) + Jost (body) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;600;700&family=Rajdhani:wght@400;500;600;700&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --black: #000000;
  --dark: #0a0a0a;
  --darker: #111111;
  --gray: #1a1a1a;
  --light-gray: #2d2d2d;
  --lighter-gray: #3a3a3a;
  --light: #ffffff;
  --accent: #ffffff;
  --accent-dark: #cccccc;
  --glow: rgba(255, 255, 255, 0.15);
  --neon: 0 0 15px rgba(255,255,255,0.6);
  --neon-accent: 0 0 20px rgba(255,255,255,0.8);
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.15);
}
h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--accent);
    text-shadow: var(--neon);
    font-weight: 800;
    letter-spacing: 1px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
}

/* ===== ШРИФТЫ ===== */

/* Cinzel Decorative - только логотипы (готика/монументальность) */
.logo,
.logo-container h1,
.footer-logo,
.loader-logo {
  font-family: 'Cinzel Decorative', serif !important;
}

/* Cinzel (обычный) - названия товаров, заголовки секций */
h2,
.product-content-horizontal h3,
.faq-item h3 {
  font-family: 'Cinzel', serif;
}

/* Jost - навигация (поддерживает и кириллицу и латиницу, все ссылки одинаковые) */
nav a, .buy-button-horizontal, .price-main-horizontal,
.subtitle, .loader-subtitle, .simple-header .subtitle {
  font-family: 'Jost', sans-serif;
}

nav a span {
  font-family: 'Jost', sans-serif !important;
}

/* Jost - основной текст */
body, p, .product-description-horizontal, .about-paragraph p {
  font-family: 'Jost', sans-serif;
}

body {
  background: 
    radial-gradient(circle at 20% 30%, var(--dark) 0%, var(--black) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  scroll-behavior: smooth;
}

.scrollable-description {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 15px;
    margin: 1.2rem 0;
}

.scrollable-description::-webkit-scrollbar {
    width: 6px;
}

.scrollable-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.scrollable-description::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--light-gray), var(--lighter-gray));
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scrollable-description::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--lighter-gray), var(--accent-dark));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.features-list {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.features-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.pactlings-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pactlings-features li {
    margin-bottom: 0.9rem;
    padding-left: 1.2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.pactlings-features li:last-child {
    margin-bottom: 0;
}

.pactlings-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.feature-type {
    font-weight: 600;
    color: var(--accent);
    display: inline-block;
    min-width: 120px;
    margin-right: 0.5rem;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .scrollable-description {
        max-height: 180px;
        padding-right: 10px;
    }
    
    .features-title {
        font-size: 1rem;
    }
    
    .pactlings-features li {
        padding-left: 1rem;
        font-size: 0.95rem;
    }
    
    .feature-type {
        min-width: 100px;
        display: block;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .scrollable-description {
        max-height: 150px;
    }
    
    .pactlings-features li {
        font-size: 0.9rem;
    }
}

.animated-header {
  position: relative;
  padding: 4rem 0 3rem;
  text-align: center;
  background: 
    linear-gradient(to bottom, rgba(10,10,10,0.95), rgba(10,10,10,0.5)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Q50,80 0,100 Z" fill="%231a1a1a"/></svg>') bottom/100% 30px no-repeat;
  margin-bottom: 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--light-gray);
  transform-style: preserve-3d;
  perspective: 1000px;
  z-index: 100;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.logo {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.7));
  animation: 
    textGlow 2s infinite alternate, 
    float 6s infinite ease-in-out,
    flicker 8s infinite;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

/* Убираем сломанный псевдоэлемент тени */
.logo::before {
  display: none;
}

.logo-effects {
  position: absolute;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  border: 2px solid var(--light-gray);
  border-radius: 5px;
  z-index: 1;
  opacity: 0.7;
  animation: 
    borderPulse 6s infinite ease-in-out,
    rotate 30s infinite linear;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.logo-effects::before,
.logo-effects::after {
  content: '';
  position: absolute;
  background: var(--accent);
  filter: drop-shadow(var(--neon));
  will-change: transform;
}

.logo-effects::before {
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  animation: scanline 3s infinite linear;
}

.logo-effects::after {
  bottom: 0;
  right: 0;
  width: 1px;
  height: 50%;
  animation: scanlineVertical 4s infinite linear 1s;
}

.subtitle {
  font-size: 1.3rem;
  letter-spacing: 1rem;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  animation: subtitleFlicker 5s infinite;
}

.subtitle::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: subtitleLine 4s infinite;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 3rem;
  position: relative;
  z-index: 20;
  perspective: 1000px;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.3rem;
  padding: 1.2rem 2.5rem;
  position: relative;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--glass-border),
    0 5px 20px rgba(0,0,0,0.3),
    inset 0 0 10px rgba(255,255,255,0.1);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

nav a::before,
nav a::after {
  content: '';
  position: absolute;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav a::before {
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.1) 45%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.1) 55%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
}

nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0) 100%
  );
  border-radius: 50px;
}

nav a:hover {
  color: var(--accent);
  transform: translateY(-5px) scale(1.05) rotateX(10deg);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.5),
    0 0 0 1px var(--accent),
    inset 0 0 20px rgba(255,255,255,0.2);
  animation: buttonGlow 1.5s infinite alternate;
}

nav a:hover::before {
  opacity: 1;
  animation: liquidShine 3s linear infinite;
}

.pactlings-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
}

.price-container-horizontal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    width: 100%;
}

.price-note-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 280px;
}

.price-note-bottom:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 255, 255, 0.1);
}

.price-note-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transition: left 0.7s ease;
}

.price-note-bottom:hover::before {
    left: 100%;
}

.price-note-bottom i {
    color: var(--accent);
    font-size: 0.95rem;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
    margin-bottom: 0.2rem;
}

.note-text {
    font-weight: 500;
    letter-spacing: 0.03rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.note-mini {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 0.2rem;
    letter-spacing: 0.02rem;
}

@media (min-width: 769px) {
    .pactlings-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-container-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .price-note-bottom {
        order: 2;
        margin-top: 0.5rem;
    }
    
    .price-main-horizontal {
        order: 1;
    }
    
    .buy-button-horizontal {
        order: 3;
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .pactlings-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .price-container-horizontal {
        align-items: center;
        text-align: center;
    }
    
    .price-note-bottom {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .buy-button-horizontal {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .price-note-bottom {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .note-text {
        font-size: 0.85rem;
    }
    
    .note-mini {
        font-size: 0.75rem;
    }
    
    .price-note-bottom i {
        font-size: 0.9rem;
    }
}

.products-section {
    position: relative;
    padding: 4rem 3rem;
    margin-bottom: 6rem;
    background: radial-gradient(circle at center, var(--darker) 0%, var(--black) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.products-grid-horizontal {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-card-horizontal {
    display: grid;
    grid-template-columns: 480px 1fr;
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    backdrop-filter: blur(20px);
    position: relative;
    min-height: 320px;
    align-items: stretch;
}

.product-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card-horizontal:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--accent);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4),
        inset 0 0 0 1px var(--accent);
}

.product-card-horizontal:hover::before {
    opacity: 1;
}

.product-image-container-horizontal {
    position: relative;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
    background: linear-gradient(45deg, #000, #111);
    height: 100%;
}

.product-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.9) contrast(1.1);
}

.product-card-horizontal:hover .product-image-horizontal {
    transform: scale(1.05);
}

.image-overlay-horizontal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    transition: all 0.5s ease;
    z-index: 2;
}

.product-card-horizontal:hover .image-overlay-horizontal {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
}

.product-content-horizontal {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    height: 100%;
}

.product-content-horizontal h3 {
    margin: 0 0 1.2rem 0;
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.15rem;
    line-height: 1.2;
}

.product-description-horizontal {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    flex-grow: 1;
    padding-right: 2rem;
    font-weight: 400;
}

.product-footer-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.price-container-horizontal {
    display: flex;
    align-items: baseline;
    gap: 2rem;
}

.price-main-horizontal {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 1.5px;
    position: relative;
}

.price-main-horizontal::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0.6;
    border-radius: 2px;
}

@media (max-width: 1200px) {
    .products-grid-horizontal {
        padding: 0 1rem;
    }
    
    .product-card-horizontal {
        grid-template-columns: 420px 1fr;
        min-height: 300px;
    }
    
    .product-content-horizontal {
        padding: 2.5rem;
    }
    
    .product-content-horizontal h3 {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .product-card-horizontal {
        grid-template-columns: 380px 1fr;
        min-height: 280px;
    }
    
    .product-content-horizontal {
        padding: 2rem;
    }
    
    .product-description-horizontal {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .price-main-horizontal {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .products-grid-horizontal {
        gap: 1.5rem;
        padding: 0;
    }
    
    .product-card-horizontal {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
    }
    
    .product-image-container-horizontal {
        height: 250px;
        border-radius: 24px 24px 0 0;
    }
    
    .product-content-horizontal {
        padding: 1.8rem;
    }
    
    .product-footer-horizontal {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .price-container-horizontal {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .buy-button-horizontal {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 2rem 1rem;
    }
    
    .product-content-horizontal h3 {
        font-size: 1.8rem;
    }
    
    .product-description-horizontal {
        font-size: 1rem;
    }
    
    .price-main-horizontal {
        font-size: 2rem;
    }
}

.buy-button-horizontal {
  min-width: 200px;
  padding: 1.2rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-weight: 600;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  margin-top: auto;
  align-self: flex-end;
}

.buy-button-horizontal::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.1) 45%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.1) 55%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
  transition: all 0.8s ease;
  z-index: 1;
}

.buy-button-horizontal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 12px;
  z-index: 1;
}

.buy-button-horizontal span {
  position: relative;
  z-index: 2;
}

.buy-button-horizontal:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--accent),
    inset 0 0 20px rgba(255, 255, 255, 0.2),
    0 0 30px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.buy-button-horizontal:hover::before {
  opacity: 1;
  animation: liquidShine 3s linear infinite;
}

@keyframes liquidShine {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }
  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

.product-footer-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

.price-container-horizontal {
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

@media (max-width: 768px) {
  .product-footer-horizontal {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .buy-button-horizontal {
    width: 100%;
    min-width: auto;
    align-self: stretch;
    padding: 1.2rem;
    text-align: center;
  }
  
  .price-container-horizontal {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .buy-button-horizontal {
    padding: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
  }
}

.product-card:hover .particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float-up 4s infinite ease-in;
}

@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(20px);
    opacity: 0;
  }
}

.portfolio-section {
  position: relative;
  padding: 4rem 2rem;
  margin-bottom: 5rem;
  overflow: hidden;
}

.portfolio-slider {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  border: 1px solid var(--light-gray);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--neon);
  overflow: hidden;
  border-radius: 5px;
  transform-style: preserve-3d;
}

.slider-container {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  height: 550px;
  will-change: transform;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.slider-slide:hover img {
  transform: scale(1.03);
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1.5rem;
  z-index: 10;
}

.slider-btn {
  background: rgba(0,0,0,0.7);
  border: none;
  color: var(--accent);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 1px solid var(--light-gray);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  will-change: transform;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.2) translateZ(10px);
  box-shadow: var(--neon);
}

.slider-btn i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.slider-btn:hover i {
  transform: scale(1.3);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 5;
}

.slider-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.slider-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.5s ease;
}

.slider-dot.active {
  transform: scale(1.4) translateZ(5px);
  box-shadow: var(--neon);
}

.slider-dot.active::before {
  left: 0;
}

.contacts-section {
  background: linear-gradient(145deg, var(--darker), var(--black));
  padding: 4rem 2rem;
  border-radius: 5px;
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
}

.contacts-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at center, var(--glow) 0%, transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 10px);
  opacity: 0;
  transition: opacity 0.8s ease;
  animation: rotateBG 20s infinite linear;
}

.contacts-section:hover::before {
  opacity: 1;
}

.contacts-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contacts-content p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 1.2rem 2rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(40,40,40,0.5);
  backdrop-filter: blur(5px);
  transform-style: preserve-3d;
  will-change: transform;
}

.telegram-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px) translateZ(10px);
  box-shadow: var(--neon);
}

.telegram-link i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.telegram-link:hover i {
  transform: scale(1.3);
}

.rules-section {
  background: linear-gradient(145deg, var(--darker), var(--black));
  padding: 4rem 2rem;
  border-radius: 5px;
  border: 1px solid var(--light-gray);
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.rules-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.rules-section:hover::after {
  transform: translateX(100%);
}

.rules-content ol {
  list-style-type: none;
  counter-reset: rule-counter;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rules-content li {
  counter-increment: rule-counter;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 4rem;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.rules-content li:hover {
  transform: translateX(10px);
}

.rules-content li::before {
  content: counter(rule-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gray);
  color: var(--accent);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
}

.rules-content li:hover::before {
  background: var(--accent);
  color: var(--black);
  transform: scale(1.1) rotate(15deg);
  box-shadow: var(--neon);
}

.rules-content li span {
  display: block;
  padding: 1rem;
  border-bottom: 1px dashed var(--light-gray);
  transition: all 0.5s ease;
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
}

.rules-content li:hover span {
  color: var(--accent);
  border-bottom-color: var(--accent);
  padding-left: 1.5rem;
}

.faq-section {
  background: linear-gradient(145deg, var(--darker), var(--black));
  padding: 4rem 2rem;
  border-radius: 5px;
  border: 1px solid var(--light-gray);
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1.5rem;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  transition: all 0.3s ease;
}

.faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.faq-item.active h3::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  color: var(--accent-dark);
  font-size: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  line-height: 1.7;
}

.faq-item.active p {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
}

@keyframes textGlow {
  0% { filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)); }
  50% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.9)) drop-shadow(0 0 35px rgba(255,255,255,0.4)); }
  100% { filter: drop-shadow(0 0 12px rgba(255,255,255,0.7)); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(5deg); }
  50% { transform: translateY(-15px) rotateX(-5deg); }
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.8; }
}

@keyframes borderPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.05) rotate(0.5deg); opacity: 1; }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes scanlineVertical {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes subtitleLine {
  0% { width: 0; opacity: 0; }
  50% { width: 50%; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

@keyframes subtitleFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 0.8; }
  20%, 22%, 24%, 55% { opacity: 0.5; }
}

@keyframes rotateBG {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes buttonGlow {
  0% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--accent), inset 0 0 20px rgba(255,255,255,0.2); }
  100% { box-shadow: 0 10px 40px rgba(0,0,0,0.7), 0 0 10px 1px var(--accent), inset 0 0 30px rgba(255,255,255,0.3); }
}

@media (max-width: 992px) {
  .logo {
    font-size: 4rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .slider-container {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 2.2rem;
    letter-spacing: 0.2rem;
  }
  
  .subtitle {
    font-size: 1rem;
    letter-spacing: 0.5rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  nav a {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .slider-container {
    height: 350px;
  }
  
  .slider-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-container {
    height: 250px;
  }
  
  .rules-content li {
    padding-left: 3rem;
  }
  
  .rules-content li::before {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.site-footer {
  background: linear-gradient(180deg, var(--black) 0%, var(--darker) 100%);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  margin-top: 6rem;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 50%, 
    transparent 100%);
  opacity: 0.7;
  animation: footerLine 8s infinite linear;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
  justify-items: center;
  align-items: start;
}

.footer-section {
  padding: 2rem;
  background: rgba(25, 25, 25, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  width: 100%;
  max-width: 450px;
}

.footer-section:first-child {
  justify-self: end;
  margin-right: 1rem;
}

.footer-section:last-child {
  justify-self: start;
  margin-left: 1rem;
}

@keyframes footerLine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.footer-section:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  position: relative;
  padding-bottom: 0.8rem;
  text-align: center;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  text-align: center;
}

.footer-links li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 0;
}

.footer-links li::before {
  display: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(0);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.footer-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  width: 80%;
  max-width: 280px;
  text-align: center;
}

.footer-btn i {
  margin-right: 0.5rem;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(255, 255, 255, 0.1);
}

.footer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.7s ease;
}

.footer-btn:hover::before {
  left: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
}

.all-rights {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-style: italic;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-y: auto;
}

.modal-overlay.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

.modal-content {
  position: relative;
  background: linear-gradient(145deg, var(--darker), var(--black));
  max-width: 800px;
  margin: 50px auto;
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 255, 255, 0.1);
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.modal-header h2 {
  font-size: 2.2rem;
  color: var(--accent);
  text-shadow: var(--neon);
  margin: 0;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.modal-body {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.1rem;
}

.modal-body p {
  margin-bottom: 1.5rem;
}

.modal-body ul, .modal-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.modal-body li {
  margin-bottom: 0.8rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent);
  transform: rotate(90deg);
  box-shadow: var(--neon);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-body p, .modal-body ul, .modal-body ol {
  animation: textReveal 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  animation: rotateBG 30s infinite linear;
  z-index: -1;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 600px;
  }
  
  .footer-section:first-child,
  .footer-section:last-child {
    justify-self: center;
    margin: 0;
  }
  
  .footer-section {
    max-width: 500px;
  }
  
  .modal-content {
    margin: 30px 20px;
    padding: 2rem;
  }
  
  .modal-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 1rem 1.5rem;
  }
  
  .footer-section {
    padding: 1.8rem;
    max-width: 450px;
  }
  
  .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  .footer-btn {
    width: 90%;
    max-width: 320px;
    padding: 0.9rem 1.5rem;
  }
  
  .modal-content {
    margin: 20px 10px;
    padding: 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-body {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 2rem;
  }
  
  .footer-section {
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .footer-btn {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  .copyright {
    font-size: 0.85rem;
  }
  
  .all-rights {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .footer-logo {
    font-size: 1.3rem;
  }
  
  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-only {
        display: block;
    }
    
    .mobile-only {
        display: none;
    }
}

/* ===== МИНИМАЛИСТИЧНЫЙ ГОТИЧЕСКИЙ ПРЕЛОАДЕР ===== */
.gothic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--dark) 0%, var(--black) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Rajdhani', sans-serif;
}
.loader-wrapper {
    position: relative;
    text-align: center;
    padding: 4rem;
    max-width: 800px;
    width: 100%;
}

/* Логотип как в хедере */
.loader-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.loader-logo {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    z-index: 3;
    text-shadow: var(--neon);
    animation: 
        textGlow 2s infinite alternate, 
        float 6s infinite ease-in-out;
    transform-style: preserve-3d;
}

.loader-logo-effects {
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    z-index: 1;
    opacity: 0.7;
    animation: 
        borderPulse 6s infinite ease-in-out,
        rotate 30s infinite linear;
    transform-style: preserve-3d;
}

.loader-subtitle {
    font-size: 1.3rem;
    letter-spacing: 1rem;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    animation: subtitleFlicker 5s infinite;
}

.loader-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: subtitleLine 4s infinite;
}

/* Прогресс бар в стиле кнопок сайта */
.loader-progress-container {
    max-width: 500px;
    margin: 3rem auto;
}

.loader-progress-track {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        var(--accent) 50%, 
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 
        inset 0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

.loader-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: progressGlide 2s ease-in-out infinite;
    filter: blur(2px);
}

.loader-progress-text {
    font-size: 0.9rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Статус загрузки */
.loader-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.loader-status-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-style: italic;
}

.loader-status-percentage {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    text-shadow: var(--neon);
    letter-spacing: 0.1rem;
}

/* Эффекты как в хедере */
.loader-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.3;
}

.loader-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    filter: drop-shadow(var(--neon));
    animation: scanline 3s infinite linear;
}

.loader-scanline.vertical {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    width: 1px;
    height: 50%;
    animation: scanlineVertical 4s infinite linear 1s;
}

/* Анимации прогресса */
@keyframes progressGlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Анимация исчезновения прелоадера */
.gothic-loader.fade-out {
    animation: loaderFadeOut 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes loaderFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
        visibility: hidden;
    }
}

/* Контент появляется после загрузки */
body:not(.loaded) main,
body:not(.loaded) header,
body:not(.loaded) footer {
    opacity: 0;
}

body.loaded main,
body.loaded header,
body.loaded footer {
    animation: contentFadeIn 0.8s ease forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .loader-wrapper {
        padding: 2rem;
    }
    
    .loader-logo {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }
    
    .loader-subtitle {
        font-size: 1rem;
        letter-spacing: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .loader-progress-container {
        max-width: 300px;
    }
    
    .loader-status {
        max-width: 300px;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        font-size: 1.5rem;
    }
    
    .loader-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.3rem;
    }
    
    .loader-progress-text {
        font-size: 0.8rem;
    }
}
/* ===== GLOBAL MOBILE FIXES ===== */
main {
  padding: 0 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  main {
    padding: 0 1rem;
  }
  
  .animated-header {
    padding: 2.5rem 1rem 2rem;
  }
  
  nav {
    padding: 0 1rem;
    gap: 0.7rem;
  }
  
  nav a {
    font-size: 0.75rem;
    padding: 0.7rem 1.2rem;
    letter-spacing: 0.15rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 0.5rem;
  }
  
  nav a {
    font-size: 0.7rem;
    padding: 0.6rem 1rem;
    letter-spacing: 0.1rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
}
/* ===== УЛУЧШЕНИЯ ДЛЯ PACTLINGS ===== */

/* Увеличиваем максимальную высоту описания, чтобы было больше места */
.scrollable-description {
    max-height: 280px; /* Увеличено с 220px */
    overflow-y: auto;
    padding-right: 15px;
    margin: 1.2rem 0;
}

/* Стили для контейнера цены в футере - центрируем пометку */
.product-card-horizontal .price-container-horizontal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

/* Стили для пометки о цене (возвращена в футер) */
.product-card-horizontal .price-note-bottom {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 320px; /* Чуть шире, чтобы текст помещался */
    box-sizing: border-box;
}

.product-card-horizontal .price-note-bottom:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(255, 255, 255, 0.1);
}

.product-card-horizontal .price-note-bottom i {
    color: var(--accent);
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
    flex-shrink: 0;
}

.product-card-horizontal .price-note-bottom .note-text {
    font-weight: 500;
    letter-spacing: 0.03rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* Корректировка футера для лучшего выравнивания */
.product-card-horizontal .product-footer-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    gap: 1.5rem;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .product-card-horizontal .product-footer-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }
    
    .product-card-horizontal .price-container-horizontal {
        align-items: center;
    }
    
    .product-card-horizontal .price-note-bottom {
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .scrollable-description {
        max-height: 240px;
    }
}

@media (max-width: 480px) {
    .product-card-horizontal .price-note-bottom {
        padding: 0.7rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }
    
    .scrollable-description {
        max-height: 220px;
    }
}