* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #FFB6C1 0%, #E6E6FA 50%, #F0E68C 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.heart-icon {
    color: #FF69B4;
    animation: heartbeat 2s infinite;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    font-style: italic;
}

.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.love-counter {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.counter-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.counter-heart {
    font-size: 2rem;
    color: #FF69B4;
    animation: pulse 1.5s infinite;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.counter-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

.message-area {
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.message-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.message-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFB6C1, #E6E6FA, #F0E68C, #FFB6C1);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.message-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
    font-weight: 400;
    animation: messageAppear 0.8s ease-out;
}

.button-area {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.generate-button {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    border: none;
    border-radius: 50px;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.generate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, #FF1493, #FF69B4);
}

.generate-button:active {
    transform: translateY(0);
}

.button-hearts {
    display: flex;
    gap: 5px;
}

.button-hearts i {
    animation: heartFloat 2s infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 1.2s both;
}

/* Partículas de coração */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    color: rgba(255, 105, 180, 0.6);
    font-size: 1.5rem;
    animation: floatUp 4s linear infinite;
    pointer-events: none;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes floatUp {
    from {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    to {
        opacity: 0;
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .message-text {
        font-size: 1.1rem;
    }
    
    .generate-button {
        font-size: 1.1rem;
        padding: 18px 35px;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .message-box {
        padding: 20px;
    }
    
    .generate-button {
        font-size: 1rem;
        padding: 15px 30px;
        flex-direction: column;
        gap: 8px;
    }
}

