/* Main container */
.love-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Heart animation in background */
.love-calculator-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="rgba(255,255,255,0.2)" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.2;
    z-index: 0;
}

.love-calculator-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.love-calculator-header h2 {
    color: #d23669;
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Brush Script MT', cursive;
}

.love-calculator-header p {
    color: #555;
    font-size: 16px;
}

/* Input fields */
.love-input-fields {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #d23669;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ffb8b8;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #d23669;
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 54, 105, 0.2);
}

/* Calculate button */
.love-calculate-btn {
    background: linear-gradient(to right, #ff758c, #ff7eb3);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    width: 100%;
    margin: 20px auto;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(210, 54, 105, 0.4);
}

.love-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(210, 54, 105, 0.6);
}

.love-calculate-btn:active {
    transform: translateY(1px);
}

.heart-icon {
    margin-right: 8px;
}

/* Result display */
.love-result {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.love-result.visible {
    opacity: 1;
    transform: translateY(0);
}

.percentage-display {
    font-size: 32px;
    font-weight: bold;
    color: #d23669;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.poetry-result {
    margin: 20px 0;
    font-style: italic;
    line-height: 1.6;
}

.poetry-line {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
    min-height: 30px;
}

/* Social sharing */
.social-sharing {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ffb8b8;
}

.social-sharing p {
    color: #d23669;
    margin-bottom: 15px;
    font-weight: bold;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.share-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.whatsapp {
    background: #25D366;
}

.facebook {
    background: #3b5998;
}

.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.copy-link {
    background: #6c757d;
}

/* Utility classes */
.hidden {
    display: none;
}

/* Responsive design */
@media (max-width: 600px) {
    .love-calculator-container {
        padding: 15px;
    }
    
    .love-calculator-header h2 {
        font-size: 20px;
    }
    
    .percentage-display {
        font-size: 28px;
    }
    
    .poetry-line {
        font-size: 16px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}