/* Base Styles */
.coupleconnect-love-meter {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff5f5 0%, #fdf2f7 100%);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.15);
    padding: 40px;
    max-width: 800px;
    margin: 30px auto;
    border: 1px solid #ffe6f0;
    position: relative;
    overflow: hidden;
}

.coupleconnect-love-meter:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 182, 193, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.coupleconnect-love-meter:after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 105, 180, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.love-meter-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.love-meter-header h2 {
    color: #ff6b8b;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 1px 1px 3px rgba(255, 107, 139, 0.2);
}

.love-meter-header p {
    color: #888;
    font-size: 18px;
    margin: 0;
}

.heart-pulse {
    width: 80px;
    height: 80px;
    background: #ff6b8b;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    box-shadow: 0 0 0 rgba(255, 107, 139, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 139, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 107, 139, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 139, 0);
    }
}

/* Form Styles */
.couple-names {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.name-input {
    flex: 1;
}

.name-input label {
    display: block;
    margin-bottom: 8px;
    color: #ff6b8b;
    font-weight: 600;
}

.name-input input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffe6f0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.name-input input:focus {
    border-color: #ff6b8b;
    outline: none;
}

.heart-icon {
    font-size: 30px;
    color: #ff6b8b;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.love-quiz {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.love-question {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ffe6f0;
}

.love-question:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.love-question h4 {
    margin: 0 0 15px;
    color: #444;
    font-size: 18px;
}

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.options label {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.options label:hover {
    background: #fff5f5;
    border-color: #ffe6f0;
}

.options input[type="radio"] {
    margin-right: 10px;
}

.love-btn {
    background: linear-gradient(to right, #ff6b8b, #ff8e9e);
    border: none;
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 139, 0.3);
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.love-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 139, 0.4);
}

/* Results Styles */
.love-meter-results {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-header h3 {
    color: #ff6b8b;
    font-size: 28px;
    margin: 0 0 20px;
}

.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffebf0 0%, #ffe6f0 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 8px solid #ff6b8b;
    position: relative;
}

.score-circle:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 139, 0.2);
}

#final-score {
    font-size: 60px;
    font-weight: 700;
    color: #ff6b8b;
    line-height: 1;
}

.score-circle small {
    color: #888;
    font-size: 14px;
}

.result-message {
    font-size: 20px;
    color: #555;
    font-style: italic;
    margin: 20px 0 0;
    padding: 0 20px;
}

.progress-container {
    margin: 30px 0;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #888;
    font-size: 14px;
}

.love-progress {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #ff6b8b, #ff8e9e);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out;
}

.result-actions {
    display: flex;
    gap: 15px;
}

.love-btn.outline {
    background: white;
    color: #ff6b8b;
    border: 2px solid #ff6b8b;
}

.love-btn.whatsapp {
    background: linear-gradient(to right, #25D366, #128C7E);
}

/* Responsive Design */
@media (max-width: 768px) {
    .coupleconnect-love-meter {
        padding: 25px;
    }
    
    .options {
        grid-template-columns: 1fr;
    }
    
    .result-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .couple-names {
        flex-direction: column;
    }
    
    .heart-icon {
        transform: rotate(90deg);
    }
}