/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.logo-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-domain {
    font-size: 0.7rem;
    color: #7f8c8d;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.logo:hover .logo-svg {
    animation: float 2s ease-in-out infinite;
}

.logo:hover .logo-gradient {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.logo:hover .logo-primary {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark theme */
body.dark .logo-domain {
    color: #bdc3c7;
}

body.dark .logo-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

body.dark .logo-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark .logo:hover .logo-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile logo */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .logo-svg {
        width: 32px;
        height: 32px;
    }

    .logo-gradient {
        padding: 6px;
    }
}
