* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #faf7f2; /* Мягкий бежевый */
    color: #4a4a4a;
    overflow: hidden;
    height: 100vh;
}

.language-picker {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.language-picker button {
    background: white;
    border: 1px solid #f0e6db;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border-radius: 4px;
    color: #8e8e8e;
}

.language-picker button:hover {
    border-color: #d4a373;
    color: #d4a373;
}

.container {
    position: relative;
    height: 100vh;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

#slide1 {
    transform: translateX(0);
}

#slide2 {
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) !important;
}

.slide:not(.active)#slide1 {
    transform: translateX(-100%);
}

.content {
    max-width: 600px;
    z-index: 10;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 400;
    font-style: italic;
    color: #333;
}

p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
    color: #666;
}

.author {
    display: block;
    margin-bottom: 40px;
    font-style: italic;
    color: #d4a373;
    font-size: 1.1rem;
}

.btn, .btn-back {
    background: none;
    border: 1px solid #d4a373;
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    color: #d4a373;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    border-radius: 50px;
}

.btn:hover {
    background-color: #d4a373;
    color: white;
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
}

.btn-back {
    margin-top: 20px;
    border-color: #ccc;
    color: #999;
}

.btn-back:hover {
    border-color: #d4a373;
    color: #d4a373;
}

.gift-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    border: 1px solid #f0e6db;
    position: relative;
}

.divider {
    width: 50px;
    height: 1px;
    background: #d4a373;
    margin: 20px auto;
}

.gift-text {
    font-style: italic;
    color: #333;
    font-weight: 400;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards;
}

.delay-1 { animation-delay: 0.6s; }
.delay-2 { animation-delay: 1.2s; }
.delay-3 { animation-delay: 1.8s; }

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

@media (max-width: 600px) {
    h1, h2 { font-size: 2rem; }
    p { font-size: 1rem; }
}
