/* Modern Mobile-First Love Theme */
:root {
    --primary: #FF005C; /* Deep Pink */
    --secondary: #FF5C8D; /* Soft Pink */
    --accent: #C81912; /* Red */
    --dark: #640D14;
    --light: #FFF0F5;
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 10px 40px rgba(255, 0, 92, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at 50% 50%, #fff0f5 0%, #ffdee9 100%);
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 60px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    margin-left: 15px;
    font-weight: 500;
}

/* Main Container */
.container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

/* Input Card */
.card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.p20{
    padding: 0 20px;
}

.title {
    font-family: 'Patrick Hand', cursive;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    text-shadow: 0 2px 5px rgba(255, 0, 92, 0.1);
}

.subtitle {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-style: italic;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.input-group-2 {
    margin-top: 1.5rem;
}

input {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    background: #fff;
    font-size: 1.1rem;
    outline: none;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(255, 0, 92, 0.05);
}

input:focus {
    box-shadow: 0 5px 20px rgba(255, 0, 92, 0.15);
}

.heart-divider {
    font-size: 2rem;
    margin: -15px auto;
    position: relative;
    z-index: 10;
    color: var(--primary);
    animation: heartbeat 1.5s infinite;
}

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

.btn-main {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 65, 108, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 65, 108, 0.4);
}

/* Result View */
.result-view {
    display: none;
    flex-direction: column;
    align-items: center;
}

.heart-shape {
    width: 120px;
    height: 120px;
    background: var(--primary);
    position: relative;
    transform: rotate(45deg);
    margin: 3rem;
    box-shadow: 0 10px 40px rgba(255, 0, 92, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-shape:before,
.heart-shape:after {
    content: "";
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
}

.heart-shape:before { left: -60px; }
.heart-shape:after { top: -60px; }

.score-text {
    position: absolute;
    transform: rotate(-45deg);
    z-index: 10;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
}

/* Footer Nav */
.mobile-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 3px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    gap: 25px;
    z-index: 200;
}

.mobile-nav a {
    font-size: 1.6rem;
    transition: all 0.2s;
    opacity: 0.5;
    filter: grayscale(100%);
    text-decoration: none;
}

.mobile-nav a.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.mobile-nav a:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@media (min-width: 768px) {
    .container { margin-top: 5rem; }
}
