/* --- HERO СЕКЦИЯ --- */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 120px 5% 50px; overflow: hidden; }
.hero-wrapper { display: flex; align-items: center; width: 100%; max-width: 1300px; margin: 0 auto; position: relative; }
.hero-content { width: 100%; max-width: 650px; z-index: 10; position: relative; }
.hero-tag { font-family: 'Caveat', cursive; font-size: 34px; color: var(--accent-light); display: block; transform: rotate(-2deg); margin-bottom: 5px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 54px; font-weight: 800; line-height: 1.1; margin-bottom: 5px; background: linear-gradient(to right, #FFFFFF, var(--accent-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title-jp { font-family: 'Noto Sans JP', sans-serif; font-size: 20px; color: var(--accent); display: block; margin-top: 5px; -webkit-text-fill-color: var(--accent); }
.hero-subtitle { font-size: 16px; color: var(--text-muted); font-weight: 400; margin-bottom: 30px; }

.glass-panel { background: var(--glass); backdrop-filter: blur(35px); border: 1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 20px rgba(230,140,100,0.05); margin-bottom: 30px; position: relative; z-index: 20; }
.lore-text { font-size: 14.5px; line-height: 1.9; color: var(--text-main); margin-bottom: 15px; font-weight: 300; }
.lore-text b { color: var(--accent-light); font-weight: 600; }
.lore-quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 18px; color: var(--accent-gold); border-left: 3px solid var(--accent); padding-left: 15px; margin: 20px 0 0; }

.btn-primary { background: linear-gradient(135deg, #FFF4EA, #F2BFA3); color: var(--bg-dark); padding: 16px 36px; border-radius: 30px; font-weight: 800; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; transition: 0.4s; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; box-shadow: 0 5px 20px rgba(230,140,100,0.2); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent), #c96d4a); color: #fff; box-shadow: 0 0 30px rgba(230,140,100,0.6); transform: translateY(-3px); }

 50% { transform: translateY(-15px); } }

/* --- СЕКЦИИ --- */
.catalog-container { max-width: 1400px; margin: 0 auto; }
.catalog-section { padding: 30px 0 30px 5%; position: relative; z-index: 10; }
.carousel-wrapper { position: relative; padding-right: 5%; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 15px 0 30px; padding-right: 5%; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%); }
.carousel-track::-webkit-scrollbar { display: none; }

@media (max-width: 900px) {
    .hero-content { max-width: 100%; text-align: center; }
    .hero-title { font-size: 38px; }
    .section-title { font-size: 28px; }
}

/* --- КНОПКИ ПРОКРУТКИ КАРУСЕЛИ --- */
.carousel-wrapper {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(18, 16, 14, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(230, 140, 100, 0.3);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.carousel-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(230, 140, 100, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -20px; /* Сдвигаем немного влево за край */
}

.carousel-btn.next {
    right: 10px; /* Справа, с учетом отступа */
}

.carousel-btn.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}
