/* css/typography.css */

/* Heading Styles */
h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
    margin-bottom: 30px;
    color: #e91e63;
}

/* Login Tagline */
.tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    color: #555;
    margin: -20px 0 8px 0;
    letter-spacing: 0.02em;
}

.tagline-detail {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    color: #888;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tagline-detail .lucide-sm {
    color: #e91e63;
    opacity: 0.8;
}

h2 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
    margin-bottom: 20px;
    color: #e91e63;
}

/* Group Name Heading - Enhanced Styling */
#group-name-heading {
    position: relative;
    display: inline-block;
    letter-spacing: 0.04em;
    color: #e91e63;
    
    /* Subtle multi-layer glow effect */
    text-shadow: 
        0 0 8px rgba(233, 30, 99, 0.4),
        0 0 20px rgba(233, 30, 99, 0.2),
        0 0 40px rgba(233, 30, 99, 0.1);
    
    /* Entrance animation */
    animation: groupNameEntrance 0.8s ease-out;
}

/* Decorative flourish underline */
#group-name-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(233, 30, 99, 0.3) 15%,
        #e91e63 50%,
        rgba(233, 30, 99, 0.3) 85%,
        transparent 100%
    );
    border-radius: 2px;
    animation: flourishGrow 0.6s ease-out 0.3s both;
}

/* Side flourishes using box-shadow trick */
#group-name-heading::before {
    content: '✦';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.35em;
    color: #e91e63;
    opacity: 0.6;
    animation: flourishSparkle 0.5s ease-out 0.5s both;
}

/* Group name entrance animation */
@keyframes groupNameEntrance {
    0% {
        opacity: 0;
        transform: translateY(-10px);
        text-shadow: 
            0 0 0 rgba(233, 30, 99, 0),
            0 0 0 rgba(233, 30, 99, 0),
            0 0 0 rgba(233, 30, 99, 0);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(233, 30, 99, 0.6),
            0 0 30px rgba(233, 30, 99, 0.4),
            0 0 50px rgba(233, 30, 99, 0.2);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 
            0 0 8px rgba(233, 30, 99, 0.4),
            0 0 20px rgba(233, 30, 99, 0.2),
            0 0 40px rgba(233, 30, 99, 0.1);
    }
}

/* Flourish line grow animation */
@keyframes flourishGrow {
    0% {
        width: 0%;
        opacity: 0;
    }
    100% {
        width: 60%;
        opacity: 1;
    }
}

/* Sparkle animation for center ornament */
@keyframes flourishSparkle {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    60% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #group-name-heading {
        letter-spacing: 0.02em;
    }
    
    #group-name-heading::after {
        bottom: -6px;
        height: 2px;
    }
    
    #group-name-heading::before {
        bottom: -10px;
        font-size: 0.3em;
    }
}
