:root {
    --primary: #ff2d75;
    --secondary: #2c1f3b;
    --accent: #ff8fb1;
    --text: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-light: #16213e;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-darker: rgba(255, 255, 255, 0.05);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(255, 45, 117, 0.5);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top right, var(--bg-light), var(--bg-dark));
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    overflow-x: hidden;
}

.container {
    text-align: center;
    padding: 2.5rem;
    background: var(--glass-darker);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 
        var(--shadow),
        inset 0 0 2px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 500px;
    animation: containerFadeIn 1s ease-out;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--primary);
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.message {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f8f8f8;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.glow-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--glow);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0.8rem 0;
    width: 100%;
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.glow-button:hover::before {
    left: 100%;
}

.glow-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 45, 117, 0.8);
}

.glow-button:active {
    transform: scale(0.98);
}

.heart {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    animation: pulse 1.5s ease infinite;
    filter: drop-shadow(0 0 15px var(--primary));
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 96px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 60px 60px 0 0;
}

.heart::before {
    left: 60px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.game-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem;
    border: 2px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.2);
    animation: containerFadeIn 0.5s ease-out;
}

.game-area {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(255, 192, 203, 0.1) 0%,
        rgba(255, 105, 180, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.game-heart {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.1s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.game-heart:hover {
    transform: scale(1.2);
}

.game-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
    animation: statPulse 2s infinite;
}

@keyframes statPulse {
    0% { box-shadow: 0 0 10px rgba(255, 105, 180, 0.2); }
    50% { box-shadow: 0 0 15px rgba(255, 105, 180, 0.4); }
    100% { box-shadow: 0 0 10px rgba(255, 105, 180, 0.2); }
}

.score-popup {
    position: absolute;
    color: white;
    font-size: 1.2rem;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.8);
    animation: scoreFloat 1s ease-out forwards;
    z-index: 10;
}

@keyframes scoreFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(1.2); opacity: 0; }
}

.click-effect {
    position: absolute;
    pointer-events: none;
    animation: clickRipple 0.6s ease-out forwards;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@keyframes clickRipple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.bonus-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    color: #fff;
    animation: fadeInOut 2s ease-out forwards;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes expand {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 1px, transparent 1px) 0 0 / 50px 50px,
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4) 1px, transparent 1px) 25px 25px / 50px 50px;
    animation: twinkle 4s infinite alternate;
}

.achievement {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, rgba(255,105,180,0.3), rgba(255,20,147,0.3));
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.5s ease-out;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(255,45,117,0.3);
}

.achievement-icon {
    font-size: 2rem;
}

.gold-heart {
    position: absolute;
    font-size: 2rem;
    color: gold;
    animation: goldFall linear forwards;
    filter: drop-shadow(0 0 10px gold);
}

