
body {
    background-color: #000000;
    color: #DAA520;
    font-family: 'Orelega One', serif;
    background-image: repeating-linear-gradient(
        45deg,
        #150e00 0,
        #150e00 2px,
        #2a1c00 2px,
        #2a1c00 4px
    );
    background-attachment: fixed; /* Фиксированный фон */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border: 1px solid #DAA520; /* Тонкая золотая рамка */
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7); /* Более яркое золотое свечение */
    background: rgba(10, 10, 10, 0.9); /* Сделали фон более плотным для лучшего контраста с узором */
    text-align: center;
   background-image: url(fon1.png);
}

.container p  {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    margin-top: 34px;
}

h1 {
    
font-family: 'Orelega One', serif;
text-transform: uppercase;
letter-spacing: 4px; 
color: #DAA520;
font-size: 56px;
padding-bottom: -20px;
margin-bottom: -55px;
}

h2 {
       font-family: "Philosopher", sans-serif;
       text-transform: uppercase;
       letter-spacing: 0px; 
       color: #daa520;
       font-size: 40px;
       margin-top: 15px;
       margin-bottom: -25px;
}

h3  {
letter-spacing: 1px;
color: #d7c79d;
font-size: 20px;
margin-top: 15px;
margin-bottom: 15px;
}

h4 {font-family: 'Orelega One', serif;text-transform: uppercase;letter-spacing: 4px;color: #DAA520;font-size: 56px;margin: 0px auto;}

/* Стили для формы */
.gold-input {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #0d0d0d;
    color: #FFD700;
    border: 1px solid #DAA520;
    transition: all 0.3s ease;
    box-sizing: border-box;
     /* Шрифт в полях ввода */
    font-family: 'Caveat', cursive;
}

.gold-input:focus {
    outline: none;
    border-color: #FFF; 
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

textarea.gold-input {
    resize: vertical;
    min-height: 150px;
}

.gold-button {
    background: linear-gradient(145deg, #FFD700 0%, #DAA520 100%);
    color: #000000;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: 'Orelega One', serif; /* Шрифт для кнопки */
}

.gold-button:hover {
    background: linear-gradient(145deg, #FFF 0%, #FFD700 100%);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.status-message {
    margin-top: 20px;
    color: #32CD32; 
}

/* Стили для страницы отображения (display.html) */

.display-page {
    display: block; 
    min-height: 100vh;
    padding: 0;
}

header {
    background-color: rgba(10, 10, 10, 0.9); /* Сделали более плотным */
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px double #DAA520;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif; /* Шрифт для шапки */
}

header .h1 {
    
font-family: 'Orelega One', serif;
text-transform: uppercase;
letter-spacing: 4px; 
color: #DAA520;
font-size: 56px;
padding-bottom: -20px;
margin-bottom: -55px;
}

header .h2 {
       font-family: "Philosopher", sans-serif;
       text-transform: uppercase;
       letter-spacing: 0px; 
       color: #daa520;
       font-size: 40px;
       margin-top: 15px;
       margin-bottom: -25px;
}

header h3  {
    font-family: "Philosopher", sans-serif;
letter-spacing: 1px;
color: #d7c79d;
font-size: 20px;
margin-top: 15px;
margin-bottom: 15px;
}

.header h4 {font-family: 'Orelega One', serif;text-transform: uppercase;letter-spacing: 4px;color: #DAA520;font-size: 56px;margin: 0px auto;}

.logo {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    letter-spacing: 5px;
}

.year {
    font-size: 2em;
    color: #DAA520;
}

.wish-stream {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.wish-card {
    background-color: rgba(26, 26, 26, 0.95); /* Более плотный фон для карточки */
    background-image: url(fon1.png);
    background-position: top;
    border: 1px solid #DAA520;
    padding: 20px;
    width: 300px;
    /* min-height: 150px; */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); /* Усиленное свечение */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn 0.8s ease-out;
    border-radius: 15px 50px 30px 5px;
}

.wish-text {
    font-size: 1.2em; /* Чуть увеличили размер */
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.4;
}

.wish-author {
    font-weight: bold;
    color: #FFD700;
    border-top: 1px dashed #DAA520;
    padding-top: 5px;
    font-size: 1em; /* Чуть увеличили размер */
    text-align: right;
    font-family: 'Playfair Display', Georgia, serif;
}

/* Стили для снежинок */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9998; /* Чуть ниже шапки и футера, но выше фона */
    user-select: none;
    cursor: default;
    color: #FFF; /* Можно заменить на #DAA520 для золотого снега */
    font-size: 1em;
    pointer-events: none; /* Чтобы снежинки не мешали нажимать на кнопки */
}

@keyframes fall {
    0% { top: -10%; }
    100% { top: 100%; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(80px); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}