/* eyecatching-email.css */
/* Startup/Entrepreneur Holographic Shine Effect with Click-to-Copy Support */

.mail {
    background: linear-gradient(45deg, 
        #7c3aed, #a855f7, #ec4899, #f43f5e, 
        #06b6d4, #f43f5e, #ec4899, #a855f7);
    background-size: 500% 500%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: startup-flow 3s ease-in-out infinite;
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
    
    /* Click-to-copy functionality styles */
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.mail::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -100%;
    right: -100%;
    bottom: -3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(168, 85, 247, 0.15) 35%, 
        rgba(168, 85, 247, 0.3) 50%, 
        rgba(168, 85, 247, 0.15) 65%, 
        transparent 100%);
    animation: startup-scan 2.5s ease-in-out infinite;
    transform: skewX(-18deg);
    z-index: -1;
}

.mail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, 
        rgba(124, 58, 237, 0.1), 
        rgba(244, 63, 94, 0.1), 
        rgba(6, 182, 212, 0.1), 
        rgba(124, 58, 237, 0.1));
    animation: startup-rotate 4s linear infinite;
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.mail:hover {
    transform: scale(1.05);
    animation-duration: 1.5s;
}

.mail:hover::before {
    animation-duration: 1.2s;
    opacity: 0.8;
}

.mail:hover::after {
    animation-duration: 2s;
    opacity: 0.5;
}

/* Click feedback effect */
.mail:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Focus state for accessibility */
.mail:focus {
    outline: 2px solid rgba(168, 85, 247, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Copy success state (add this class via JavaScript when copied) */
.mail.copied {
    animation: copy-flash 0.6s ease;
}

@keyframes startup-flow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: contrast(1.15) brightness(1.08) saturate(1.1);
    }
    33% { 
        background-position: 50% 0%;
        filter: contrast(1.25) brightness(1.15) saturate(1.2);
    }
    66% { 
        background-position: 100% 50%;
        filter: contrast(1.3) brightness(1.2) saturate(1.3);
    }
}

@keyframes startup-scan {
    0% { 
        left: -100%; 
        opacity: 0; 
    }
    40% { 
        opacity: 1; 
    }
    60% { 
        opacity: 1; 
    }
    100% { 
        left: 100%; 
        opacity: 0; 
    }
}

@keyframes startup-rotate {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

@keyframes copy-flash {
    0%, 100% { 
        filter: contrast(1.15) brightness(1.08) saturate(1.1);
    }
    50% { 
        filter: contrast(1.8) brightness(1.5) saturate(1.8);
        transform: scale(1.1);
    }
}

/* Copy notification styles */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #10b981, #06b6d4);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.copy-notification.show {
    transform: translateX(0);
}

/* Alternative Startup Variants - Uncomment to use different styles */

/* Startup Variant 2: Bold Entrepreneurial */
/*
.mail {
    background: linear-gradient(45deg, 
        #8b5cf6, #d946ef, #f59e0b, #10b981, 
        #3b82f6, #10b981, #f59e0b, #d946ef) !important;
    background-size: 600% 600% !important;
    animation: entrepreneur-flow 2.8s ease-in-out infinite !important;
}

.mail::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(217, 70, 239, 0.2) 30%, 
        rgba(217, 70, 239, 0.4) 50%, 
        rgba(217, 70, 239, 0.2) 70%, 
        transparent 100%) !important;
    animation: entrepreneur-scan 2.2s ease-in-out infinite !important;
}

@keyframes entrepreneur-flow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: contrast(1.2) brightness(1.1) saturate(1.2);
    }
    50% { 
        background-position: 100% 50%;
        filter: contrast(1.4) brightness(1.25) saturate(1.4);
    }
}

@keyframes entrepreneur-scan {
    0% { left: -100%; opacity: 0; }
    45% { opacity: 1; }
    55% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
*/

/* Startup Variant 3: Innovation Focus */
/*
.mail {
    background: linear-gradient(45deg, 
        #4338ca, #7c3aed, #ec4899, #06b6d4, 
        #10b981, #06b6d4, #ec4899, #7c3aed) !important;
    background-size: 450% 450% !important;
    animation: innovation-flow 3.2s ease-in-out infinite !important;
}

.mail::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(124, 58, 237, 0.12) 38%, 
        rgba(124, 58, 237, 0.25) 50%, 
        rgba(124, 58, 237, 0.12) 62%, 
        transparent 100%) !important;
    animation: innovation-scan 2.8s ease-in-out infinite !important;
    transform: skewX(-15deg) !important;
}

@keyframes innovation-flow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: contrast(1.1) brightness(1.05) saturate(1.15);
    }
    25% { 
        background-position: 25% 25%;
        filter: contrast(1.2) brightness(1.12) saturate(1.25);
    }
    50% { 
        background-position: 100% 50%;
        filter: contrast(1.25) brightness(1.18) saturate(1.3);
    }
    75% { 
        background-position: 75% 75%;
        filter: contrast(1.2) brightness(1.12) saturate(1.25);
    }
}

@keyframes innovation-scan {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
*/

/* Startup Variant 4: Disruptive Energy */
/*
.mail {
    background: linear-gradient(45deg, 
        #dc2626, #7c3aed, #06b6d4, #10b981, 
        #f59e0b, #10b981, #06b6d4, #7c3aed) !important;
    background-size: 700% 700% !important;
    animation: disruptive-flow 2.5s ease-in-out infinite !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.mail::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 38, 38, 0.18) 32%, 
        rgba(220, 38, 38, 0.35) 50%, 
        rgba(220, 38, 38, 0.18) 68%, 
        transparent 100%) !important;
    animation: disruptive-scan 2s ease-in-out infinite !important;
    transform: skewX(-22deg) !important;
}

@keyframes disruptive-flow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: contrast(1.25) brightness(1.15) saturate(1.3);
    }
    50% { 
        background-position: 100% 50%;
        filter: contrast(1.45) brightness(1.3) saturate(1.5);
    }
}

@keyframes disruptive-scan {
    0% { left: -100%; opacity: 0; }
    40% { opacity: 1; }
    60% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
*/

/* Startup Variant 5: Growth Momentum */
/*
.mail {
    background: linear-gradient(45deg, 
        #059669, #0891b2, #7c3aed, #db2777, 
        #dc2626, #db2777, #7c3aed, #0891b2) !important;
    background-size: 550% 550% !important;
    animation: growth-flow 3.5s ease-in-out infinite !important;
}

.mail::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(5, 150, 105, 0.15) 35%, 
        rgba(5, 150, 105, 0.3) 50%, 
        rgba(5, 150, 105, 0.15) 65%, 
        transparent 100%) !important;
    animation: growth-scan 3s ease-in-out infinite !important;
    transform: skewX(-12deg) !important;
}

.mail::after {
    background: radial-gradient(circle at 50% 50%, 
        rgba(5, 150, 105, 0.1) 0%, 
        transparent 60%) !important;
    animation: growth-pulse 2.5s ease-in-out infinite !important;
}

@keyframes growth-flow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: contrast(1.1) brightness(1.08) saturate(1.1);
    }
    33% { 
        background-position: 50% 25%;
        filter: contrast(1.18) brightness(1.15) saturate(1.2);
    }
    66% { 
        background-position: 100% 75%;
        filter: contrast(1.22) brightness(1.2) saturate(1.25);
    }
}

@keyframes growth-scan {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes growth-pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.08); }
}
*/