.rainbow-effect {
    animation: rainbow 4s linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes goldFall {
    from { transform: translateY(-20px) rotate(0deg); }
    to { transform: translateY(420px) rotate(360deg); }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Добавляем медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 0.5rem;
        max-width: 95%;
    }

    h1 {
        font-size: 1.8rem;
    }

    .message {
        font-size: 1.1rem;
    }

    .game-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .stat-item {
        flex: 0 1 calc(33.33% - 0.5rem);
        font-size: 0.8rem;
    }

    .game-heart {
        font-size: 2.5rem;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .game-area {
        height: 70vh;
        max-height: 500px;
    }

    .special-message {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
        white-space: normal;
        width: auto;
        max-width: 80vw;
    }

    .buttons-container {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        position: relative;
    }

    .yes-btn, .no-btn {
        width: auto;
        max-width: 150px;
        margin: 0;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .no-btn {
        position: relative;
        pointer-events: auto;
        touch-action: auto;
        user-select: auto;
    }

    .glow-button {
        margin: 0.3rem 0;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Добавляем стили для предотвращения масштабирования и выделения на мобильных */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Улучшаем отзывчивость кнопок на мобильных */
@media (hover: none) {
    .glow-button:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
}

/* Оптимизируем размер шрифтов для мобильных */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .message { font-size: 1rem; }
    .proposal-text { font-size: 1.2rem; }
}

.game-heart {
    /* Увеличиваем область касания для мобильных */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proposal-container {
    margin: 2rem 0;
    animation: fadeIn 1s ease-out;
}

.proposal-text {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    text-shadow: 0 0 10px var(--primary);
}

.buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

.yes-btn, .no-btn {
    flex: 1;
    max-width: 150px;
    min-width: 100px;
}

.yes-btn {
    background: linear-gradient(45deg, #ff4d8c, #ff8fa3);
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

.no-btn {
    background: linear-gradient(45deg, #666, #999);
    font-size: 1.2rem;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.no-btn.moving {
    transform: scale(0.95);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.special-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 0 10px var(--primary);
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: messageFloat 2.5s ease-out;
    z-index: 1000;
    border: 2px solid var(--primary);
    box-shadow: 
        0 0 20px rgba(255, 45, 117, 0.3),
        inset 0 0 20px rgba(255, 45, 117, 0.3);
    text-align: center;
    width: auto;
    max-width: 80vw;
}

.firework {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: explode 1s ease-out forwards;
    z-index: 999;
}

.firework::before {
    content: '✨';
    position: absolute;
    font-size: 2rem;
    transform: translate(-50%, -50%);
}

.love-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
}

.flying-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: heartRain 3s linear;
}

@keyframes messageFloat {
    0% { 
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    10% { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    90% { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, -70%);
    }
}

@keyframes explode {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(30);
        opacity: 0;
    }
}

@keyframes heartRain {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.firework::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--primary),
        0 0 40px var(--accent),
        0 0 60px var(--primary);
    animation: glow 1s ease-out forwards;
}

@keyframes glow {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(4);
    }
}

.shooting-star {
    position: fixed;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: shootingStar 1s linear;
    pointer-events: none;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

.heart-pulse {
    animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 3s linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
    }
}

.shooter-container {
    margin-top: 2rem;
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shooter-area {
    width: 100%;
    height: 100%;
    position: relative;
}

.player-heart {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}

.love-bullet {
    position: absolute;
    font-size: 1.2rem;
    animation: shootUp 1s linear;
}

.enemy {
    position: absolute;
    font-size: 1.5rem;
    animation: enemyMove 3s linear;
}

@keyframes shootUp {
    from { transform: translateY(0); }
    to { transform: translateY(-400px); }
}

@keyframes enemyMove {
    0% { transform: translateX(-100%) translateY(0); }
    100% { transform: translateX(200%) translateY(100px); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.password-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
    border: 2px solid rgba(255, 105, 180, 0.2);
    backdrop-filter: blur(10px);
    max-width: 90%;
    width: 400px;
}

.password-container h2 {
    color: #ff69b4;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.password-input {
    display: block;
    margin: 1.5rem auto;
    padding: 0.8rem;
    font-size: 1.4rem;
    border: 2px solid #ff69b4;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    outline: none;
    width: 80%;
    transition: all 0.3s ease;
}

.password-input:focus {
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
    transform: scale(1.02);
}

.password-hint {
    color: #ff9ec6;
    margin: 1rem 0;
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}

.error-message {
    color: #ff4444;
    margin-top: 1rem;
    font-size: 0.9rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.password-container .glow-button {
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.password-container .glow-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
}

.date-invitation {
    background: rgba(255, 105, 180, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    border: 2px solid rgba(255, 105, 180, 0.3);
    backdrop-filter: blur(5px);
    animation: fadeIn 1s ease-in-out;
}

.date-invitation h2 {
    color: #ff69b4;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.date-text {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.date-details {
    text-align: left;
    margin: 1.5rem auto;
    max-width: 400px;
}

.date-details p {
    margin: 1rem 0;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.date-icon {
    font-size: 1.4rem;
}

.date-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.accept-date {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
}

.postpone-date {
    background: linear-gradient(45deg, #808080, #a9a9a9);
}

.accept-date:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
}

.postpone-date:hover {
    transform: scale(0.98);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Добавим анимацию для кнопки "Давай в другой раз" */
.postpone-date {
    position: relative;
    overflow: hidden;
}

.postpone-date:hover {
    cursor: pointer;
}

/* Сделаем кнопку "Давай в другой раз" убегающей при наведении */
.postpone-date:hover {
    animation: moveAway 0.5s infinite;
}

@keyframes moveAway {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

.love-letter {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    perspective: 1000px;
}

.letter-paper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    animation: letterAppear 1.5s ease-out;
    background-image: 
        linear-gradient(rgba(255, 182, 193, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 182, 193, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.letter-content {
    color: #333;
    font-family: 'Montserrat', cursive;
    line-height: 1.6;
}

.letter-content h2 {
    color: #ff69b4;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.3);
}

.letter-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
    transform: translateZ(20px);
}

.letter-signature {
    text-align: right;
    margin-top: 3rem;
    font-style: italic;
    color: #ff69b4;
}

.letter-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.heart-decoration {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.heart-1 {
    top: -10px;
    left: 10%;
    animation-delay: 0s;
}

.heart-2 {
    top: 20px;
    right: 15%;
    animation-delay: 0.5s;
}

.heart-3 {
    bottom: 30px;
    left: 20%;
    animation-delay: 1s;
}

@keyframes letterAppear {
    0% {
        opacity: 0;
        transform: rotateX(30deg) translateY(100px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Добавим эффект при наведении на письмо */
.letter-paper:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .love-letter {
        padding: 1rem;
    }
    
    .letter-paper {
        padding: 2rem;
    }
    
    .letter-content h2 {
        font-size: 1.5rem;
    }
    
    .letter-text p {
        font-size: 1rem;
    }
}

/* Добавим красивый бордюр */
.letter-paper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid rgba(255, 105, 180, 0.2);
    border-radius: 15px;
    pointer-events: none;
}

.response-message {
    text-align: center;
    padding: 1rem;
    animation: fadeIn 0.5s ease-in-out;
}

.response-message p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #fff;
}

.date-invitation.accepted {
    animation: heartBeat 1.5s ease-in-out;
    background: rgba(255, 105, 180, 0.2);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.postpone-date {
    transition: all 0.3s ease;
}

.response-message.accepted {
    color: #ff69b4;
    font-weight: bold;
}

/* Анимация для появления сообщения */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Добавьте эти стили в конец файла style.css */
.love-survey {
    background: var(--glass-darker);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.survey-question {
    margin-bottom: 1.5rem;
}

.survey-question p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.survey-options {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.survey-option {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.survey-option.selected {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    transform: scale(0.95);
}

.survey-complete {
    text-align: center;
    padding: 2rem;
}

.survey-complete h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.floating-hearts-container {
    position: relative;
    height: 150px;
    margin-top: 2rem;
}

.floating-heart {
    position: absolute;
    font-size: 1.5rem;
    animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100%) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%) scale(1);
        opacity: 0;
    }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--glass);
    padding: 0.8rem;
    border-radius: 15px;
    min-width: 80px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem;
}

.time-block span:first-child {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.time-label {
    font-size: 0.8rem;
    color: var(--text);
    margin-top: 0.3rem;
}

.waiting-message {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text);
    margin-top: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Добавляем медиа-запрос для мобильных устройств */
@media (max-width: 480px) {
    .countdown-timer {
        gap: 0.5rem;
    }

    .time-block {
        padding: 0.5rem;
        min-width: 60px;
    }

    .time-block span:first-child {
        font-size: 1.5rem;
    }

    .time-label {
        font-size: 0.7rem;
    }
}

/* Добавляем стили для падающих звезд */
.wishing-star {
    position: fixed;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    animation: fallingStar 5s linear;
    transition: transform 0.3s, filter 0.3s;
}

.wishing-star:hover {
    transform: scale(1.5);
    filter: brightness(1.5);
}

@keyframes fallingStar {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(120vh) translateX(100px) rotate(45deg);
        opacity: 0;
    }
}

.wish-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transition: opacity 0.5s;
}

.wish-content {
    background: var(--glass-darker);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: wishAppear 0.5s ease-out;
}

.wish-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wish-timer {
    font-size: 3rem;
    margin: 1rem 0;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.wish-stars {
    font-size: 1.5rem;
    margin-top: 1rem;
    animation: starsTwinkle 2s infinite;
}

@keyframes wishAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes starsTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
} 