/* ===== Общие стили ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #f0f8ff;
    /* светлый текст */
    overflow-x: hidden;
    height: 100vh;

    /* Градиентный фон */
    background: linear-gradient(to bottom, #3a7bd5, #00d2ff);
    /* синий градиент */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Контейнер ===== */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* ===== Таблица письма ===== */
table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.08);
    /* слегка прозрачный фон для читаемости */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

td {
    padding: 20px;
    text-align: center;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    margin: 0;
    color: #fffacd;
    /* светлый золотистый для контраста */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

p {
    font-size: 18px;
    line-height: 1.5;
    color: #f0f8ff;
}

/* ===== Кнопка ===== */
a.button {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 15px;
    background: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

a.button:hover {
    background: #ff3b2e;
    transform: scale(1.1);
}

/* ===== Анимация текста ===== */
td p:hover {
    color: #fffacd;
    text-shadow: 0 0 10px #fffacd, 0 0 20px #fffacd;
    transition: all 0.5s ease;
}

/* ===== Снежинки ===== */
.snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    font-size: 1em;
    z-index: 9999;
    user-select: none;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) translateX(50px);
        opacity: 0;
    }
}

/* ===== Кнопка музыки ===== */
.music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10000;
}

.music-button:hover {
    background: #ff3b2e;
    transform: scale(1.1);
}

/* ===== Адаптив ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    a.button {
        padding: 8px 20px;
        font-size: 14px;
    }

    table {
        margin: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    p {
        font-size: 14px;
    }

    a.button {
        padding: 6px 15px;
        font-size: 13px;
    }

    table {
        margin: 10px;
    }
}

/* ===== Мои новогодние пожелания ===== */
.my-wishes {
    background: rgba(255, 255, 255, 0.12);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 10px;
    text-align: left;
}

.my-wishes h3 {
    font-family: 'Great Vibes', cursive;
    color: #fffacd;
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
    text-shadow: 0 0 8px #fffacd;
}

.my-wishes ul {
    list-style: none;
    /* убираем стандартные точки */
    padding: 0;
    margin: 0;
}

.my-wishes li {
    font-size: 16px;
    line-height: 1.6;
    margin: 5px 0;
    color: #f0f8ff;
    padding-left: 0;
    transition: all 0.3s ease;
}

.my-wishes li:hover {
    color: #fffacd;
    text-shadow: 0 0 8px #fffacd;
}