/* Glam-IA EgoTrip Link in Bio Premium Profile */

:root {
    /* Exact Glam-IA Palette */
    --primary: #9333ea;
    --primary-light: #a855f7;
    --secondary: #ec4899;
    --accent: #f97316;
    --dark: #0a0a0f;
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
    --gradient-button: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    --gradient-cta: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    
    --text-main: #ffffff;
    --text-muted: #d1d5db;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Premium Background */
.bg-premium {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: radial-gradient(ellipse at top, #16213e 0%, var(--dark) 80%);
    overflow: hidden;
}

.glow-orb-1 {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    border-radius: 50%;
    animation: pulseOrb 12s ease-in-out infinite alternate;
}

.glow-orb-2 {
    position: absolute;
    bottom: -10%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    border-radius: 50%;
    animation: pulseOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    100% { transform: scale(1.3) translate(5%, 5%); opacity: 1; }
}

/* Main Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 50px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Header Section */
.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-main);
    z-index: -1;
    filter: blur(8px);
    opacity: 0.6;
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.4; filter: blur(8px); }
    100% { opacity: 0.8; filter: blur(12px); }
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}

.profile-bio {
    text-align: center;
    margin-bottom: 24px;
}

.profile-bio h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
}

.profile-bio p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 450px;
    margin: 0 auto;
    font-weight: 400;
}

.profile-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-icon:hover {
    transform: translateY(-4px);
    background: var(--gradient-button);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

/* Link Cards */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 50px;
}

.link-card {
    width: 100%;
    padding: 20px 28px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.link-card i {
    font-size: 1.4rem;
    margin-right: 18px;
    width: 28px;
    text-align: center;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(147, 51, 234, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.link-primary {
    background: var(--gradient-button);
    border: none;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
}

.link-primary:hover {
    background: var(--gradient-main);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.5);
    border-color: transparent;
}

/* 3D Showcase Section */
.showcase-section {
    width: 100%;
    margin-bottom: 50px;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 80%);
    border-radius: 30px;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1200px;
    position: relative;
}

.showcase-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.phone-sim {
    width: 100%;
    max-width: 290px;
    background: #000;
    border-radius: 35px;
    border: 8px solid #1a1a24;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: rotateY(-18deg) rotateX(12deg) translateZ(20px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 
        -30px 30px 50px rgba(0,0,0,0.8), 
        0 0 0 2px rgba(255,255,255,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.05);
}

.showcase-section:hover .phone-sim {
    transform: rotateY(0deg) rotateX(0deg) translateZ(0);
}

.wa-head {
    background: #075E54;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-head-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.wa-head-info { line-height: 1.2; }
.wa-head-info strong { font-size: 14px; display: block; }
.wa-head-info span { font-size: 11px; color: rgba(255,255,255,0.8); }

.wa-body {
    padding: 18px 14px;
    height: 320px;
    background: #0d1117;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: hidden;
}

.wa-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    transform: scale(0.9);
    animation: popInMsg 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.wa-msg-in {
    background: #1f2937;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.wa-msg-out {
    background: #005c4b;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

@keyframes popInMsg {
    to { opacity: 1; transform: scale(1); }
}

.m-1 { animation-delay: 0.5s; }
.m-2 { animation-delay: 2s; }
.m-3 { animation-delay: 3.5s; }
.m-4 { animation-delay: 5s; }

/* Grid Features 2x2 */
.grid-features {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.grid-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.grid-item:hover {
    background: rgba(147, 51, 234, 0.08);
    border-color: rgba(147, 51, 234, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.grid-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.grid-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Authority Section */
.authority-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.authority-box p {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
}

.authority-box strong {
    color: var(--secondary);
}

/* Final Mascot / Highlight Section (Replaces text-only links) */
.mascot-section {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.15), inset 0 0 30px rgba(236, 72, 153, 0.05);
    margin-bottom: 40px;
}

.mascot-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.mascot-copy {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.final-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-cta);
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.final-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, #f472b6 0%, #fb923c 100%);
}

/* EgoTrip Standard Footer Links */
.footer-egotrip-btn {
    background: var(--gradient-main);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
    margin: 10px 0 20px;
    display: inline-block;
}

.footer-egotrip-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.5);
}

.footer-standard-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-standard-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-standard-links a:hover {
    color: var(--primary-light);
}

.footer-standard-links .separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Status Pill & Upgrades */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.social-icon-primary {
    background: var(--gradient-button);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
    animation: floatIcon 3s ease-in-out infinite;
}

.social-icon-primary i {
    color: #fff;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(236, 72, 153, 0.6); }
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--gradient-main);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
}

/* Desktop EgoTrip Standard Container */
@media (min-width: 768px) {
    body {
        padding: 60px 20px;
        min-height: 100vh;
    }

    .desktop-card-container {
        max-width: 550px;
        margin: 0 auto;
        border-radius: 30px;
        box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(147, 51, 234, 0.1);
        background-color: var(--dark);
        border: 1px solid var(--glass-border);
        overflow: hidden;
        position: relative;
        z-index: 2;
    }

    .container {
        padding: 60px 40px 80px;
    }

}

