/* Love Spinner Specific Styles */

/* Navigation Bar */
.nav-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

/* Love Theme Background */
.love-theme {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #f8b500 100%);
}

.love-theme .shape {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab, #ffeaa7);
}

/* Floating Hearts */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-hearts .heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: heartFloat 15s infinite ease-in-out;
}

.floating-hearts .heart:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-hearts .heart:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: -3s;
    animation-duration: 20s;
}

.floating-hearts .heart:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: -6s;
    animation-duration: 16s;
}

.floating-hearts .heart:nth-child(4) {
    top: 40%;
    right: 10%;
    animation-delay: -9s;
    animation-duration: 22s;
}

.floating-hearts .heart:nth-child(5) {
    bottom: 20%;
    left: 50%;
    animation-delay: -12s;
    animation-duration: 19s;
}

@keyframes heartFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -30px) rotate(10deg) scale(1.2);
    }
    50% {
        transform: translate(-15px, 15px) rotate(-5deg) scale(0.8);
    }
    75% {
        transform: translate(25px, 5px) rotate(15deg) scale(1.1);
    }
}

/* Love Spinner Styles */
.love-spinner {
    background: conic-gradient(
        from 0deg,
        #ff6b9d 0deg 45deg,
        #ff8fab 45deg 90deg,
        #ffeaa7 90deg 135deg,
        #fdcb6e 135deg 180deg,
        #e17055 180deg 225deg,
        #fd79a8 225deg 270deg,
        #ff7675 270deg 315deg,
        #fd79a8 315deg 360deg
    );
    box-shadow: 
        0 0 40px rgba(255, 107, 157, 0.5),
        0 0 80px rgba(255, 107, 157, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
}

.love-title {
    color: #fff;
    text-shadow: 
        0 0 10px #ff6b9d,
        0 0 20px #ff6b9d,
        0 0 30px #ff6b9d,
        3px 3px 6px rgba(0, 0, 0, 0.3);
}

.love-title .title-text {
    background: linear-gradient(45deg, #ffeaa7, #ff6b9d, #fd79a8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.love-pointer .pointer-triangle {
    border-top-color: #ff6b9d;
    animation: lovePointerGlow 2s ease-in-out infinite alternate;
}

@keyframes lovePointerGlow {
    from {
        filter: drop-shadow(0 0 5px #ff6b9d);
    }
    to {
        filter: drop-shadow(0 0 20px #ff6b9d) drop-shadow(0 0 30px #fd79a8);
    }
}

.love-center .center-circle {
    background: linear-gradient(135deg, #ff6b9d, #fd79a8);
    box-shadow: 
        0 0 30px rgba(255, 107, 157, 0.6),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.love-center .center-text {
    font-size: 1.5rem;
}

/* Love Input Styles */
.love-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    box-shadow: 
        0 10px 30px rgba(255, 107, 157, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.love-input:focus {
    box-shadow: 
        0 20px 40px rgba(255, 107, 157, 0.3),
        0 0 20px #ff6b9d,
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: #ff6b9d;
}

.love-decoration {
    background: linear-gradient(45deg, #ff6b9d, #fd79a8, #ffeaa7, #fdcb6e);
    background-size: 400% 400%;
    animation: gradientRotate 3s ease-in-out infinite;
}

/* Love Button */
.love-button {
    background: linear-gradient(135deg, #ff6b9d, #fd79a8);
    box-shadow: 
        0 10px 30px rgba(255, 107, 157, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.love-button:hover {
    box-shadow: 
        0 20px 40px rgba(255, 107, 157, 0.5),
        0 0 30px #ff6b9d;
}

.love-button .sparkle {
    color: #ffeaa7;
}

/* Love Result Card */
.love-result {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 107, 157, 0.3);
    box-shadow: 
        0 20px 60px rgba(255, 107, 157, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.love-result::before {
    background: linear-gradient(45deg, transparent, rgba(255, 107, 157, 0.1), transparent);
}

/* Love Tips Section */
.love-tips {
    margin: 4rem 1rem 2rem;
    animation: fadeInUp 1s ease-out 2s both;
}

.tips-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Fredoka One', cursive;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tip-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tip-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: tipIconFloat 3s ease-in-out infinite;
}

.tip-card:nth-child(1) .tip-icon { animation-delay: 0s; }
.tip-card:nth-child(2) .tip-icon { animation-delay: 0.5s; }
.tip-card:nth-child(3) .tip-icon { animation-delay: 1s; }
.tip-card:nth-child(4) .tip-icon { animation-delay: 1.5s; }

@keyframes tipIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.tip-text {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Love Styles */
@media (max-width: 768px) {
    .nav-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-bar {
        padding: 0.5rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
