﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0c3fc 100%);
    color: #222;
}

* {
    box-sizing: border-box;
}

/* Новые стили для формы пожеланий */
#wish-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#wish-input {
    width: 100%;
    height: 120px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #222;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease, color 0.3s;
    /* Анимация текста */
    position: relative;
}

#wish-input::placeholder {
    color: #b39ddb;
    opacity: 1;
    transition: color 0.3s;
}

#wish-input:focus::placeholder {
    color: #d1c4e9;
}

/* Анимация появления/исчезновения текста при вводе */
#wish-input {
    animation: inputFadeIn 0.4s;
}

@keyframes inputFadeIn {
    from {
        color: transparent;
    }
    to {
        color: #222;
    }
}

.wish-list-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wish-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wish-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.wish-text {
    font-size: 1rem;
    flex-grow: 1;
}

.wish-time {
    font-size: 0.8rem;
    opacity: 0.7;
    min-width: 120px;
    text-align: right;
}

/* Анимация при добавлении */
@keyframes wishAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-wish {
    animation: wishAppear 0.5s ease;
}

/* Страница "О проекте" - скрыта по умолчанию */
.page {
    display: none;
}

.active-page {
    display: block;
}

.container {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(160, 120, 255, 0.12);
    padding: 32px 24px;
    position: relative;
    z-index: 2;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 0 0;
    max-width: 700px;
    margin: 0 auto;
    background: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    color: #7c3aed;
}
.logo i {
    font-size: 2.2rem;
}
.logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: #7c3aed;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
nav a.active, nav a:hover {
    color: #222;
    text-decoration: underline;
}

.player-container {
    background: rgba(255,255,255,0.8);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(160, 120, 255, 0.08);
    padding: 32px 24px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 12px;
}

.btn {
    background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(160, 120, 255, 0.08);
}
.btn:hover {
    background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
    color: #7c3aed;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 0 12px 0;
    font-size: 0.95rem;
    color: #555;
}
.social-links {
    display: flex;
    gap: 18px;
    margin-bottom: 6px;
}
.social-link {
    color: #7c3aed;
    font-size: 1.5rem;
    transition: color 0.2s;
}
.social-link:hover {
    color: #222;
}

.team-grid {
    display: flex;
    gap: 24px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.team-member {
    background: rgba(255,255,255,0.7);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(160, 120, 255, 0.08);
    padding: 18px 14px;
    text-align: center;
    flex: 1 1 120px;
    min-width: 120px;
}
.team-member-image {
    font-size: 2.2rem;
    color: #7c3aed;
    margin-bottom: 8px;
}

/* Декоративные элементы */
.egg-yolk {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 60% 40%, #ffe066 70%, #ffd700 100%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}
.egg-white-1, .egg-white-2 {
    position: absolute;
    border-radius: 50%;
    background: #fffbe7;
    opacity: 0.5;
    z-index: 0;
}
.egg-white-1 {
    top: 90px;
    left: 20px;
    width: 120px;
    height: 60px;
}
.egg-white-2 {
    top: 40px;
    left: 90px;
    width: 60px;
    height: 100px;
}
.circle-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    z-index: 0;
}
.circle-1 {
    top: 10px;
    right: 60px;
    width: 90px;
    height: 90px;
    background: #a18cd1;
}
.circle-2 {
    bottom: 40px;
    left: 60px;
    width: 60px;
    height: 60px;
    background: #fbc2eb;
}
.circle-3 {
    bottom: 80px;
    right: 80px;
    width: 120px;
    height: 120px;
    background: #7c3aed;
}

/* Шарики для праздника */
.balloon {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.7;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(160, 120, 255, 0.12);
    animation: balloonFloat 4s ease-in-out infinite alternate;
}
.balloon-1 {
    left: 10vw;
    top: 10vh;
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    animation-delay: 0s;
}
.balloon-2 {
    right: 12vw;
    top: 18vh;
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    animation-delay: 1s;
}
.balloon-3 {
    left: 20vw;
    bottom: 12vh;
    background: linear-gradient(135deg, #fbc2eb 0%, #fcb69f 100%);
    animation-delay: 2s;
}
.balloon-4 {
    right: 18vw;
    bottom: 8vh;
    background: linear-gradient(135deg, #fdc094 0%, #a1c4fd 100%);
    animation-delay: 3s;
}
@keyframes balloonFloat {
    0% { transform: translateY(0) scale(1) rotate(-4deg); }
    50% { transform: translateY(-30px) scale(1.04) rotate(4deg); }
    100% { transform: translateY(0) scale(1) rotate(-4deg); }
}

@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        padding: 10vw 2vw 6vw 2vw;
        margin: 16vw 0 0 0;
        border-radius: 16px;
    }
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 6vw 0 0 0;
        max-width: 100vw;
    }
    .logo {
        font-size: 1.2rem;
        gap: 6px;
    }
    .logo i {
        font-size: 1.5rem;
    }
    .logo h1 {
        font-size: 1.1rem;
    }
    nav ul {
        gap: 12px;
    }
    nav a {
        font-size: 1rem;
    }
    .player-container {
        padding: 6vw 2vw;
        margin-bottom: 4vw;
        border-radius: 12px;
    }
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .btn {
        padding: 10px 0;
        font-size: 1rem;
        width: 100%;
        border-radius: 8px;
    }
    #wish-input {
        font-size: 1rem;
        padding: 10px;
        height: 80px;
        border-radius: 10px;
    }
    .wish-list-container {
        margin-top: 18px;
        padding-top: 10px;
    }
    .wish-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        border-radius: 8px;
    }
    .wish-time {
        min-width: unset;
        text-align: left;
        font-size: 0.85rem;
        margin-top: 4px;
    }
    .footer-content {
        font-size: 0.85rem;
        padding: 10vw 0 4vw 0;
    }
    .social-links {
        gap: 10px;
    }
    .social-link {
        font-size: 1.2rem;
    }
    .team-grid {
        flex-direction: column;
        gap: 10px;
    }
    .team-member {
        min-width: unset;
        padding: 10px 6px;
        border-radius: 8px;
    }
    .team-member-image {
        font-size: 1.3rem;
    }
    /* Декоративные элементы: делаем меньше или скрываем */
    .egg-yolk, .egg-white-1, .egg-white-2, .circle-decor {
        display: none;
    }
    .balloon {
        width: 32px;
        height: 44px;
        opacity: 0.5;
    }
    .balloon-1 { left: 4vw; top: 6vw; }
    .balloon-2 { right: 6vw; top: 12vw; }
    .balloon-3 { left: 12vw; bottom: 8vw; }
    .balloon-4 { right: 10vw; bottom: 4vw; }
} 