
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Oswald:wght@400;500;600&family=Special+Elite&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at center, #344438 0%, #18251f 70%, #101914 100%);
    color: #e8dfc8;
    font-family: 'Libre Baskerville', Georgia, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

/* ОСНОВНОЙ КОНТЕЙНЕР */

.container {
    width: 100%;
    max-width: 650px;
    margin: auto;
}

.screen {
    display: none;
    animation: appear 0.7s ease;
}

.screen.active {
    display: block;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* КАРТОЧКА */

.card {
    background: #e8dfc8;
    color: #242b23;
    padding: 55px 45px;
    border: 2px solid #b59a62;
    outline: 1px solid #b59a62;
    outline-offset: 7px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    position: relative;
}

/* ДЕКОРАТИВНЫЙ УГОЛОК */

.card::before,
.card::after {
    content: "✦";
    position: absolute;
    color: #8b6840;
    font-size: 22px;
}

.card::before {
    top: 15px;
    left: 18px;
}

.card::after {
    bottom: 15px;
    right: 18px;
}

/* ИКОНКИ */

.big-icon {
    font-size: 42px;
    margin-bottom: 25px;
    color: #702f3a;
}

/* ЗАГОЛОВКИ */

h1,
h2 {
    font-family: 'Special Elite', Georgia, serif;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: 1px;
    color: #702f3a;
    margin-bottom: 25px;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 28px;
}

/* ТЕКСТ */

p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.love-text {
    text-align: left;
    line-height: 2;
}

.message {
    margin-top: 20px;
    color: #702f3a;
    font-weight: bold;
    font-size: 16px;
}

/* КНОПКИ */

button {
    background: #702f3a;
    color: #e8dfc8;
    border: 1px solid #702f3a;
    padding: 15px 28px;
    margin: 10px 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #18251f;
    border-color: #b59a62;
    color: #e8dfc8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.buttons button {
    width: 100%;
    max-width: 280px;
}

/* ДОПОЛНИТЕЛЬНЫЕ КНОПКИ */

.maybe-button {
    background: #8b6840;
    border-color: #8b6840;
}

.no-button {
    background: transparent;
    color: #702f3a;
    border: 1px solid #702f3a;
}

.no-button:hover {
    background: #702f3a;
    color: #e8dfc8;
}

/* МУЗЫКА */

.music-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #18251f;
    color: #e8dfc8;
    border: 1px solid #b59a62;
    padding: 12px 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
}

/* ПОЛЕ ВВОДА */

input {
    width: 100%;
    max-width: 280px;
    padding: 15px;
    margin: 15px auto;
    display: block;
    background: #f2ead7;
    color: #242b23;
    border: 1px solid #8b6840;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 16px;
    text-align: center;
    outline: none;
}

input:focus {
    border: 2px solid #702f3a;
}

/* СКРЫТЫЙ СЮРПРИЗ */

#treasure {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #8b6840;
}

#treasure h2 {
    margin-top: 20px;
}

.video-kompromat {
    margin-top: 20px;
    width: 100%;
}

video {
    width: 100%;
    max-height: 400px;
    border: 2px solid #8b6840;
    background: #18251f;
}

/* ФИНАЛЬНАЯ ДАТА */

.date-box {
    background: #18251f;
    color: #e8dfc8;
    border: 1px solid #b59a62;
    padding: 25px 15px;
    margin: 30px 0;
}

.date-box h2 {
    color: #d3b879;
    margin-bottom: 12px;
}

.date-box p {
    margin-bottom: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    letter-spacing: 2px;
}

/* АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ */

@media (max-width: 600px) {
    body {
        padding: 20px;
    }

    .card {
        padding: 45px 25px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    button {
        font-size: 16px;
        padding: 14px 20px;
    }

    .music-button {
        top: 12px;
        right: 12px;
        padding: 9px 13px;
        font-size: 12px;
    }
}
