/* ===================================================================
   Welcome Popup Styles - Following yLnk Design System
   =================================================================== */

/* Welcome Modal Core Styles */
.welcome-modal-content {
    border: none;
    border-radius: var(--border-radius, 1rem);
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}



/* Close Button */
.welcome-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-duration, 0.3s) ease;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.welcome-close:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* Header Section */
.welcome-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.welcome-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover, #2563eb));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: logoFloat 3s ease-in-out infinite;
    font-weight: bold;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-family-heading, inherit);
}

.welcome-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Floating Decoration Icons */
.welcome-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.3;
    animation: floatAround 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; }
.floating-icon:nth-child(2) { top: 30%; right: 15%; }
.floating-icon:nth-child(3) { bottom: 30%; left: 15%; }
.floating-icon:nth-child(4) { bottom: 20%; right: 10%; }

/* Content Section */
.welcome-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: var(--background-secondary);
}

/* Feature Cards */
.welcome-feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-duration, 0.3s) ease;
    height: 100%;
}

.welcome-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover, #2563eb));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.welcome-feature h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.welcome-feature p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Call to Action Section */
.welcome-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--background-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cta-subtitle {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-cta-btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all var(--transition-duration, 0.3s) ease;
    font-size: 1rem;
    border: 2px solid transparent;
}

.welcome-cta-btn.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.welcome-cta-btn.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.welcome-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.welcome-cta-btn.btn-primary:hover {
    background-color: var(--primary-hover, #2563eb);
    border-color: var(--primary-hover, #2563eb);
    color: white;
}

.welcome-cta-btn.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Footer Section */
.welcome-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.made-with-love-mini {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.heart-mini {
    color: #ff6b8a;
    animation: heartbeat 2s ease-in-out infinite;
}

.flag-mini {
    font-size: 1rem;
}

/* ===================================================================
   Animations
   =================================================================== */

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

@keyframes floatAround {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) rotate(180deg); 
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-30px) rotate(270deg); 
        opacity: 0.6;
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* ===================================================================
   Responsive Design
   =================================================================== */

@media (max-width: 768px) {
    .welcome-modal-content {
        margin: 1rem;
        border-radius: var(--border-radius, 1rem);
    }

    .welcome-header {
        padding: 2rem 1rem 1.5rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-content {
        padding: 1rem;
    }

    .welcome-feature {
        padding: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .welcome-cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .floating-icon {
        display: none;
    }

    .welcome-logo {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .feature-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .welcome-header {
        padding: 1.5rem 1rem 1rem;
    }

    .welcome-content {
        padding: 0.75rem;
    }

    .welcome-cta {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }

    .welcome-logo {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .feature-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
} 